Compare commits

..

No commits in common. "ai-dev" and "master" have entirely different histories.

5 changed files with 4 additions and 61 deletions

5
.gitignore vendored
View File

@ -1,8 +1,3 @@
node_modules/
*/node_modules/
*/build/
**/node_modules/
**/build/
.DS_Store
.env

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{}

View File

@ -67,12 +67,6 @@ export const webPagesNavBar = [
href: '/about',
label: 'about',
},
{
href: '/courses',
label: 'courses',
},
];
export default menuNavBar;

View File

@ -1,46 +0,0 @@
import React, { useEffect } 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 CoursesPage() {
const projectName = 'test i18';
useEffect(() => {
const darkElement = document.querySelector('body .dark');
if (darkElement) {
darkElement.classList.remove('dark');
}
}, []);
return (
<div className="flex flex-col min-h-screen">
<Head>
<title>{`Courses - ${projectName}`}</title>
<meta
name="description"
content={`Explore courses available at ${projectName}.`}
/>
</Head>
<WebSiteHeader projectName={projectName} />
<main className="flex-grow bg-white rounded-none p-8">
<h1 className="text-4xl font-bold mb-6">Our Courses</h1>
<p className="mb-4">
Discover our comprehensive courses designed to enhance your knowledge
and skills.
</p>
{/* TODO: Add dynamic course listing here */}
</main>
<WebSiteFooter projectName={projectName} />
</div>
);
}
CoursesPage.getLayout = function getLayout(page: ReactElement) {
return <LayoutGuest>{page}</LayoutGuest>;
};