diff --git a/app/(tabs)/[teamId]/_layout.tsx b/app/(tabs)/[teamId]/_layout.tsx deleted file mode 100644 index e69de29..0000000 diff --git a/app/(tabs)/[teamId]/calendar.tsx b/app/(tabs)/[teamId]/calendar.tsx deleted file mode 100644 index 40f354a..0000000 --- a/app/(tabs)/[teamId]/calendar.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { View } from "react-native"; - -interface CalendarProps {} - -const Calendar = ({}: CalendarProps) => { - return ; -}; - -export default Calendar; diff --git a/app/(tabs)/[teamId]/calendarModal.tsx b/app/(tabs)/[teamId]/calendarModal.tsx deleted file mode 100644 index 427fa9f..0000000 --- a/app/(tabs)/[teamId]/calendarModal.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { View } from "react-native"; - -interface CalendarModalProps {} - -const CalendarModal = ({}: CalendarModalProps) => { - return ; -}; - -export default CalendarModal; diff --git a/app/(tabs)/[teamId]/index.tsx b/app/(tabs)/[teamId]/index.tsx deleted file mode 100644 index e69de29..0000000 diff --git a/app/(tabs)/[teamId]/schedule.tsx b/app/(tabs)/[teamId]/schedule.tsx deleted file mode 100644 index bb8d03e..0000000 --- a/app/(tabs)/[teamId]/schedule.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { View } from "react-native"; - -interface ScheduleProps {} - -const Schedule = ({}: ScheduleProps) => { - return ; -}; - -export default Schedule; diff --git a/app/(tabs)/_layout.tsx b/app/(tabs)/_layout.tsx index e69de29..e2cdab2 100644 --- a/app/(tabs)/_layout.tsx +++ b/app/(tabs)/_layout.tsx @@ -0,0 +1,43 @@ +import MainIcon from "@/assets/icons/main"; +import MyPageIcon from "@/assets/icons/mypage"; +import PersonalIcon from "@/assets/icons/personal"; +import { globalGray50, globalGreen300 } from "@/shared/ui"; +import { Tabs } from "expo-router"; + +export default function TabsLayout() { + return ( + + , + }} + /> + , + }} + /> + , + }} + /> + + ); +} diff --git a/app/(tabs)/home/_layout.tsx b/app/(tabs)/home/_layout.tsx new file mode 100644 index 0000000..161589e --- /dev/null +++ b/app/(tabs)/home/_layout.tsx @@ -0,0 +1,16 @@ +import { globalGray50 } from "@/shared/ui"; +import { Stack } from "expo-router"; + +export default function HomeLayout() { + return ( + + + + ); +} diff --git a/app/(tabs)/home/index.tsx b/app/(tabs)/home/index.tsx new file mode 100644 index 0000000..c9fc90f --- /dev/null +++ b/app/(tabs)/home/index.tsx @@ -0,0 +1,15 @@ +import { StyleSheet, Text, View } from "react-native"; + +interface GroupScreenProps {} + +const GroupScreen = ({}: GroupScreenProps) => { + return ( + + GroupPage + + ); +}; + +const styles = StyleSheet.create({}); + +export default GroupScreen; diff --git a/app/(tabs)/homepage.tsx b/app/(tabs)/homepage.tsx deleted file mode 100644 index 8201758..0000000 --- a/app/(tabs)/homepage.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { View } from "react-native"; - -interface HomePageProps {} - -const HomePage = ({}: HomePageProps) => { - return ; -}; - -export default HomePage; diff --git a/app/(tabs)/my/_layout.tsx b/app/(tabs)/my/_layout.tsx new file mode 100644 index 0000000..66e8440 --- /dev/null +++ b/app/(tabs)/my/_layout.tsx @@ -0,0 +1,16 @@ +import { globalGray50 } from "@/shared/ui"; +import { Stack } from "expo-router"; + +export default function MyLayout() { + return ( + + + + ); +} diff --git a/app/(tabs)/my/index.tsx b/app/(tabs)/my/index.tsx new file mode 100644 index 0000000..1c6cf08 --- /dev/null +++ b/app/(tabs)/my/index.tsx @@ -0,0 +1,15 @@ +import { StyleSheet, Text, View } from "react-native"; + +interface MyScreenProps {} + +const MyScreen = ({}: MyScreenProps) => { + return ( + + MyScreen + + ); +}; + +const styles = StyleSheet.create({}); + +export default MyScreen; diff --git a/app/(tabs)/mypage.tsx b/app/(tabs)/mypage.tsx deleted file mode 100644 index 00e4b0d..0000000 --- a/app/(tabs)/mypage.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { View } from "react-native"; - -interface MyPageProps {} - -const MyPage = ({}: MyPageProps) => { - return ; -}; - -export default MyPage; diff --git a/app/(tabs)/personal/_layout.tsx b/app/(tabs)/personal/_layout.tsx new file mode 100644 index 0000000..d876693 --- /dev/null +++ b/app/(tabs)/personal/_layout.tsx @@ -0,0 +1,15 @@ +import { globalGray50 } from "@/shared/ui"; +import { Stack } from "expo-router"; + +export default function PersonalLayout() { + return ( + + + + ); +} diff --git a/app/(tabs)/personal/index.tsx b/app/(tabs)/personal/index.tsx new file mode 100644 index 0000000..ca22075 --- /dev/null +++ b/app/(tabs)/personal/index.tsx @@ -0,0 +1,15 @@ +import { StyleSheet, Text, View } from "react-native"; + +interface PersonalScreenProps {} + +const PersonalScreen = ({}: PersonalScreenProps) => { + return ( + + PersonalPage + + ); +}; + +const styles = StyleSheet.create({}); + +export default PersonalScreen; diff --git a/app/_layout.tsx b/app/_layout.tsx index db2fa6b..6d9fcd7 100644 --- a/app/_layout.tsx +++ b/app/_layout.tsx @@ -1,5 +1,18 @@ -import { Tabs } from "expo-router"; +import { globalGray50 } from "@/shared/ui"; +import { Stack } from "expo-router"; +import { SafeAreaProvider } from "react-native-safe-area-context"; export default function RootLayout() { - return ; + return ( + + + + + + ); } diff --git a/app/index.tsx b/app/index.tsx index 866b635..517880d 100644 --- a/app/index.tsx +++ b/app/index.tsx @@ -1,15 +1,6 @@ -import { Text, View } from "react-native"; +import { Redirect } from "expo-router"; export default function Index() { - return ( - - Edit app/index.tsx to edit this screen. - - ); + // auth 구현 전, 개발 편의를 위해 초기 진입 시 홈으로 리다이렉트 + return ; } diff --git a/app/sideModal 2.tsx b/app/sideModal 2.tsx deleted file mode 100644 index 6e05ca3..0000000 --- a/app/sideModal 2.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { View } from "react-native"; - -interface SideModalProps {} - -const SideModal = ({}: SideModalProps) => { - return ; -}; - -export default SideModal; diff --git a/app/sideModal.tsx b/app/sideModal.tsx deleted file mode 100644 index 6e05ca3..0000000 --- a/app/sideModal.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { View } from "react-native"; - -interface SideModalProps {} - -const SideModal = ({}: SideModalProps) => { - return ; -}; - -export default SideModal; diff --git a/assets/icons/main.tsx b/assets/icons/main.tsx new file mode 100644 index 0000000..b3049c3 --- /dev/null +++ b/assets/icons/main.tsx @@ -0,0 +1,33 @@ +import { globalGray500 } from "@/shared/ui"; +import * as React from "react"; +import Svg, { Path, SvgProps } from "react-native-svg"; + +interface MainIconProps extends SvgProps { + size?: number; + color?: string; +} + +const MainIcon = ({ + size = 24, + color = globalGray500, + ...props +}: MainIconProps) => ( + + + + +); + +export default MainIcon; diff --git a/assets/icons/mypage.tsx b/assets/icons/mypage.tsx new file mode 100644 index 0000000..501c1c0 --- /dev/null +++ b/assets/icons/mypage.tsx @@ -0,0 +1,43 @@ +import { globalGray500 } from "@/shared/ui"; +import * as React from "react"; +import Svg, { Path, SvgProps } from "react-native-svg"; + +interface MyPageIconProps extends SvgProps { + size?: number; + color?: string; +} + +const MyPageIcon = ({ + size = 24, + color = globalGray500, + ...props +}: MyPageIconProps) => ( + + + + + + + + +); + +export default MyPageIcon; diff --git a/assets/icons/personal.tsx b/assets/icons/personal.tsx new file mode 100644 index 0000000..214bf23 --- /dev/null +++ b/assets/icons/personal.tsx @@ -0,0 +1,54 @@ +import { globalGray500 } from "@/shared/ui"; +import * as React from "react"; +import Svg, { Path, SvgProps } from "react-native-svg"; + +interface PersonalIconProps extends SvgProps { + size?: number; + color?: string; +} + +const PersonalIcon = ({ + size = 24, + color = globalGray500, + ...props +}: PersonalIconProps) => ( + + + + + + + +); + +export default PersonalIcon;