Update src/components/Layout.tsx

This commit is contained in:
2026-06-14 11:09:35 +00:00
parent 6da20c437d
commit 76b9dfb8cc

View File

@@ -2,34 +2,19 @@ import FooterMinimal from '@/components/sections/footer/FooterMinimal';
import NavbarFloatingLogo from '@/components/ui/NavbarFloatingLogo';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
import { Instagram, Send } from "lucide-react";
import { Outlet } from 'react-router-dom';
import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Exams", "href": "#calendar"
},
{
"name": "Levels", "href": "#levels"
},
{
"name": "Demo", "href": "#demo"
},
{
"name": "FAQ", "href": "#faq"
},
{
"name": "Hero", "href": "#hero"
},
{
"name": "Features", "href": "#features"
},
{
"name": "Testimonials", "href": "#testimonials"
}
];
{ "name": "Exams", "href": "#calendar" },
{ "name": "Levels", "href": "#levels" },
{ "name": "Demo", "href": "#demo" },
{ "name": "FAQ", "href": "#faq" },
{ "name": "Hero", "href": "#hero" },
{ "name": "Features", "href": "#features" },
{ "name": "Testimonials", "href": "#testimonials" }
];
return (
<StyleProvider buttonVariant="magnetic" siteBackground="floatingGradient" heroBackground="gradientBars">
@@ -39,8 +24,9 @@ export default function Layout() {
logo="Profi Deutsch"
logoImageSrc="http://img.b2bpic.net/free-vector/hand-check-mark-logo-business-branding-template-designs-inspiration-isolated-white-background_384344-1465.jpg"
ctaButton={{
text: "Register", href: "#contact"}}
navItems={navItems}
text: "Register", href: "#contact"
}}
navItems={navItems}
/>
</SectionErrorBoundary>
<main className="flex-grow">
@@ -51,10 +37,8 @@ export default function Layout() {
brand="© 2026 Profi Deutsch. All rights reserved."
copyright="Official TELC Uzbekistan Representative."
socialLinks={[
{
icon: "Instagram", href: "#"},
{
icon: "Send", href: "#"},
{ icon: "Instagram", href: "#" },
{ icon: "Send", href: "#" },
]}
/>
</SectionErrorBoundary>