-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create AdminSchedulePostingPage placeholder (#223)
- Loading branch information
1 parent
18aff88
commit ad8b2bd
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
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
25 changes: 25 additions & 0 deletions
25
frontend/src/components/pages/admin/schedule/AdminSchedulePostingPage.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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { Flex, Text, VStack } from "@chakra-ui/react"; | ||
import React from "react"; | ||
|
||
import { useParams } from "react-router-dom"; | ||
|
||
const AdminSchedulePostingPage = (): React.ReactElement => { | ||
const { id } = useParams<{ id: string }>(); | ||
|
||
return ( | ||
<Flex | ||
flexDir="column" | ||
width="100%" | ||
height="100vh" | ||
justifyContent="center" | ||
alignItems="center" | ||
> | ||
<VStack spacing={4}> | ||
<Text>Hello! 👋 This is a placeholder page.</Text> | ||
<Text>The id is: {id}</Text> | ||
</VStack> | ||
</Flex> | ||
); | ||
}; | ||
|
||
export default AdminSchedulePostingPage; |
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