Skip to content

Commit

Permalink
MyPage
Browse files Browse the repository at this point in the history
임시 MyPage 생성
my page tab 까지 생성
  • Loading branch information
miikii41 committed Sep 24, 2024
1 parent f125b78 commit 0984e4c
Show file tree
Hide file tree
Showing 14 changed files with 1,054 additions and 26 deletions.
12 changes: 10 additions & 2 deletions App.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import React from 'react';
import { SafeAreaView, StatusBar, StyleSheet, useColorScheme } from 'react-native';
import { NavigationContainer } from '@react-navigation/native'; // 네비게이션 컨테이너 import
import { createNativeStackNavigator } from '@react-navigation/native-stack'; // 네이티브 스택 네비게이터 import
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import MainPage from './src/components/Home/Main/MainPage';
import SeekerMainPage from './src/components/Home/Main/SeekerMainPage'; // SeekerMainPage 컴포넌트 불러오기
import SetterMainPage from './src/components/Home/Main/SetterMainPage'; // SeekerMainPage 컴포넌트 불러오기
import MyPageHome from './src/components/Home/MyPage/MyPageHome'; // MyPageHomeerMainPage 컴포넌트 불러오기
import MyPageTabView from './src/components/Home/MyPage/MyPageTabView';
import PortfolioPage from './src/components/Home/MyPage/PortfolioPage';
import Review from './src/components/Home/MyPage/Review';
import { Colors } from 'react-native/Libraries/NewAppScreen';

const Stack = createNativeStackNavigator();
Expand All @@ -24,6 +28,10 @@ function App(): React.JSX.Element {
<Stack.Screen name="MainPage" component={MainPage} />
<Stack.Screen name="SeekerMainPage" component={SeekerMainPage} />
<Stack.Screen name="SetterMainPage" component={SetterMainPage} />
<Stack.Screen name="MyPageHome" component={MyPageHome} />
<Stack.Screen name="MyPageTabView" component={MyPageTabView} />
<Stack.Screen name="PortfolioPage" component={PortfolioPage} />
<Stack.Screen name="Review" component={Review} />
{/* 추가적인 스크린 설정 가능 */}
</Stack.Navigator>
</SafeAreaView>
Expand Down
5 changes: 4 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
module.exports = {
presets: ['module:@react-native/babel-preset'],
presets: [
'module:@react-native/babel-preset',
],
plugins: ['react-native-reanimated/plugin'], // 추가
};
Loading

0 comments on commit 0984e4c

Please sign in to comment.