Skip to content

Commit

Permalink
sdp-tech#14 feat : service component separate for goods component
Browse files Browse the repository at this point in the history
  • Loading branch information
youngsikkk committed Feb 7, 2024
1 parent 79f881e commit 65cc825
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions src/components/Home/Market/DetailPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ const ProfileSection = ({ navigation }: {navigation:any}) => {
/>
{/* 컴포넌트로 변경 예정 */}
<View style={TextStyles.borderBottom}>
<Text style={TextStyles.Sub}>#키워드 #키워드 #키워드 #키워드 #키워드</Text>
<Text style={TextStyles.Title}>서비스 이름</Text>
<Text style={TextStyles.Sub}>#키워드 #키워드 # 키워드</Text>
<Text style={TextStyles.PriceInfo}>기본: <Text style={TextStyles.Price}>가격</Text></Text>
<Text style={TextStyles.PriceInfo}>최대: <Text style={TextStyles.Price}>가격</Text></Text>
<Text style={TextStyles.PriceInfo}>기본: <Text style={TextStyles.Price}>20000원</Text></Text>
<Text style={TextStyles.PriceInfo}>최대: <Text style={TextStyles.Price}>20000원</Text></Text>
</View>
{/* 컴포넌트로 변경 예정 */}
<View style={{...TextStyles.borderBottom, justifyContent: 'space-between'}}>
Expand Down Expand Up @@ -141,8 +141,8 @@ const TextStyles = StyleSheet.create({
width: "70%",
fontWeight: "400",
padding: 10,
fontSize: 16,
color: "#595959",
fontSize: 14,
color: "#612EFE",
},
PriceInfo:{
fontWeight: "600",
Expand Down
4 changes: 2 additions & 2 deletions src/components/Home/Market/ServiceRegistration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const FilterSection = ({ label, items }: FilterSectionProps) => {
}


const RegistrationPage = ({ navigation, route }: StackScreenProps<HomeStackParams, 'RegistrationPage'>) => {
const ServiceRegistrationPage = ({ navigation, route }: StackScreenProps<HomeStackParams, 'ServiceRegistrationPage'>) => {
const materials = ['폴리에스테르', '면', '스웨이드', '울', '캐시미어', '가죽', '데님', '추가 요청사항에 기재']
const styles = ["빈티지", "미니멀", "캐주얼", "페미닌", "글램", "스트릿", "키치", "스포티", "홈웨어", "걸리시"]
const category = ["아우터", "상의", "하의", "가방", "모자", "잡화"]
Expand Down Expand Up @@ -334,4 +334,4 @@ const RegistrationPage = ({ navigation, route }: StackScreenProps<HomeStackParam
)
}

export default RegistrationPage
export default ServiceRegistrationPage
10 changes: 5 additions & 5 deletions src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import CustomHeader from '../common/CustomHeader';
import MarketTabView from '../components/Home/Market/MarketTabView';
import DetailPageScreen from '../components/Home/Market/DetailPage';
import QuotationForm from '../components/Home/Quotation/QuotationForm';
import RegistrationPage from '../components/Home/Market/ServiceRegistration';
import TempStorage from '../components/Home/Market/TempStorage';
import ServiceRegistrationPage from '../components/Home/Market/ServiceRegistration';

export type HomeStackParams = {
Home: undefined;
Expand All @@ -24,7 +24,7 @@ export type HomeStackParams = {
id?: number;
};
Quotation: undefined;
RegistrationPage: undefined;
ServiceRegistrationPage: undefined;
TempStorage: undefined;
};

Expand All @@ -43,7 +43,7 @@ const HomeScreen = ({
<HomeStack.Screen name='Market' component={MarketTabView} />
<HomeStack.Screen name='DetailPage' component={DetailPageScreen} />
<HomeStack.Screen name='Quotation' component={QuotationForm} />
<HomeStack.Screen name='RegistrationPage' component={RegistrationPage} />
<HomeStack.Screen name='ServiceRegistrationPage' component={ServiceRegistrationPage} />
<HomeStack.Screen name='TempStorage' component={TempStorage} />
</HomeStack.Navigator>
);
Expand All @@ -65,8 +65,8 @@ const HomeMainScreen = ({
<TouchableOpacity onPress={() => navigation.navigate('Quotation')}>
<Text>견적서</Text>
</TouchableOpacity>
<TouchableOpacity onPress={() => navigation.navigate('RegistrationPage')}>
<Text>상품등록</Text>
<TouchableOpacity onPress={() => navigation.navigate('ServiceRegistrationPage')}>
<Text>서비스등록</Text>
</TouchableOpacity>
</SafeAreaView>
);
Expand Down

0 comments on commit 65cc825

Please sign in to comment.