-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Export old admin pages under new layout (#1234)
* Export old admin pages under new layout * Remove unused import
- Loading branch information
Showing
7 changed files
with
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import CoursesPage from "pages/courses" | ||
|
||
export default CoursesPage |
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,3 @@ | ||
import EmailTemplatesPage from "pages/email-templates" | ||
|
||
export default EmailTemplatesPage |
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,23 @@ | ||
import Background from "components/NewLayout/Background" | ||
|
||
import Container from "/components/Container" | ||
import { Links } from "/components/NewLayout/Admin" | ||
import { useBreadcrumbs } from "/hooks/useBreadcrumbs" | ||
|
||
const Admin = () => { | ||
useBreadcrumbs([ | ||
{ | ||
translation: "admin", | ||
href: "/admin", | ||
}, | ||
]) | ||
|
||
return ( | ||
<Container> | ||
<Background /> | ||
<Links /> | ||
</Container> | ||
) | ||
} | ||
|
||
export default Admin |
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,3 @@ | ||
import StudyModulesPage from "pages/study-modules" | ||
|
||
export default StudyModulesPage |
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,3 @@ | ||
import CoursesPage from "pages/users/search/[[...text]]" | ||
|
||
export default CoursesPage |
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 |
---|---|---|
|
@@ -28,4 +28,5 @@ export default { | |
signUp: "Sign up", | ||
home: "Home", | ||
installation: "Installation", | ||
admin: "Admin", | ||
} as const |
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