Make mandala the default page.
rodzic
1cbe2b6d22
commit
8be5792838
|
@ -42,7 +42,7 @@ export const Page: React.FC<PageProps> = ({ title, children }) => {
|
|||
return (
|
||||
<div className="page">
|
||||
<header>
|
||||
<h1>{title}</h1>
|
||||
<h1>Mystic Symbolic {title}</h1>
|
||||
<Navbar />
|
||||
</header>
|
||||
{children}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -50,7 +50,7 @@ export const VocabularyPage: React.FC<{}> = () => {
|
|||
);
|
||||
|
||||
return (
|
||||
<Page title="Mystic Symbolic Vocabulary">
|
||||
<Page title="Vocabulary!">
|
||||
<div className="sidebar">
|
||||
<div className="flex-widget">
|
||||
<label htmlFor="filter">Search for symbols: </label>
|
||||
|
|
Ładowanie…
Reference in New Issue