Merge version_1_1782045422028 into main #4
@@ -1,64 +1,9 @@
|
||||
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, Linkedin, Twitter } from "lucide-react";
|
||||
import { Outlet } from 'react-router-dom';
|
||||
import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Home", "href": "#home"
|
||||
},
|
||||
{
|
||||
"name": "Services", "href": "#services"
|
||||
},
|
||||
{
|
||||
"name": "Portfolio", "href": "#portfolio"
|
||||
},
|
||||
{
|
||||
"name": "Contact", "href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "About", "href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Metrics", "href": "#metrics"
|
||||
},
|
||||
{
|
||||
"name": "Testimonials", "href": "#testimonials"
|
||||
}
|
||||
];
|
||||
|
||||
return (
|
||||
<StyleProvider buttonVariant="bubble" siteBackground="floatingGradient" heroBackground="cornerGlow">
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="CozyCreative"
|
||||
logoImageSrc="http://img.b2bpic.net/free-vector/flat-design-minimal-coffee-shop-badge-collection_23-2149245316.jpg"
|
||||
ctaButton={{
|
||||
text: "Let's Talk", href: "#contact"}}
|
||||
navItems={navItems} />
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterMinimal
|
||||
brand="Cozy Creative Agency"
|
||||
copyright="© 2024 Cozy Creative. All rights reserved."
|
||||
socialLinks={[
|
||||
{
|
||||
icon: "Twitter", href: "https://twitter.com"},
|
||||
{
|
||||
icon: "Instagram", href: "https://instagram.com"},
|
||||
{
|
||||
icon: "Linkedin", href: "https://linkedin.com"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
<main>
|
||||
<Outlet />
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
interface HeroExpandProps {
|
||||
title: string;
|
||||
description: string;
|
||||
onComplete?: () => void;
|
||||
}
|
||||
|
||||
export default function HeroExpand({ title, description, onComplete }: HeroExpandProps) {
|
||||
export default function HeroExpand({ title, description }: HeroExpandProps) {
|
||||
return (
|
||||
<section className="py-20 text-center">
|
||||
<div className="cursor-pointer overflow-hidden bg-white p-8 rounded-xl shadow-lg">
|
||||
|
||||
Reference in New Issue
Block a user