50 Commits

Author SHA1 Message Date
cf88db674c Update src/middleware.ts 2026-06-09 18:19:06 +00:00
012cbee2ab Update src/i18n.ts 2026-06-09 18:19:05 +00:00
23e14db1db Update src/middleware.ts 2026-06-09 18:18:24 +00:00
cf045f2fe3 Update src/i18n.ts 2026-06-09 18:18:23 +00:00
4f81d84966 Update src/middleware.ts 2026-06-09 18:17:36 +00:00
4d96ffda9f Update src/i18n.ts 2026-06-09 18:17:35 +00:00
f6f4a060cc Add src/middleware.ts 2026-06-09 18:14:06 +00:00
1e2b792f1b Add src/i18n.ts 2026-06-09 18:14:05 +00:00
6fb7e95ae6 Update src/app/page.tsx 2026-06-09 18:14:05 +00:00
43be323bc1 Switch to version 5: modified src/app/gallery/page.tsx 2026-06-09 01:46:46 +00:00
505d29e43d Switch to version 4: modified src/app/gallery/page.tsx 2026-06-09 01:46:31 +00:00
b8aae73ccd Merge version_5 into main
Merge version_5 into main
2026-06-09 01:42:51 +00:00
c5bcaeb4d6 Update src/app/gallery/page.tsx 2026-06-09 01:42:48 +00:00
1d9de79804 Merge version_4 into main
Merge version_4 into main
2026-06-09 01:40:51 +00:00
c6acc030b4 Update src/app/gallery/page.tsx 2026-06-09 01:40:47 +00:00
43b744834f Merge version_4 into main
Merge version_4 into main
2026-06-09 01:27:37 +00:00
d53df558af Remove watermark 2026-06-09 01:27:30 +00:00
d83cd58912 Merge version_4 into main
Merge version_4 into main
2026-06-09 01:22:53 +00:00
51409cfa5f Update src/app/gallery/page.tsx 2026-06-09 01:22:46 +00:00
f6382e718d Merge version_4 into main
Merge version_4 into main
2026-06-09 01:19:20 +00:00
07f949a180 Update src/app/gallery/page.tsx 2026-06-09 01:19:17 +00:00
79536575ea Merge version_4 into main
Merge version_4 into main
2026-06-09 01:17:51 +00:00
3f86d6b8ae Update src/app/services/page.tsx 2026-06-09 01:17:48 +00:00
851a0d43c7 Merge version_4 into main
Merge version_4 into main
2026-06-09 01:14:25 +00:00
52f5a27684 Update src/app/page.tsx 2026-06-09 01:14:22 +00:00
e74b4c6011 Merge version_4 into main
Merge version_4 into main
2026-06-09 01:10:58 +00:00
07bf03da0f Update src/app/page.tsx 2026-06-09 01:10:55 +00:00
62654db3c3 Merge version_4 into main
Merge version_4 into main
2026-06-09 01:10:06 +00:00
e634498ff1 Update src/app/page.tsx 2026-06-09 01:10:02 +00:00
f2644003d7 Merge version_4 into main
Merge version_4 into main
2026-06-09 01:08:48 +00:00
5eb0efde97 Update src/app/page.tsx 2026-06-09 01:08:45 +00:00
49f980aac0 Merge version_3 into main
Merge version_3 into main
2026-06-09 01:05:27 +00:00
af082e224f Update src/app/services/page.tsx 2026-06-09 01:05:24 +00:00
62bc1a882e Update src/app/page.tsx 2026-06-09 01:05:23 +00:00
425499ff98 Update src/app/gallery/page.tsx 2026-06-09 01:05:23 +00:00
d48e7bef42 Update src/app/contact/page.tsx 2026-06-09 01:05:22 +00:00
9420e40e16 Merge version_1 into main
Merge version_1 into main
2026-06-09 01:03:05 +00:00
192b26fc7a Update src/app/page.tsx 2026-06-09 01:03:02 +00:00
ee00ee9b22 Merge version_1 into main
Merge version_1 into main
2026-06-09 01:00:29 +00:00
a963fef076 Update src/app/page.tsx 2026-06-09 01:00:25 +00:00
04351a4fd8 Merge version_1 into main
Merge version_1 into main
2026-06-09 00:57:57 +00:00
f3137bd417 Update src/app/gallery/page.tsx 2026-06-09 00:57:51 +00:00
76b422cd00 Update src/app/contact/page.tsx 2026-06-09 00:57:16 +00:00
b15b1acfa9 Update src/app/contact/page.tsx 2026-06-09 00:55:36 +00:00
a520b28a39 Update src/app/contact/page.tsx 2026-06-09 00:55:08 +00:00
bbb286396f Update src/app/services/page.tsx 2026-06-09 00:53:28 +00:00
435b91c4b1 Update src/app/page.tsx 2026-06-09 00:53:28 +00:00
a2a022b12d Update src/app/gallery/page.tsx 2026-06-09 00:53:27 +00:00
0fa24f8dbd Update src/app/contact/page.tsx 2026-06-09 00:53:26 +00:00
921567f8d9 Merge version_2 into main
Merge version_2 into main
2026-06-09 00:24:55 +00:00
7 changed files with 92 additions and 91 deletions

