Update src/app/blog/page.tsx
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use client";
|
||||
"use client";
|
||||
|
||||
import ReactLenis from "lenis/react";
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
@@ -10,6 +10,14 @@ import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
|
||||
export default function BlogPage() {
|
||||
const { posts, isLoading } = useBlogPosts();
|
||||
|
||||
const navItems = [
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About Us", id: "/#about" },
|
||||
{ name: "Services", id: "/#services" },
|
||||
{ name: "Testimonials", id: "/#testimonials" },
|
||||
{ name: "Contact", id: "/#contact" }
|
||||
];
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-shift"
|
||||
@@ -26,9 +34,9 @@ export default function BlogPage() {
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[{ "name": "Home", "id": "/" }, { "name": "About Us", "id": "about" }, { "name": "Services", "id": "services" }, { "name": "Testimonials", "id": "testimonials" }, { "name": "Contact", "id": "contact" }]}
|
||||
navItems={navItems}
|
||||
brandName="John's Business"
|
||||
button={{ "text": "Get a Quote", "href": "#contact" }}
|
||||
button={{ text: "Get a Quote", href: "/#contact" }}
|
||||
className="py-3"
|
||||
navItemClassName="text-foreground hover:text-primary-cta"
|
||||
buttonClassName="bg-primary-cta text-primary-cta-text hover:bg-primary-cta/90 px-6 py-2 rounded-full"
|
||||
@@ -55,7 +63,7 @@ export default function BlogPage() {
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseReveal
|
||||
columns={[{ "title": "Services", "items": [{ "label": "Plumbing", "href": "#services" }, { "label": "Electrical", "href": "#services" }, { "label": "HVAC", "href": "#services" }] }, { "title": "Company", "items": [{ "label": "About Us", "href": "#about" }, { "label": "Contact", "href": "#contact" }] }, { "title": "Follow Us", "items": [{ "label": "Facebook", "href": "https://facebook.com" }, { "label": "Instagram", "href": "https://instagram.com" }] }]}
|
||||
columns={[{ title: "Services", items: [{ label: "Plumbing", href: "/#services" }, { label: "Electrical", href: "/#services" }, { label: "HVAC", href: "/#services" }] }, { title: "Company", items: [{ label: "About Us", href: "/#about" }, { label: "Contact", href: "/#contact" }] }, { title: "Follow Us", items: [{ label: "Facebook", href: "https://facebook.com" }, { label: "Instagram", href: "https://instagram.com" }] }]}
|
||||
copyrightText="© 2024 John's Blue Collar Business. All rights reserved."
|
||||
ariaLabel="Footer navigation"
|
||||
className="text-foreground"
|
||||
|
||||
Reference in New Issue
Block a user