Update src/components/Layout.tsx
This commit is contained in:
@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "About",
|
||||
"href": "#about"
|
||||
"name": "About", "href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Features",
|
||||
"href": "#features"
|
||||
"name": "Features", "href": "#features"
|
||||
},
|
||||
{
|
||||
"name": "Admissions",
|
||||
"href": "#contact"
|
||||
"name": "Admissions", "href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "Hero",
|
||||
"href": "#hero"
|
||||
"name": "Hero", "href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Metrics",
|
||||
"href": "#metrics"
|
||||
"name": "Metrics", "href": "#metrics"
|
||||
},
|
||||
{
|
||||
"name": "Team",
|
||||
"href": "#team"
|
||||
"name": "Team", "href": "#team"
|
||||
},
|
||||
{
|
||||
"name": "Testimonial",
|
||||
"href": "#testimonial"
|
||||
"name": "Testimonial", "href": "#testimonial"
|
||||
}
|
||||
];
|
||||
|
||||
@@ -43,11 +36,9 @@ export default function Layout() {
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="University Logo"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
|
||||
logoImageSrc="http://img.b2bpic.net/free-vector/university-labels-colored_1284-4884.jpg"
|
||||
ctaButton={{
|
||||
text: "Apply Now",
|
||||
href: "#contact",
|
||||
}}
|
||||
text: "Apply Now", href: "#contact"}}
|
||||
navItems={navItems} />
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
@@ -60,25 +51,17 @@ export default function Layout() {
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "About Us",
|
||||
href: "#about",
|
||||
},
|
||||
label: "About Us", href: "#about"},
|
||||
{
|
||||
label: "Programs",
|
||||
href: "#features",
|
||||
},
|
||||
label: "Programs", href: "#features"},
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Admissions",
|
||||
href: "#contact",
|
||||
},
|
||||
label: "Admissions", href: "#contact"},
|
||||
{
|
||||
label: "Contact",
|
||||
href: "#contact",
|
||||
},
|
||||
label: "Contact", href: "#contact"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user