Update src/components/Layout.tsx

This commit is contained in:
2026-06-14 11:28:08 +00:00
parent 28a027f731
commit 04ea3bb4cc

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "#"
"name": "Home", "href": "#"
},
{
"name": "Institutions",
"href": "#institutions"
"name": "Institutions", "href": "#institutions"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Stats",
"href": "#stats"
"name": "Stats", "href": "#stats"
},
{
"name": "Announcements",
"href": "#announcements"
"name": "Announcements", "href": "#announcements"
}
];
@@ -44,9 +37,7 @@ export default function Layout() {
<NavbarInline
logo="Priyadarshini Group"
ctaButton={{
text: "Apply Now",
href: "#contact",
}}
text: "Apply Now", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -57,50 +48,32 @@ export default function Layout() {
brand="Priyadarshini Group"
columns={[
{
title: "About",
items: [
title: "About", items: [
{
label: "Our History",
href: "#",
},
label: "Our History", href: "#"},
{
label: "Leadership",
href: "#",
},
label: "Leadership", href: "#"},
],
},
{
title: "Institutions",
items: [
title: "Institutions", items: [
{
label: "Engineering",
href: "#",
},
label: "Engineering", href: "#"},
{
label: "Medicine",
href: "#",
},
label: "Medicine", href: "#"},
],
},
{
title: "Quick Links",
items: [
title: "Quick Links", items: [
{
label: "Admission",
href: "#",
},
label: "Admission", href: "#"},
{
label: "Careers",
href: "#",
},
label: "Careers", href: "#"},
],
},
]}
copyright="© 2024 Priyadarshini Group of Institutions. All rights reserved."
links={[
{ label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" }
]}
links={[]}
/>
</SectionErrorBoundary>
</StyleProvider>