Update src/components/Layout.tsx

This commit is contained in:
2026-06-14 10:20:54 +00:00
parent 35739accba
commit 4a7bfb75d8

View File

@@ -7,81 +7,48 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Works",
"href": "#works"
},
{
"name": "About",
"href": "#about"
},
{
"name": "Contact",
"href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
},
{
"name": "Testimonials",
"href": "#testimonials"
}
];
{ name: "Works", href: "#works" },
{ name: "About", href: "#about" },
{ name: "Contact", href: "#contact" },
{ name: "Hero", href: "#hero" },
{ name: "Testimonials", href: "#testimonials" }
];
return (
<StyleProvider buttonVariant="stagger" siteBackground="floatingGradient" heroBackground="lightRaysCenter">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarInline
logo="ISLAM TIRICHINE"
ctaButton={{
text: "Get in touch",
href: "#contact",
}}
navItems={navItems} />
logo="ISLAM TIRICHINE"
ctaButton={{
text: "Get in touch", href: "#contact"}}
navItems={navItems}
/>
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimpleCard
brand="ISLAM TIRICHINE"
columns={[
{
title: "تواصل",
items: [
brand="ISLAM TIRICHINE"
columns={[
{
label: "Email",
href: "mailto:hello@islamtirichine.com",
title: "تواصل", items: [
{ label: "Email", href: "mailto:hello@islamtirichine.com" },
{ label: "Twitter", href: "#" },
{ label: "Instagram", href: "#" },
],
},
{
label: "Twitter",
href: "#",
title: "قانوني", items: [
{ label: "Privacy", href: "#" },
{ label: "Terms", href: "#" },
],
},
{
label: "Instagram",
href: "#",
},
],
},
{
title: "قانوني",
items: [
{
label: "Privacy",
href: "#",
},
{
label: "Terms",
href: "#",
},
],
},
]}
copyright="© 2024 Islam Tirichine. All rights reserved."
links={[]}
/>
]}
copyright="© 2024 Islam Tirichine. All rights reserved."
links={[]}
/>
</SectionErrorBoundary>
</StyleProvider>
);