38 Commits

Author SHA1 Message Date
a3efb38726 Switch to version 5: remove src/app/service-areas/page.tsx 2026-06-10 00:34:17 +00:00
9f61d5b0c2 Switch to version 5: modified src/app/services/page.tsx 2026-06-10 00:34:17 +00:00
7c4d244816 Switch to version 5: modified src/app/page.tsx 2026-06-10 00:34:16 +00:00
05f01137b2 Switch to version 5: modified src/app/gallery/page.tsx 2026-06-10 00:34:16 +00:00
4e7689eb03 Switch to version 5: modified src/app/contact/page.tsx 2026-06-10 00:34:15 +00:00
41e0054b26 Merge version_11 into main
Merge version_11 into main
2026-06-10 00:15:43 +00:00
7853df33a6 Update src/app/services/page.tsx 2026-06-10 00:15:36 +00:00
c21800806d Merge version_10 into main
Merge version_10 into main
2026-06-10 00:02:40 +00:00
e305d21f4f Update src/app/service-areas/page.tsx 2026-06-10 00:02:37 +00:00
c4def11e98 Update src/app/page.tsx 2026-06-10 00:02:37 +00:00
642abf0992 Update src/app/gallery/page.tsx 2026-06-10 00:02:36 +00:00
3ef55aa1de Update src/app/contact/page.tsx 2026-06-10 00:02:36 +00:00
4f419e7190 Merge version_9 into main
Merge version_9 into main
2026-06-09 23:37:31 +00:00
fdaf2107da Update src/app/page.tsx 2026-06-09 23:37:28 +00:00
a6494a783f Update src/app/gallery/page.tsx 2026-06-09 23:37:27 +00:00
ca7c8ee479 Merge version_9 into main
Merge version_9 into main
2026-06-09 23:37:06 +00:00
94d93b9076 Update src/app/gallery/page.tsx 2026-06-09 23:37:00 +00:00
79f6346e37 Merge version_9 into main
Merge version_9 into main
2026-06-09 23:36:05 +00:00
d9a8e313bd Update src/app/page.tsx 2026-06-09 23:36:01 +00:00
38e5effbc5 Merge version_9 into main
Merge version_9 into main
2026-06-09 23:35:18 +00:00
23590f9f07 Update src/app/service-areas/page.tsx 2026-06-09 23:35:15 +00:00
4eae5ddc0f Update src/app/page.tsx 2026-06-09 23:35:14 +00:00
372d7b593a Merge version_9 into main
Merge version_9 into main
2026-06-09 23:34:44 +00:00
3a54d4e5c7 Add src/app/service-areas/page.tsx 2026-06-09 23:34:40 +00:00
62a763af5c Update src/app/page.tsx 2026-06-09 23:34:40 +00:00
2126638860 Update src/app/gallery/page.tsx 2026-06-09 23:34:40 +00:00
80c05f196d Update src/app/contact/page.tsx 2026-06-09 23:34:39 +00:00
a6b6f6b414 Merge version_8 into main
Merge version_8 into main
2026-06-09 23:27:11 +00:00
5002c80afd Update src/app/contact/page.tsx 2026-06-09 23:27:08 +00:00
4389f8942f Merge version_6 into main
Merge version_6 into main
2026-06-09 23:20:16 +00:00
d513885a41 Update src/app/services/page.tsx 2026-06-09 23:20:13 +00:00
949ebcfddb Switch to version 6: remove src/middleware.ts 2026-06-09 23:18:52 +00:00
7a8945520d Switch to version 6: remove src/i18n.ts 2026-06-09 23:18:51 +00:00
892ae4d405 Switch to version 6: modified src/app/page.tsx 2026-06-09 23:18:51 +00:00
c941dab6e0 Merge version_7 into main
Merge version_7 into main
2026-06-09 18:19:09 +00:00
1415f0e81f Merge version_7 into main
Merge version_7 into main
2026-06-09 18:18:27 +00:00
57a2c861f2 Merge version_7 into main
Merge version_7 into main
2026-06-09 18:17:43 +00:00
0fc491d50a Merge version_7 into main
Merge version_7 into main
2026-06-09 18:14:12 +00:00
3 changed files with 26 additions and 66 deletions

View File

@@ -12,9 +12,6 @@ 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"
@@ -191,14 +188,14 @@ export default function LandingPage() {
testimonials={[]} testimonials={[]}
kpiItems={[ kpiItems={[
{ {
value: "5.0", label: t('home_testimonials.kpi_average_rating')}, value: "5.0", label: "Average Rating"},
{ {
value: "98%", label: t('home_testimonials.kpi_client_retention')}, value: "98%", label: "Client Retention"},
{ {
value: "100%", label: t('home_testimonials.kpi_satisfaction')}, value: "100%", label: "Satisfaction"},
]} ]}
title={t('home_testimonials.title')} title="What Our Family of Customers Says"
description={t('home_testimonials.description')} description="Hearing from our satisfied clients is the greatest reward. Their trust in our craftsmanship and personal approach is the foundation of our business."
/> />
</div> </div>
@@ -206,15 +203,9 @@ export default function LandingPage() {
<SocialProofOne <SocialProofOne
textboxLayout="default" textboxLayout="default"
useInvertedBackground={false} useInvertedBackground={false}
names={[ names={[]}
t('social_proof.client_a'), title=""
t('social_proof.client_b'), description=""
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>
@@ -223,46 +214,46 @@ export default function LandingPage() {
<FooterBase <FooterBase
columns={[ columns={[
{ {
title: t('footer.navigation_title'), items: [ title: "Navigation", items: [
{ {
label: t('footer.home_label'), href: "/"}, label: "Home", href: "/"},
{ {
label: t('footer.services_label'), href: "/services"}, label: "Services", href: "/services"},
{ {
label: t('footer.gallery_label'), href: "/gallery"}, label: "Gallery", href: "/gallery"},
{ {
label: t('footer.contact_label'), href: "/contact"}, label: "Contact", href: "/contact"},
], ],
}, },
{ {
title: t('footer.services_column_title'), items: [ title: "Services", items: [
{ {
label: t('footer.service_hardwood_installation'), href: "/services#hardwood-installation"}, label: "Hardwood Installation", href: "/services#hardwood-installation"},
{ {
label: t('footer.service_floor_sanding'), href: "/services#floor-sanding"}, label: "Floor Sanding", href: "/services#floor-sanding"},
{ {
label: t('footer.service_free_estimates'), href: "/services#free-estimates"}, label: "Free Estimates", href: "/services#free-estimates"},
{ {
label: t('footer.service_custom_designs'), href: "/services#custom-designs"}, label: "Custom Designs", href: "/services#custom-designs"},
], ],
}, },
{ {
title: t('footer.about_us_title'), items: [ title: "About Us", items: [
{ {
label: t('footer.about_our_story'), href: "/#about"}, label: "Our Story", href: "/#about"},
{ {
label: t('footer.about_testimonials'), href: "/#home-testimonials"}, label: "Testimonials", href: "/#home-testimonials"},
{ {
label: t('footer.about_service_areas'), href: "/services#service-areas"}, label: "Service Areas", href: "/services#service-areas"},
{ {
label: t('footer.about_faqs'), href: "/contact#faq"}, label: "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={t('footer.logo_text')} logoText="FloorCraft"
copyrightText={t('footer.copyright_text')} copyrightText="© 2024 FloorCraft. All rights reserved."
/> />
</div> </div>
</ReactLenis> </ReactLenis>

View File

@@ -1,13 +0,0 @@
// @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,
};
});

View File

@@ -1,18 +0,0 @@
// @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|.*\..*).*)',
],
};