Update src/components/Layout.tsx
This commit is contained in:
@@ -8,32 +8,19 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Home",
|
||||
"href": "/"
|
||||
"name": "Home", "href": "/"
|
||||
},
|
||||
{
|
||||
"name": "Assessment",
|
||||
"href": "/assessment"
|
||||
"name": "Assessment", "href": "/assessment"
|
||||
},
|
||||
{
|
||||
"name": "Evidence",
|
||||
"href": "/evidence"
|
||||
"name": "Evidence", "href": "/evidence"
|
||||
},
|
||||
{
|
||||
"name": "Reflections",
|
||||
"href": "/reflections"
|
||||
"name": "Reflections", "href": "/reflections"
|
||||
},
|
||||
{
|
||||
"name": "Retrospection",
|
||||
"href": "/retrospection"
|
||||
},
|
||||
{
|
||||
"name": "Hero",
|
||||
"href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Philosophy",
|
||||
"href": "#philosophy"
|
||||
"name": "Retrospection", "href": "/retrospection"
|
||||
}
|
||||
];
|
||||
|
||||
@@ -44,9 +31,7 @@ export default function Layout() {
|
||||
<NavbarDropdown
|
||||
logo="E-Portfolio"
|
||||
ctaButton={{
|
||||
text: "Contact",
|
||||
href: "/contact",
|
||||
}}
|
||||
text: "Contact", href: "/contact"}}
|
||||
navItems={navItems} />
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
@@ -57,36 +42,29 @@ export default function Layout() {
|
||||
brand="Pre-Service E-Portfolio"
|
||||
columns={[
|
||||
{
|
||||
title: "Navigation",
|
||||
items: [
|
||||
title: "Navigation", items: [
|
||||
{
|
||||
label: "Home",
|
||||
href: "/",
|
||||
},
|
||||
label: "Home", href: "/"},
|
||||
{
|
||||
label: "Assessment",
|
||||
href: "/assessment",
|
||||
},
|
||||
label: "Assessment", href: "/assessment"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Links",
|
||||
items: [
|
||||
title: "Links", items: [
|
||||
{
|
||||
label: "Evidence",
|
||||
href: "/evidence",
|
||||
},
|
||||
label: "Evidence", href: "/evidence"},
|
||||
{
|
||||
label: "Retrospection",
|
||||
href: "/retrospection",
|
||||
},
|
||||
label: "Retrospection", href: "/retrospection"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
copyright="© 2024 Pre-Service Educator."
|
||||
links={[
|
||||
{ label: "Privacy Policy", href: "/privacy" },
|
||||
{ label: "Terms of Service", href: "/terms" }
|
||||
{ label: "Home", href: "/" },
|
||||
{ label: "Assessment", href: "/assessment" },
|
||||
{ label: "Evidence", href: "/evidence" },
|
||||
{ label: "Reflections", href: "/reflections" },
|
||||
{ label: "Retrospection", href: "/retrospection" }
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
|
||||
Reference in New Issue
Block a user