diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-11-09 15:40:16 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-11-09 15:40:16 +0700 |
| commit | be0f537dc4fe384eef09436833c6407e6482c16d (patch) | |
| tree | 194b1ad3f34396cb8149075bbbd38b854aedf361 /src/app/(mobile-screen) | |
| parent | 5d5401ae36e7e0c8eb38ccd943c1aa44a9573d35 (diff) | |
Initial commit
Diffstat (limited to 'src/app/(mobile-screen)')
| -rw-r--r-- | src/app/(mobile-screen)/layout.tsx | 12 | ||||
| -rw-r--r-- | src/app/(mobile-screen)/login/page.tsx | 8 | ||||
| -rw-r--r-- | src/app/(mobile-screen)/page.tsx | 16 |
3 files changed, 36 insertions, 0 deletions
diff --git a/src/app/(mobile-screen)/layout.tsx b/src/app/(mobile-screen)/layout.tsx new file mode 100644 index 0000000..f44be2c --- /dev/null +++ b/src/app/(mobile-screen)/layout.tsx @@ -0,0 +1,12 @@ +import ScreenContainer from '@/common/components/ScreenContainer' +import React from 'react' + +const layout = ({ children }: { children: React.ReactNode }) => { + return ( + <ScreenContainer> + {children} + </ScreenContainer> + ) +} + +export default layout
\ No newline at end of file diff --git a/src/app/(mobile-screen)/login/page.tsx b/src/app/(mobile-screen)/login/page.tsx new file mode 100644 index 0000000..d518e2d --- /dev/null +++ b/src/app/(mobile-screen)/login/page.tsx @@ -0,0 +1,8 @@ +import Login from '@/modules/login' +import React from 'react' + +const LoginPage = () => { + return <Login /> +} + +export default LoginPage
\ No newline at end of file diff --git a/src/app/(mobile-screen)/page.tsx b/src/app/(mobile-screen)/page.tsx new file mode 100644 index 0000000..430a195 --- /dev/null +++ b/src/app/(mobile-screen)/page.tsx @@ -0,0 +1,16 @@ +import Authenticated from "@/common/components/Authenticated"; +import ProfileCard from "@/modules/profile-card"; +import StockOpname from "@/modules/stock-opname"; +import { Spacer } from "@nextui-org/react"; + +export default function HomePage() { + return ( + <Authenticated> + <main className="px-4 pt-10"> + <ProfileCard /> + <Spacer y={6} /> + <StockOpname /> + </main> + </Authenticated> + ) +} |
