Make mandala the default page.

pull/75/head
Atul Varma 2021-04-02 19:02:40 -04:00
rodzic 1cbe2b6d22
commit 8be5792838
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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}

Wyświetl plik

@ -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);

Wyświetl plik

@ -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>