Add cources page
This commit is contained in:
parent
767c930637
commit
1445da33bc
File diff suppressed because one or more lines are too long
@ -67,6 +67,11 @@ export const webPagesNavBar = [
|
|||||||
href: '/about',
|
href: '/about',
|
||||||
label: 'about',
|
label: 'about',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
href: '/web_pages/cources',
|
||||||
|
label: 'Cources',
|
||||||
|
},
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
export default menuNavBar;
|
export default menuNavBar;
|
||||||
|
|||||||
23
frontend/src/pages/web_pages/cources.tsx
Normal file
23
frontend/src/pages/web_pages/cources.tsx
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import Head from 'next/head';
|
||||||
|
import LayoutGuest from '../../layouts/Guest';
|
||||||
|
import WebSiteHeader from '../../components/WebPageComponents/Header';
|
||||||
|
import WebSiteFooter from '../../components/WebPageComponents/Footer';
|
||||||
|
|
||||||
|
const Cources = () => (
|
||||||
|
<>
|
||||||
|
<Head>
|
||||||
|
<title>Cources</title>
|
||||||
|
</Head>
|
||||||
|
<WebSiteHeader />
|
||||||
|
<main>
|
||||||
|
{/* Blank public page content */}
|
||||||
|
</main>
|
||||||
|
<WebSiteFooter />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
|
||||||
|
// Use the guest layout for public pages
|
||||||
|
Cources.getLayout = page => <LayoutGuest>{page}</LayoutGuest>;
|
||||||
|
|
||||||
|
export default Cources;
|
||||||
Loading…
x
Reference in New Issue
Block a user