Skip to content

Commit

Permalink
[mooco-renew#15] eventpage new calendar create
Browse files Browse the repository at this point in the history
  • Loading branch information
coldweek3 committed Mar 2, 2024
1 parent 84775ef commit a3fa39d
Show file tree
Hide file tree
Showing 32 changed files with 23,074 additions and 9,239 deletions.
84 changes: 61 additions & 23 deletions App.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
import * as React from 'react';
import { useNavigation } from '@react-navigation/native';
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import * as React from "react";
import { useNavigation } from "@react-navigation/native";
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";

/* 네비게이션 스타일 */
import { backbtncolorbar } from './src/components/navigation/bar/BackBtnColorBar';
import { backbtncolorbar } from "./src/components/navigation/bar/BackBtnColorBar";

/* screens */
import Second from './src/screens/test/Second';
import Third from './src/screens/test/Third';
import First from './src/screens/test/First';
import Agreement from './src/screens/account/Agreement';
import KakaoLoginScreen from './src/screens/login/KakaoLogin';
import GoogleLoginScreen from './src/screens/login/GoogleLogin';
import GetProfile from './src/screens/account/Getprofile';
import Login from './src/screens/login/Login';
import OnBoarding from './src/screens/onboarding/OnBoarding';
import FriendsList from './src/screens/friends/FriendsList';
import RequestFriends from './src/screens/friends/RequestFriends';
import Second from "./src/screens/test/Second";
import Third from "./src/screens/test/Third";
import First from "./src/screens/test/First";
import Agreement from "./src/screens/account/Agreement";
import KakaoLoginScreen from "./src/screens/login/KakaoLogin";
import GoogleLoginScreen from "./src/screens/login/GoogleLogin";
import GetProfile from "./src/screens/account/Getprofile";
import Login from "./src/screens/login/Login";
import OnBoarding from "./src/screens/onboarding/OnBoarding";
import FriendsList from "./src/screens/friends/FriendsList";
import RequestFriends from "./src/screens/friends/RequestFriends";
import EventPage from "./src/screens/eventpage/FirstEventpage";
import EventCreate from "./src/screens/eventpage/EventCreate";
// rn navigatior로 stack 생성, rn은 stack으로 사용자의 이동을 확인한다.
const Stack = createNativeStackNavigator();

Expand All @@ -35,18 +37,54 @@ function App() {
<Stack.Screen name="Second" component={Second} />
<Stack.Screen name="Third" component={Third} />

<Stack.Screen name="OnBoarding" component={OnBoarding} options={{ headerShown: false}}/>
<Stack.Screen name="Login" component={Login} options={{...backbtncolorbar, title: '로그인'}} />
<Stack.Screen name="Agreement" component={Agreement} options={{...backbtncolorbar, title: '이용 약관 동의서'}}/>
<Stack.Screen name="GetProfile" component={GetProfile} options={{...backbtncolorbar, title: '프로필 추가 정보'}}/>
<Stack.Screen
name="OnBoarding"
component={OnBoarding}
options={{ headerShown: false }}
/>
<Stack.Screen
name="Login"
component={Login}
options={{ ...backbtncolorbar, title: "로그인" }}
/>
<Stack.Screen
name="Agreement"
component={Agreement}
options={{ ...backbtncolorbar, title: "이용 약관 동의서" }}
/>
<Stack.Screen
name="GetProfile"
component={GetProfile}
options={{ ...backbtncolorbar, title: "프로필 추가 정보" }}
/>
<Stack.Screen name="KakaoLogin" component={KakaoLoginScreen} />
<Stack.Screen name="GoogleLogin" component={GoogleLoginScreen} />

<Stack.Screen name="FriendsList" component={FriendsList} options={{...backbtncolorbar, title: '친구 목록 및 추가'}} />
<Stack.Screen name="RequestFriends" component={RequestFriends} options={{...backbtncolorbar, title: '친구 요청'}} />
<Stack.Screen
name="FriendsList"
component={FriendsList}
options={{ ...backbtncolorbar, title: "친구 목록 및 추가" }}
/>
<Stack.Screen
name="RequestFriends"
component={RequestFriends}
options={{ ...backbtncolorbar, title: "친구 요청" }}
/>

<Stack.Screen
name="EventPage"
component={EventPage}
options={{ ...backbtncolorbar, title: "EventPage" }}
/>

<Stack.Screen
name="EventCreatePage"
component={EventCreate}
options={{ ...backbtncolorbar, title: "새 캘린더 생성" }}
/>
</Stack.Navigator>
</NavigationContainer>
);
}

export default App;
export default App;
Loading

0 comments on commit a3fa39d

Please sign in to comment.