From 8be579283886b10f355a422c61f670ce492b9e14 Mon Sep 17 00:00:00 2001 From: Atul Varma Date: Fri, 2 Apr 2021 19:02:40 -0400 Subject: [PATCH] Make mandala the default page. --- lib/page.tsx | 2 +- lib/pages/index.tsx | 2 +- lib/pages/vocabulary-page.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/page.tsx b/lib/page.tsx index e7f1b98..a6dbbb2 100644 --- a/lib/page.tsx +++ b/lib/page.tsx @@ -42,7 +42,7 @@ export const Page: React.FC = ({ title, children }) => { return (
-

{title}

+

Mystic Symbolic {title}

{children} diff --git a/lib/pages/index.tsx b/lib/pages/index.tsx index 37c87d0..454aec6 100644 --- a/lib/pages/index.tsx +++ b/lib/pages/index.tsx @@ -16,7 +16,7 @@ export type PageName = keyof typeof Pages; export const pageNames = Object.keys(Pages) as PageName[]; -export const DEFAULT_PAGE: PageName = "vocabulary"; +export const DEFAULT_PAGE: PageName = "mandala"; export function isPageName(page: string): page is PageName { return pageNames.includes(page as any); diff --git a/lib/pages/vocabulary-page.tsx b/lib/pages/vocabulary-page.tsx index 67941ae..f8b552d 100644 --- a/lib/pages/vocabulary-page.tsx +++ b/lib/pages/vocabulary-page.tsx @@ -50,7 +50,7 @@ export const VocabularyPage: React.FC<{}> = () => { ); return ( - +