Update src/app/about/page.tsx

This commit is contained in:
2026-05-19 11:42:02 +00:00
parent 5da2efb251
commit 6aef00402a

View File

@@ -3,11 +3,10 @@
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
export default function LandingPage() {
export default function AboutPage() {
return (
<ThemeProvider
defaultButtonVariant="shift-hover"
@@ -22,84 +21,42 @@ export default function LandingPage() {
headingFontWeight="extrabold"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarLayoutFloatingOverlay
navItems={[
{
name: "Home",
id: "/",
},
{
name: "About",
id: "/about",
},
{
name: "Contact",
id: "/contact",
},
]}
brandName="My Business"
/>
</div>
<div id="nav" data-section="nav">
<NavbarLayoutFloatingOverlay
navItems={[
{ name: "Home", id: "/" },
{ name: "About", id: "/about" },
{ name: "Contact", id: "/contact" },
]}
brandName="Roof Bistro"
/>
</div>
<div id="about-content" data-section="about-content">
<TextSplitAbout
useInvertedBackground={false}
title="Our Story"
description={[
"My Business was founded with a simple goal: to provide exceptional local service with a modern aesthetic.",
"We operate on the belief that professionalism should be the standard, not an exception, regardless of business size.",
]}
/>
</div>
<div id="about-content" data-section="about-content">
<TextSplitAbout
useInvertedBackground={false}
title="Our Culinary Vision"
description={[
"Roof Bistro was born from a desire to bring a refined, moody dining experience to the citys skyline.", "We believe in the power of atmosphere—where dimmed lights, premium flavors, and professional service converge to create more than just a meal, but a memory."]}
/>
</div>
<div id="about" data-section="about">
<MetricSplitMediaAbout
useInvertedBackground={false}
title="Growth Milestones"
description="Key numbers that reflect our commitment to excellence."
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=om05yj&_wi=3"
mediaAnimation="opacity"
metricsAnimation="slide-up"
metrics={[
{
value: "100+",
title: "Projects Completed",
},
{
value: "50+",
title: "Happy Clients",
},
]}
/>
</div>
<div id="footer" data-section="footer">
<FooterBaseCard
logoText="My Business"
columns={[
{
title: "Links",
items: [
{
label: "Home",
href: "/",
},
{
label: "About",
href: "/about",
},
{
label: "Contact",
href: "/contact",
},
],
},
]}
copyrightText="© 2025 My Business. All rights reserved."
/>
</div>
<div id="footer" data-section="footer">
<FooterBaseCard
logoText="Roof Bistro"
columns={[
{
title: "Navigation", items: [
{ label: "Home", href: "/" },
{ label: "About", href: "/about" },
{ label: "Contact", href: "/contact" },
],
},
]}
copyrightText="© 2025 Roof Bistro. All rights reserved."
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}
}