View File

@@ -14,7 +14,7 @@ export default function LandingPage() {
defaultTextAnimation="reveal-blur" defaultTextAnimation="reveal-blur"
borderRadius="rounded" borderRadius="rounded"
contentWidth="mediumLarge" contentWidth="mediumLarge"
sizing="largeSmallSizeMediumTitles" sizing="largeSizeMediumTitles"
background="noise" background="noise"
cardStyle="glass-depth" cardStyle="glass-depth"
primaryButtonStyle="radial-glow" primaryButtonStyle="radial-glow"
@@ -50,9 +50,9 @@ export default function LandingPage() {
text="Ready to Transform Your Floors? Contact Us for a Free Quote Today!" text="Ready to Transform Your Floors? Contact Us for a Free Quote Today!"
buttons={[ buttons={[
{ {
text: "Call Us Now: (555) 123-4567", href: "tel:+15551234567"}, text: "Call Us Now: (770) 374-7706", href: "tel:+15551234567"},
{ {
text: "Email Us: info@floorcraft.com", href: "mailto:info@floorcraft.com"}, text: "Email Us: Floorcraftt@gmail.com", href: "mailto:info@floorcraft.com"},
]} ]}
/> />
</div> </div>

View File

@@ -4,7 +4,6 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react"; import ReactLenis from "lenis/react";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'; import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo'; import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
import FooterBase from '@/components/sections/footer/FooterBase'; import FooterBase from '@/components/sections/footer/FooterBase';
export default function GalleryPage() { export default function GalleryPage() {
@@ -14,7 +13,7 @@ export default function GalleryPage() {
defaultTextAnimation="reveal-blur" defaultTextAnimation="reveal-blur"
borderRadius="rounded" borderRadius="rounded"
contentWidth="mediumLarge" contentWidth="mediumLarge"
sizing="largeSmallSizeMediumTitles" sizing="largeSizeMediumTitles"
background="noise" background="noise"
cardStyle="glass-depth" cardStyle="glass-depth"
primaryButtonStyle="radial-glow" primaryButtonStyle="radial-glow"
@@ -30,7 +29,8 @@ export default function GalleryPage() {
{ name: "Gallery", id: "/gallery" }, { name: "Gallery", id: "/gallery" },
{ name: "Contact", id: "/contact" }, { name: "Contact", id: "/contact" },
]} ]}
button={{ text: "Get a Free Quote", href: "/contact" }} button={{
text: "Get a Free Quote", href: "/contact" }}
logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780963238289-ovhlz3j6.png" logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780963238289-ovhlz3j6.png"
logoAlt="FloorCraft Logo" logoAlt="FloorCraft Logo"
brandName="FloorCraft" brandName="FloorCraft"
@@ -47,37 +47,16 @@ export default function GalleryPage() {
products={[ products={[
{ id: "project-1", brand: "Hardwood", name: "Modern Kitchen Refinish", price: "", rating: 5, reviewCount: "25", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780963238290-d9zo6f2r.png", imageAlt: "Modern kitchen with newly refinished hardwood floors" }, { id: "project-1", brand: "Hardwood", name: "Modern Kitchen Refinish", price: "", rating: 5, reviewCount: "25", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780963238290-d9zo6f2r.png", imageAlt: "Modern kitchen with newly refinished hardwood floors" },
{ id: "project-2", brand: "Custom", name: "Geometric Entryway Design", price: "", rating: 5, reviewCount: "18", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780963238290-vzc55io2.png", imageAlt: "Intricate geometric hardwood floor design in entryway" }, { id: "project-2", brand: "Custom", name: "Geometric Entryway Design", price: "", rating: 5, reviewCount: "18", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780963238290-vzc55io2.png", imageAlt: "Intricate geometric hardwood floor design in entryway" },
{ id: "project-3", brand: "Dark Oak", name: "Elegant Living Room Install", price: "", rating: 5, reviewCount: "32", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780963238290-9c8uuc2l.png", imageAlt: "Worker installing dark oak hardwood floors in living room" }, { id: "project-3", brand: "Dark Oak", name: "Elegant Living Room Install", price: "", rating: 5, reviewCount: "32", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780966652304-xfnb27na.png", imageAlt: "Worker installing dark oak hardwood floors in living room" },
{ id: "project-4", brand: "Natural Oak", name: "Bright Office Space", price: "", rating: 5, reviewCount: "15", imageSrc: "http://img.b2bpic.net/free-photo/modern-styled-small-entryway_23-2150713043.jpg", imageAlt: "Bright office space with newly installed natural oak flooring" }, { id: "project-4", brand: "Natural Oak", name: "Bright Office Space", price: "", rating: 5, reviewCount: "15", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780967930309-ylogas5d.png", imageAlt: "Bright office space with newly installed natural oak flooring" },
{ id: "project-5", brand: "Mahogany", name: "Classic Dining Area", price: "", rating: 5, reviewCount: "20", imageSrc: "http://img.b2bpic.net/free-photo/composition-with-flashlight-useful-travel-items_23-2147604698.jpg", imageAlt: "Classic dining area with rich mahogany hardwood floors" }, { id: "project-5", brand: "Mahogany", name: "Classic Dining Area", price: "", rating: 5, reviewCount: "20", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780968009290-vn12hcty.png", imageAlt: "Classic dining area with rich mahogany hardwood floors" },
{ id: "project-6", brand: "Maple", name: "Spacious Bedroom", price: "", rating: 5, reviewCount: "10", imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-healthy-woman-bathrobe-indoors_1153-6373.jpg", imageAlt: "Spacious bedroom with light maple hardwood flooring" } { id: "project-6", brand: "Maple", name: "Spacious Bedroom", price: "", rating: 5, reviewCount: "10", imageSrc: "https://img.b2bpic.net/free-photo/close-up-wooden-surface_23-2147731715.jpg?id=1526425", imageAlt: "Spacious bedroom with light maple hardwood flooring" }
]} ]}
title="Our Gallery: Crafting Beautiful Floors" title="Our Gallery: Crafting Beautiful Floors"
description="Explore a selection of our finest flooring projects. Each image tells a story of dedication, precision, and the lasting beauty FloorCraft brings to every home." description="Explore a selection of our finest flooring projects. Each image tells a story of dedication, precision, and the lasting beauty FloorCraft brings to every home."
/> />
</div> </div>
<div id="gallery-testimonials" data-section="gallery-testimonials">
<TestimonialCardSixteen
textboxLayout="default"
useInvertedBackground={true}
testimonials={[
{ id: "g-1", name: "Olivia Wilson", role: "Home Remodeler", company: "Alpharetta, GA", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-man-choosing-color_23-2148903521.jpg", imageAlt: "Olivia Wilson" },
{ id: "g-2", name: "Liam Brown", role: "Residential Client", company: "Roswell, GA", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/stylish-woman-wearing-yellow-bandana_273609-13338.jpg", imageAlt: "Liam Brown" },
{ id: "g-3", name: "Ava Garcia", role: "Custom Home Builder", company: "Atlanta, GA", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/front-view-happy-man-posing_23-2148563434.jpg", imageAlt: "Ava Garcia" },
{ id: "g-4", name: "Noah Miller", role: "Property Investor", company: "Sandy Springs, GA", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/expressive-young-girl-posing-studio_176474-68234.jpg", imageAlt: "Noah Miller" },
{ id: "g-5", name: "Sophia Davis", role: "Homeowner", company: "Johns Creek, GA", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/happy-relaxed-mature-business-man-standing-office-cafe-leaning-counter-holding-jacket-shoulder-smiling-camera_74855-10028.jpg", imageAlt: "Sophia Davis" }
]}
kpiItems={[
{ value: "Flawless", label: "Finishes" },
{ value: "Artistry", label: "in Every Plank" },
{ value: "Happy", label: "Homes" }
]}
title="Hear From Homeowners We've Transformed"
description="See why families trust FloorCraft for their most cherished spaces. Our gallery showcases not just floors, but homes brought to life."
animationType="depth-3d"
/>
</div>
<div id="footer" data-section="footer"> <div id="footer" data-section="footer">
<FooterBase <FooterBase
@@ -116,4 +95,4 @@ export default function GalleryPage() {
</ReactLenis> </ReactLenis>
</ThemeProvider> </ThemeProvider>
); );
} }

View File

@@ -4,7 +4,6 @@ import { Inter } from "next/font/google";
import "./globals.css"; import "./globals.css";
import "@/lib/gsap-setup"; import "@/lib/gsap-setup";
import { ServiceWrapper } from "@/components/ServiceWrapper"; import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script"; import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Mulish } from "next/font/google"; import { Mulish } from "next/font/google";
@@ -58,7 +57,7 @@ export default function RootLayout({
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<ServiceWrapper> <ServiceWrapper>
<body className={`${mulish.variable} ${inter.variable} antialiased`}> <body className={`${mulish.variable} ${inter.variable} antialiased`}>
<Tag />
{children} {children}
<script <script
dangerouslySetInnerHTML={{ dangerouslySetInnerHTML={{

View File

@@ -12,13 +12,16 @@ import TestimonialCardSixteen from '@/components/sections/testimonial/Testimonia
import { Award, Briefcase, Calendar, Cog, Home, Hammer, MessageCircle, Paintbrush, Sparkles, Star, Brush, ClipboardCheck } from "lucide-react"; import { Award, Briefcase, Calendar, Cog, Home, Hammer, MessageCircle, Paintbrush, Sparkles, Star, Brush, ClipboardCheck } from "lucide-react";
export default function LandingPage() { export default function LandingPage() {
// Placeholder for a translation function. In a real app, this would be imported from an i18n library.
const t = (key: string) => key;
return ( return (
<ThemeProvider <ThemeProvider
defaultButtonVariant="directional-hover" defaultButtonVariant="directional-hover"
defaultTextAnimation="reveal-blur" defaultTextAnimation="reveal-blur"
borderRadius="rounded" borderRadius="rounded"
contentWidth="mediumLarge" contentWidth="mediumLarge"
sizing="largeSmallSizeMediumTitles" sizing="largeSizeMediumTitles"
background="noise" background="noise"
cardStyle="glass-depth" cardStyle="glass-depth"
primaryButtonStyle="radial-glow" primaryButtonStyle="radial-glow"
@@ -70,22 +73,22 @@ export default function LandingPage() {
text: "Get a Free Quote", href: "/contact"}, text: "Get a Free Quote", href: "/contact"},
]} ]}
buttonAnimation="slide-up" buttonAnimation="slide-up"
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780963238290-d9zo6f2r.png" imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780966820443-2vc4yi0u.png"
imageAlt="Newly installed hardwood floor in a modern kitchen" imageAlt="Newly installed hardwood floor in a modern kitchen"
mediaAnimation="slide-up" mediaAnimation="slide-up"
avatars={[ avatars={[
{ {
src: "http://img.b2bpic.net/free-photo/portrait-smiling-businesswoman-office_329181-19228.jpg", alt: "Satisfied client"}, src: "https://img.b2bpic.net/free-photo/rustic-weathered-wood-surface-with-long-boards-lined-up_24972-248.jpg?id=3913052", alt: "Satisfied client"},
{ {
src: "http://img.b2bpic.net/free-photo/confident-smart-girl-got-everything-control-portrait-optimistic-goodlooking-girl-with-fair-hair-tanned-skin-winking-showing-okay-perfect-gesture-standing-blue-wall_1258-308436.jpg", alt: "Happy homeowner"}, src: "https://img.b2bpic.net/free-photo/herringbone-stairs-flooring-wooden-chevron-modern-finish_169016-68991.jpg?id=420756080", alt: "Happy homeowner"},
{ {
src: "http://img.b2bpic.net/free-photo/beautiful-young-female-with-hair-bun-having-joyful-look-smiling-cheerfully-happy-with-some-positive-news_273609-9042.jpg", alt: "Project supervisor"}, src: "https://img.b2bpic.net/free-photo/warm-wooden-texture_23-2151946271.jpg?id=413147449", alt: "Project supervisor"},
{ {
src: "http://img.b2bpic.net/free-photo/medium-shot-model-expressing-emotion_23-2151912686.jpg", alt: "Client testimonial"}, src: "https://img.b2bpic.net/free-photo/rustic-reclaimed-wood-planks-texture_84443-73858.jpg?id=426436371", alt: "Client testimonial"},
{ {
src: "http://img.b2bpic.net/free-photo/human-facial-expressions-portrait-serious-young-unshaven-male-with-curly-hair-keeping-chin-his-hands-with-pensive-look-thinking-something-posing-indoors_343059-1822.jpg", alt: "Trusted customer"}, src: "https://img.b2bpic.net/free-vector/small-wooden-blocks-texture_1100-47.jpg?id=851179", alt: "Trusted customer"},
]} ]}
avatarText="Join Our Growing Family of Satisfied Customers!" avatarText=""
marqueeItems={[ marqueeItems={[
{ {
type: "text", text: "Hardwood Installation"}, type: "text", text: "Hardwood Installation"},
@@ -128,7 +131,7 @@ export default function LandingPage() {
features={[ features={[
{ {
title: "Hardwood Floor Installation", description: "Expert installation of all hardwood types, ensuring a seamless and durable finish that enhances your home's aesthetic.", media: { title: "Hardwood Floor Installation", description: "Expert installation of all hardwood types, ensuring a seamless and durable finish that enhances your home's aesthetic.", media: {
imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692391.jpg", imageAlt: "Hardwood floor installation"}, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780966870626-bmc3gsu8.png", imageAlt: "Hardwood floor installation"},
items: [ items: [
{ {
icon: Home, icon: Home,
@@ -144,7 +147,7 @@ export default function LandingPage() {
}, },
{ {
title: "Professional Floor Sanding", description: "Restore the natural beauty of your existing hardwood floors with our dust-free sanding and refinishing services, bringing them back to life.", media: { title: "Professional Floor Sanding", description: "Restore the natural beauty of your existing hardwood floors with our dust-free sanding and refinishing services, bringing them back to life.", media: {
imageSrc: "http://img.b2bpic.net/free-photo/man-is-working-with-mosquito-wire-screen-installation_1150-6580.jpg", imageAlt: "Floor sanding service"}, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780966945561-9h6uh1nb.png", imageAlt: "Floor sanding service"},
items: [ items: [
{ {
icon: Brush, icon: Brush,
@@ -160,7 +163,7 @@ export default function LandingPage() {
}, },
{ {
title: "Free Estimates & Consultation", description: "Start your flooring project with confidence. We offer complimentary, no-obligation estimates and expert advice tailored to your needs.", media: { title: "Free Estimates & Consultation", description: "Start your flooring project with confidence. We offer complimentary, no-obligation estimates and expert advice tailored to your needs.", media: {
imageSrc: "http://img.b2bpic.net/free-photo/ruler-plans_23-2147785546.jpg", imageAlt: "Free flooring estimate"}, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780966973320-uqhq8km9.png", imageAlt: "Free flooring estimate"},
items: [ items: [
{ {
icon: ClipboardCheck, icon: ClipboardCheck,
@@ -185,33 +188,17 @@ export default function LandingPage() {
textboxLayout="default" textboxLayout="default"
useInvertedBackground={true} useInvertedBackground={true}
animationType="depth-3d" animationType="depth-3d"
testimonials={[ testimonials={[]}
{
id: "1", name: "Sarah Johnson", role: "Homeowner", company: "Atlanta, GA", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-attractive-stylish-senior-caucasian-female-pensioner-with-pixie-short-hairstyle-spending-day-home-standing-living-room-wearing-elegant-blue-dress-smiling-happily_343059-2673.jpg", imageAlt: "Sarah Johnson"},
{
id: "2", name: "Michael Chen", role: "Residential Developer", company: "Macon, GA", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/close-up-man-with-bright-smile_23-2148563438.jpg", imageAlt: "Michael Chen"},
{
id: "3", name: "Emily Rodriguez", role: "Interior Designer", company: "Alpharetta, GA", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/glad-brunette-young-woman-smiles-happily-keeps-thumbs-up-shows-approval-sign-satisfied-with-service-good-feedback-says-its-excellent-dressed-casual-pink-t-shirt-isolated-white-background_273609-61011.jpg", imageAlt: "Emily Rodriguez"},
{
id: "4", name: "David Kim", role: "First-Time Homeowner", company: "Savannah, GA", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/smiling-pretty-curly-haired-lady-showing-thumb-up-park_1262-20821.jpg", imageAlt: "David Kim"},
{
id: "5", name: "Jessica Lee", role: "Property Manager", company: "Roswell, GA", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-beauty-businesswoman-leaning-against-brick-wall_613910-773.jpg", imageAlt: "Jessica Lee"},
]}
kpiItems={[ kpiItems={[
{ {
value: "5.0", label: "Average Rating"}, value: "5.0", label: t('home_testimonials.kpi_average_rating')},
{ {
value: "98%", label: "Client Retention"}, value: "98%", label: t('home_testimonials.kpi_client_retention')},
{ {
value: "100%", label: "Satisfaction"}, value: "100%", label: t('home_testimonials.kpi_satisfaction')},
]} ]}
title="What Our Family of Customers Says" title={t('home_testimonials.title')}
description="Hearing from our satisfied clients is the greatest reward. Their trust in our craftsmanship and personal approach is the foundation of our business." description={t('home_testimonials.description')}
/> />
</div> </div>
@@ -220,9 +207,14 @@ export default function LandingPage() {
textboxLayout="default" textboxLayout="default"
useInvertedBackground={false} useInvertedBackground={false}
names={[ names={[
"WoodMark Supplies", "Elite Builders", "Design Innovations", "GreenWood Co.", "Luxury Living Homes", "Community Craftsmen", "Certified Flooring Pros"]} t('social_proof.client_a'),
title="Our Trusted Partners & Featured Brands" t('social_proof.client_b'),
description="We collaborate with leading suppliers and home builders to ensure every FloorCraft project meets the highest standards of quality and aesthetics." t('social_proof.client_c'),
t('social_proof.client_d'),
t('social_proof.client_e'),
]}
title={t('social_proof.title')}
description={t('social_proof.description')}
speed={40} speed={40}
/> />
</div> </div>
@@ -231,46 +223,46 @@ export default function LandingPage() {
<FooterBase <FooterBase
columns={[ columns={[
{ {
title: "Navigation", items: [ title: t('footer.navigation_title'), items: [
{ {
label: "Home", href: "/"}, label: t('footer.home_label'), href: "/"},
{ {
label: "Services", href: "/services"}, label: t('footer.services_label'), href: "/services"},
{ {
label: "Gallery", href: "/gallery"}, label: t('footer.gallery_label'), href: "/gallery"},
{ {
label: "Contact", href: "/contact"}, label: t('footer.contact_label'), href: "/contact"},
], ],
}, },
{ {
title: "Services", items: [ title: t('footer.services_column_title'), items: [
{ {
label: "Hardwood Installation", href: "/services#hardwood-installation"}, label: t('footer.service_hardwood_installation'), href: "/services#hardwood-installation"},
{ {
label: "Floor Sanding", href: "/services#floor-sanding"}, label: t('footer.service_floor_sanding'), href: "/services#floor-sanding"},
{ {
label: "Free Estimates", href: "/services#free-estimates"}, label: t('footer.service_free_estimates'), href: "/services#free-estimates"},
{ {
label: "Custom Designs", href: "/services#custom-designs"}, label: t('footer.service_custom_designs'), href: "/services#custom-designs"},
], ],
}, },
{ {
title: "About Us", items: [ title: t('footer.about_us_title'), items: [
{ {
label: "Our Story", href: "/#about"}, label: t('footer.about_our_story'), href: "/#about"},
{ {
label: "Testimonials", href: "/#home-testimonials"}, label: t('footer.about_testimonials'), href: "/#home-testimonials"},
{ {
label: "Service Areas", href: "/services#service-areas"}, label: t('footer.about_service_areas'), href: "/services#service-areas"},
{ {
label: "FAQs", href: "/contact#faq"}, label: t('footer.about_faqs'), href: "/contact#faq"},
], ],
}, },
]} ]}
logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780963238289-ovhlz3j6.png" logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780963238289-ovhlz3j6.png"
logoAlt="FloorCraft Logo" logoAlt="FloorCraft Logo"
logoText="FloorCraft" logoText={t('footer.logo_text')}
copyrightText="© 2024 FloorCraft. All rights reserved." copyrightText={t('footer.copyright_text')}
/> />
</div> </div>
</ReactLenis> </ReactLenis>

View File

@@ -16,7 +16,7 @@ export default function LandingPage() {
defaultTextAnimation="reveal-blur" defaultTextAnimation="reveal-blur"
borderRadius="rounded" borderRadius="rounded"
contentWidth="mediumLarge" contentWidth="mediumLarge"
sizing="largeSmallSizeMediumTitles" sizing="largeSizeMediumTitles"
background="noise" background="noise"
cardStyle="glass-depth" cardStyle="glass-depth"
primaryButtonStyle="radial-glow" primaryButtonStyle="radial-glow"
@@ -52,7 +52,7 @@ export default function LandingPage() {
features={[ features={[
{ {
title: "Hardwood Installation", description: "From selection to installation, we guide you through choosing the perfect hardwood, ensuring a beautiful and lasting addition to your home.", media: { title: "Hardwood Installation", description: "From selection to installation, we guide you through choosing the perfect hardwood, ensuring a beautiful and lasting addition to your home.", media: {
imageSrc: "http://img.b2bpic.net/free-photo/bangkok-thailand-august-12-2016-beautiful-luxury-living-room_1203-2344.jpg", imageAlt: "Hardwood floor installation"}, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780967789061-j0iopjpz.png", imageAlt: "Hardwood floor installation"},
items: [ items: [
{ {
icon: CheckCircle, icon: CheckCircle,
@@ -68,7 +68,7 @@ export default function LandingPage() {
}, },
{ {
title: "Floor Sanding & Refinishing", description: "Breathe new life into old floors. Our meticulous sanding and refinishing services restore their original luster and protect them for years to come.", media: { title: "Floor Sanding & Refinishing", description: "Breathe new life into old floors. Our meticulous sanding and refinishing services restore their original luster and protect them for years to come.", media: {
imageSrc: "http://img.b2bpic.net/free-photo/young-housewife-with-yellow-gloves-cleaning-floor_140725-12662.jpg", imageAlt: "Floor sanding and refinishing"}, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780967809562-h19uz2n7.png", imageAlt: "Floor sanding and refinishing"},
items: [ items: [
{ {
icon: CheckCircle, icon: CheckCircle,
@@ -84,7 +84,7 @@ export default function LandingPage() {
}, },
{ {
title: "Custom Flooring Designs", description: "Elevate your space with unique patterns, borders, and inlay designs. We craft bespoke flooring solutions that reflect your personal style and vision.", media: { title: "Custom Flooring Designs", description: "Elevate your space with unique patterns, borders, and inlay designs. We craft bespoke flooring solutions that reflect your personal style and vision.", media: {
imageSrc: "http://img.b2bpic.net/free-photo/creative-fengshui-practice-outdoors-arrangement_23-2149135744.jpg", imageAlt: "Custom patterned hardwood floor"}, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780967849188-dqddwbsc.png", imageAlt: "Custom patterned hardwood floor"},
items: [ items: [
{ {
icon: CheckCircle, icon: CheckCircle,

13
src/i18n.ts Normal file
View File

@@ -0,0 +1,13 @@
// @ts-expect-error next-intl server config type mismatch
import { getRequestConfig } from 'next-intl/server';
import { notFound } from 'next/navigation';
export const locales = ['en', 'es'];
export default getRequestConfig(async ({ locale }) => {
if (!locales.includes(locale as any)) notFound();
return {
messages: (await import(`../messages/${locale}.json`)).default,
};
});

18
src/middleware.ts Normal file
View File

@@ -0,0 +1,18 @@
// @ts-expect-error next-intl middleware type incompatibility
import createMiddleware from 'next-intl/middleware';
import { locales } from './i18n';
export default createMiddleware({
locales,
defaultLocale: 'en',
localePrefix: 'as-needed',
});
export const config = {
matcher: [
'/',
'/(es|en)/:path*',
// Enable a redirect to a matching locale at the root
// '/((?!_next|_vercel|.*\..*).*)',
],
};