Update src/components/Layout.tsx
This commit is contained in:
@@ -9,32 +9,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Discover",
|
||||
"href": "#hero"
|
||||
"name": "Discover", "href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Categories",
|
||||
"href": "#categories"
|
||||
"name": "Categories", "href": "#categories"
|
||||
},
|
||||
{
|
||||
"name": "Hacks",
|
||||
"href": "#hacks"
|
||||
"name": "Hacks", "href": "#hacks"
|
||||
},
|
||||
{
|
||||
"name": "Saved",
|
||||
"href": "#saved"
|
||||
"name": "Saved", "href": "#saved"
|
||||
},
|
||||
{
|
||||
"name": "Trending",
|
||||
"href": "#trending"
|
||||
"name": "Trending", "href": "#trending"
|
||||
},
|
||||
{
|
||||
"name": "Metrics",
|
||||
"href": "#metrics"
|
||||
"name": "Metrics", "href": "#metrics"
|
||||
},
|
||||
{
|
||||
"name": "Testimonials",
|
||||
"href": "#testimonials"
|
||||
"name": "Testimonials", "href": "#testimonials"
|
||||
}
|
||||
];
|
||||
|
||||
@@ -43,36 +36,29 @@ export default function Layout() {
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="DiscoverLife"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1614680376593-902f74cf0d41?auto=format&fit=crop&w=64&h=64&q=80"
|
||||
ctaButton={{
|
||||
text: "Get App",
|
||||
href: "#contact",
|
||||
}}
|
||||
navItems={navItems} />
|
||||
logo="DiscoverLife"
|
||||
logoImageSrc="http://img.b2bpic.net/free-vector/gradient-abstract-polygonal-logo-template_23-2148209082.jpg"
|
||||
ctaButton={{
|
||||
text: "Get App", href: "#contact"}}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterMinimal
|
||||
brand="DiscoverLife"
|
||||
copyright="© 2024 Discovery App. All rights reserved."
|
||||
socialLinks={[
|
||||
{
|
||||
icon: Twitter,
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
icon: Instagram,
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
icon: Github,
|
||||
href: "#",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
brand="DiscoverLife"
|
||||
copyright="© 2024 Discovery App. All rights reserved."
|
||||
socialLinks={[
|
||||
{
|
||||
icon: "Twitter", href: "#"},
|
||||
{
|
||||
icon: "Instagram", href: "#"},
|
||||
{
|
||||
icon: "Github", href: "#"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user