Update src/components/Layout.tsx

This commit is contained in:
2026-06-15 01:11:04 +00:00
parent 081fcfb109
commit fa09e43de6

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "#hero"
"name": "Home", "href": "#hero"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Courses",
"href": "#features"
"name": "Courses", "href": "#features"
},
{
"name": "Pricing",
"href": "#pricing"
"name": "Pricing", "href": "#pricing"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Faq",
"href": "#faq"
"name": "Faq", "href": "#faq"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Al Arabia Hub"
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=c1anjz"
ctaButton={{
text: "Book a Lesson",
href: "#pricing",
}}
text: "Book a Lesson", href: "#pricing"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -57,42 +48,27 @@ export default function Layout() {
<FooterBasic
columns={[
{
title: "Company",
items: [
title: "Company", items: [
{
label: "About Us",
href: "#",
},
label: "About Us", href: "#"},
{
label: "Our Methodology",
href: "#",
},
label: "Our Methodology", href: "#"},
],
},
{
title: "Resources",
items: [
title: "Resources", items: [
{
label: "Blog",
href: "#",
},
label: "Blog", href: "#"},
{
label: "FAQ",
href: "#",
},
label: "FAQ", href: "#"},
],
},
{
title: "Social",
items: [
title: "Social", items: [
{
label: "Twitter",
href: "#",
},
label: "Twitter", href: "#"},
{
label: "Instagram",
href: "#",
},
label: "Instagram", href: "#"},
],
},
]}