generated from bcgov/EPIC.scaffold
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
display "coming soon" on the menu item that hasn't been developed yet
- Loading branch information
1 parent
70eeab2
commit aa4a38d
Showing
11 changed files
with
1,015 additions
and
2,376 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import { DesignServices } from "@mui/icons-material"; | ||
import { Box, Typography } from "@mui/material"; | ||
import { BCPalette } from "epic.theme"; | ||
|
||
export default function ComingSoon() { | ||
return ( | ||
<Box | ||
sx={{ | ||
display: "flex", | ||
flexDirection: "column", | ||
alignItems: "center", | ||
justifyContent: "center", | ||
height: "100%", | ||
marginBottom: 16, | ||
}} | ||
> | ||
<Box | ||
sx={{ | ||
padding: "1rem", | ||
background: BCPalette.components.background.lightGray, | ||
marginBottom: "2.5rem", | ||
}} | ||
> | ||
<DesignServices | ||
fontSize="large" | ||
sx={{ color: BCPalette.components.border.active }} | ||
/> | ||
</Box> | ||
<Typography variant="h3" marginBottom={"0.5rem"}> | ||
Coming soon! | ||
</Typography> | ||
<Typography variant="h5" fontWeight="400"> | ||
Our team is developing this feature and plans to launch it soon | ||
</Typography> | ||
</Box> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
import ComingSoon from '@/components/Shared/ComingSoon'; | ||
import { createFileRoute } from '@tanstack/react-router' | ||
|
||
export const Route = createFileRoute('/_authenticated/admin/agencies')({ | ||
component: () => <div>Hello /_authenticated/admin/agencies!</div> | ||
}) | ||
component: Agencies | ||
}) | ||
|
||
function Agencies() { | ||
return <ComingSoon />; | ||
} |
9 changes: 7 additions & 2 deletions
9
compliance-web/src/routes/_authenticated/admin/proponents.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
import ComingSoon from '@/components/Shared/ComingSoon'; | ||
import { createFileRoute } from '@tanstack/react-router' | ||
|
||
export const Route = createFileRoute('/_authenticated/admin/proponents')({ | ||
component: () => <div>Hello /_authenticated/admin/proponents!</div> | ||
}) | ||
component: Proponents | ||
}) | ||
|
||
function Proponents() { | ||
return <ComingSoon />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
import ComingSoon from '@/components/Shared/ComingSoon'; | ||
import { createFileRoute } from '@tanstack/react-router' | ||
|
||
export const Route = createFileRoute('/_authenticated/admin/staff')({ | ||
component: () => <div>Hello /_authenticated/admin/staff!</div> | ||
}) | ||
component: Staff | ||
}) | ||
|
||
function Staff() { | ||
return <ComingSoon />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
import ComingSoon from '@/components/Shared/ComingSoon'; | ||
import { createFileRoute } from '@tanstack/react-router' | ||
|
||
export const Route = createFileRoute('/_authenticated/admin/topics')({ | ||
component: () => <div>Hello /_authenticated/admin/topics!</div> | ||
}) | ||
component: Topics | ||
}) | ||
|
||
function Topics() { | ||
return <ComingSoon />; | ||
} |
9 changes: 7 additions & 2 deletions
9
compliance-web/src/routes/_authenticated/ce-database/case-files.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
import ComingSoon from '@/components/Shared/ComingSoon' | ||
import { createFileRoute } from '@tanstack/react-router' | ||
|
||
export const Route = createFileRoute('/_authenticated/ce-database/case-files')({ | ||
component: () => <div>Hello /_authenticated/ce-database/case-files!</div> | ||
}) | ||
component: CaseFiles | ||
}) | ||
|
||
function CaseFiles() { | ||
return <ComingSoon /> | ||
} |
13 changes: 9 additions & 4 deletions
13
compliance-web/src/routes/_authenticated/ce-database/compliants.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
import { createFileRoute } from '@tanstack/react-router' | ||
import { createFileRoute } from "@tanstack/react-router"; | ||
import ComingSoon from "@/components/Shared/ComingSoon"; | ||
|
||
export const Route = createFileRoute('/_authenticated/ce-database/compliants')({ | ||
component: () => <div>Hello /_authenticated/ce-database/compliants!</div> | ||
}) | ||
export const Route = createFileRoute("/_authenticated/ce-database/compliants")({ | ||
component: Compliance, | ||
}); | ||
|
||
function Compliance() { | ||
return <ComingSoon /> | ||
} |
13 changes: 9 additions & 4 deletions
13
compliance-web/src/routes/_authenticated/ce-database/inspection.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
import { createFileRoute } from '@tanstack/react-router' | ||
import ComingSoon from "@/components/Shared/ComingSoon"; | ||
import { createFileRoute } from "@tanstack/react-router"; | ||
|
||
export const Route = createFileRoute('/_authenticated/ce-database/inspection')({ | ||
component: () => <div>Hello /_authenticated/ce-database/inspection!</div> | ||
}) | ||
export const Route = createFileRoute("/_authenticated/ce-database/inspection")({ | ||
component: Inspection, | ||
}); | ||
|
||
function Inspection() { | ||
return <ComingSoon />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
import ComingSoon from '@/components/Shared/ComingSoon'; | ||
import { createFileRoute } from '@tanstack/react-router' | ||
|
||
export const Route = createFileRoute('/_authenticated/ir-board')({ | ||
component: () => <div>Hello /_authenticated/ir-board!</div> | ||
}) | ||
component: IRBoard | ||
}) | ||
|
||
function IRBoard() { | ||
return <ComingSoon />; | ||
} |