Skip to content

Commit

Permalink
Merge pull request chaechaeis#26 from doyoom/main
Browse files Browse the repository at this point in the history
전체적정리 최종
  • Loading branch information
doyoom authored Nov 15, 2024
2 parents af8f3b2 + d1e27b2 commit 83b4ee7
Show file tree
Hide file tree
Showing 4 changed files with 2,391 additions and 683 deletions.
28 changes: 0 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 27 additions & 16 deletions src/components/Home/Main/SeekerMainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const SeekerMainPage = () => {
<View style={styles.buttonContainer}>
<TouchableOpacity
style={styles.button}
onPress={() => navigation.navigate('ClosetMain')}
onPress={() => navigation.navigate('AddCloset')}
>
<Icon name="wardrobe-outline" size={24} color="#333" />
<Text style={styles.buttonText}>CLOSET</Text>
Expand All @@ -51,26 +51,23 @@ const SeekerMainPage = () => {
<Text style={styles.buttonText}>캘린더</Text>
</TouchableOpacity>

<TouchableOpacity
style={styles.button}
onPress={() => navigation.navigate('AddCloset')}
>
<Text style={styles.buttonText}>Add Closet</Text>
</TouchableOpacity>
</View>

<View style={styles.buttonContainer}>
<TouchableOpacity
style={styles.button}
onPress={() => navigation.navigate('RequestSent')}
>
<Text style={styles.buttonText}>request sent</Text>
</TouchableOpacity>
</View>

<View style={styles.buttonContainer}>
<TouchableOpacity
style={styles.singleButton} // 새로운 스타일을 적용
onPress={() => navigation.navigate('RequestSent')}
>
<Text style={styles.singleButtonText}>REQUEST SENT</Text>
</TouchableOpacity>
</View>
</View>
);
};



const styles = StyleSheet.create({
container: {
flex: 1,
Expand Down Expand Up @@ -128,6 +125,20 @@ const styles = StyleSheet.create({
color: '#333',
marginLeft: 8,
},
});
singleButton: {
backgroundColor: '#e0e0e0',
padding: 15,
borderRadius: 10,
alignItems: 'center', // 텍스트를 버튼의 중앙에 배치
justifyContent: 'center', // 텍스트를 버튼의 중앙에 배치
width: '80%', // 원하는 버튼 크기 조정
},
singleButtonText: {
fontSize: 16,
fontWeight: 'bold',
color: '#333',
textAlign: 'center', // 텍스트 중앙 정렬
},
});

export default SeekerMainPage;
1 change: 1 addition & 0 deletions src/components/Home/Request/RequestPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import BottomButton from '../../../common/BottomButton';
const RequestPage = ({ route, navigation }: StackScreenProps<HomeStackParams, 'RequestPage'>) => {
// RequestPage에서 전달된 데이터 가져오기
const {
clothes = [],
photos = [],
selectedPlace,
selectedSeason,
Expand Down
Loading

0 comments on commit 83b4ee7

Please sign in to comment.