260506_01_fst: First Commit
This commit is contained in:
9
src/app/(pages)/(main)/bridge-platform/page.tsx
Normal file
9
src/app/(pages)/(main)/bridge-platform/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
'use client'
|
||||
|
||||
const BridgePlatformPage = () => {
|
||||
return (
|
||||
<div>BridgePlatformPage</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default BridgePlatformPage;
|
||||
9
src/app/(pages)/(main)/consulting/page.tsx
Normal file
9
src/app/(pages)/(main)/consulting/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
'use client'
|
||||
|
||||
const ConsultingPage = () => {
|
||||
return (
|
||||
<div>ConsultingPage</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default ConsultingPage;
|
||||
10
src/app/(pages)/(main)/fire-investigation/page.tsx
Normal file
10
src/app/(pages)/(main)/fire-investigation/page.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
'use client'
|
||||
|
||||
const FireInvestigationPage = () => {
|
||||
return (
|
||||
<div>FireInvestigationPage</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default FireInvestigationPage;
|
||||
9
src/app/(pages)/(main)/insurance-operations/page.tsx
Normal file
9
src/app/(pages)/(main)/insurance-operations/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
'use client'
|
||||
|
||||
const InsuranceOperationPage = () => {
|
||||
return (
|
||||
<div>InsuranceOperationPage</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default InsuranceOperationPage;
|
||||
19
src/app/(pages)/(main)/layout.tsx
Normal file
19
src/app/(pages)/(main)/layout.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import {cookies} from "next/headers";
|
||||
import MainLayout from "@/components/layout/MainLayout";
|
||||
|
||||
const MainLayoutWrapper = async ({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) => {
|
||||
const cookieStore = await cookies();
|
||||
const accessToken = cookieStore.get("access_token")?.value;
|
||||
|
||||
return(
|
||||
<MainLayout>
|
||||
{children}
|
||||
</MainLayout>
|
||||
);
|
||||
}
|
||||
|
||||
export default MainLayoutWrapper;
|
||||
7
src/app/(pages)/(main)/page.tsx
Normal file
7
src/app/(pages)/(main)/page.tsx
Normal file
@@ -0,0 +1,7 @@
|
||||
import {redirect} from "next/navigation";
|
||||
|
||||
const MainPage = () => {
|
||||
redirect("/safety-inspection");
|
||||
}
|
||||
|
||||
export default MainPage;
|
||||
13
src/app/(pages)/(main)/safety-inspection/page.tsx
Normal file
13
src/app/(pages)/(main)/safety-inspection/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
'use client'
|
||||
|
||||
import {useLayoutFilter} from "@/components/layout/LayoutCategoryContext";
|
||||
|
||||
const SafetyInspectionPage = () => {
|
||||
const { selectedDiv } = useLayoutFilter();
|
||||
|
||||
return (
|
||||
<div>SafetyInspectionPage {selectedDiv}</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default SafetyInspectionPage;
|
||||
9
src/app/(pages)/(main)/ucis/page.tsx
Normal file
9
src/app/(pages)/(main)/ucis/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
'use client'
|
||||
|
||||
const BridgePage = () => {
|
||||
return (
|
||||
<div>test</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default BridgePage;
|
||||
Reference in New Issue
Block a user