cources page
This commit is contained in:
parent
ca5c8f07f0
commit
ee08f35178
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,3 +1,8 @@
|
||||
node_modules/
|
||||
*/node_modules/
|
||||
*/build/
|
||||
|
||||
**/node_modules/
|
||||
**/build/
|
||||
.DS_Store
|
||||
.env
|
||||
File diff suppressed because one or more lines are too long
@ -67,6 +67,11 @@ export const webPagesNavBar = [
|
||||
href: '/about',
|
||||
label: 'about',
|
||||
},
|
||||
{
|
||||
href: '/web_pages/cources',
|
||||
label: 'Cources',
|
||||
},
|
||||
|
||||
];
|
||||
|
||||
export default menuNavBar;
|
||||
|
||||
25
frontend/src/pages/web_pages/cources.tsx
Normal file
25
frontend/src/pages/web_pages/cources.tsx
Normal file
@ -0,0 +1,25 @@
|
||||
import React from 'react';
|
||||
import type { ReactElement } from 'react';
|
||||
import Head from 'next/head';
|
||||
import LayoutGuest from '../../layouts/Guest';
|
||||
import WebSiteHeader from '../../components/WebPageComponents/Header';
|
||||
import WebSiteFooter from '../../components/WebPageComponents/Footer';
|
||||
|
||||
export default function CourcesPage() {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>Cources</title>
|
||||
</Head>
|
||||
<WebSiteHeader projectName="test i18" />
|
||||
<main className="flex-grow bg-white rounded-none p-8">
|
||||
<h1 className="text-2xl font-bold">Cources Page</h1>
|
||||
</main>
|
||||
<WebSiteFooter projectName="test i18" />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
CourcesPage.getLayout = function getLayout(page: ReactElement) {
|
||||
return <LayoutGuest>{page}</LayoutGuest>;
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user