Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a69863ef40 | |||
| af53a86c48 | |||
| 00d950e6f7 | |||
| 6ec322a788 | |||
| 68a285e577 | |||
| 7785d8e92d |
@@ -6,6 +6,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|||||||
import Tag from "@/tag/Tag";
|
import Tag from "@/tag/Tag";
|
||||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||||
import { Public_Sans } from "next/font/google";
|
import { Public_Sans } from "next/font/google";
|
||||||
|
import { Poppins } from "next/font/google";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -14,8 +15,10 @@ export const metadata: Metadata = {
|
|||||||
description: 'Get professional teeth whitening in 30 minutes with WhitePop Pro strips. Peroxide-free, enamel-safe formula. See results in 7 days. 30-day money-back guarantee.',
|
description: 'Get professional teeth whitening in 30 minutes with WhitePop Pro strips. Peroxide-free, enamel-safe formula. See results in 7 days. 30-day money-back guarantee.',
|
||||||
};
|
};
|
||||||
|
|
||||||
const publicSans = Public_Sans({
|
|
||||||
variable: "--font-public-sans", subsets: ["latin"],
|
const poppins = Poppins({
|
||||||
|
variable: "--font-poppins", subsets: ["latin"],
|
||||||
|
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
||||||
});
|
});
|
||||||
const inter = Inter({
|
const inter = Inter({
|
||||||
variable: "--font-inter", subsets: ["latin"],
|
variable: "--font-inter", subsets: ["latin"],
|
||||||
@@ -29,7 +32,7 @@ export default function RootLayout({
|
|||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body className={`${publicSans.variable} ${inter.variable} antialiased`}>
|
<body className={`${poppins.variable} ${inter.variable} antialiased`}>
|
||||||
<Tag />
|
<Tag />
|
||||||
{children}
|
{children}
|
||||||
<script
|
<script
|
||||||
|
|||||||
@@ -3,10 +3,11 @@
|
|||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||||
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
|
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
|
||||||
import MediaAbout from '@/components/sections/about/MediaAbout';
|
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
|
||||||
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
|
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
|
||||||
import FeatureCardTen from '@/components/sections/feature/FeatureCardTen';
|
import FeatureCardTen from '@/components/sections/feature/FeatureCardTen';
|
||||||
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
|
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
|
||||||
|
import MediaAbout from '@/components/sections/about/MediaAbout';
|
||||||
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
|
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
|
||||||
import PricingCardNine from '@/components/sections/pricing/PricingCardNine';
|
import PricingCardNine from '@/components/sections/pricing/PricingCardNine';
|
||||||
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
||||||
@@ -63,11 +64,11 @@ export default function LandingPage() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="problem" data-section="problem">
|
<div id="problem" data-section="problem">
|
||||||
<MediaAbout
|
<TextSplitAbout
|
||||||
title="Coffee, Tea, and Wine Are Staining Your Smile"
|
title="Coffee, Tea, and Wine Are Staining Your Smile"
|
||||||
description="Daily habits like drinking coffee, tea, or wine can gradually stain your teeth and cause yellowing. Over time, surface stains reduce your confidence and make you self-conscious about smiling in photos or social situations. Professional whitening treatments can cost hundreds of dollars, but there's a better way."
|
description={[
|
||||||
imageSrc="http://img.b2bpic.net/free-photo/smiling-teenage-girl-drinking-coffee-from-cup_23-2147906516.jpg"
|
"Daily habits like drinking coffee, tea, or wine can gradually stain your teeth and cause yellowing. Over time, surface stains reduce your confidence and make you self-conscious about smiling in photos or social situations.", "Professional whitening treatments can cost hundreds of dollars, but there's a better way. WhitePop Pro offers professional-grade results at a fraction of the cost."
|
||||||
imageAlt="Coffee staining teeth and causing discoloration"
|
]}
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
ariaLabel="Problem section - teeth staining from daily beverages"
|
ariaLabel="Problem section - teeth staining from daily beverages"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -24,5 +24,5 @@ h3,
|
|||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
font-family: var(--font-public-sans), sans-serif;
|
font-family: var(--font-poppins), sans-serif;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,15 +10,15 @@
|
|||||||
--accent: #ffffff;
|
--accent: #ffffff;
|
||||||
--background-accent: #ffffff; */
|
--background-accent: #ffffff; */
|
||||||
|
|
||||||
--background: #fffafa;
|
--background: #ffffff;
|
||||||
--card: #fff7f7;
|
--card: #f9f9f9;
|
||||||
--foreground: #1a0000;
|
--foreground: #1a0000;
|
||||||
--primary-cta: #e63946;
|
--primary-cta: #6b2d7d;
|
||||||
--primary-cta-text: #fffafa;
|
--primary-cta-text: #fffafa;
|
||||||
--secondary-cta: #ffffff;
|
--secondary-cta: #ffffff;
|
||||||
--secondary-cta-text: #1a0000;
|
--secondary-cta-text: #1a0000;
|
||||||
--accent: #f5c4c7;
|
--accent: #87ceeb;
|
||||||
--background-accent: #f09199;
|
--background-accent: #e6d5f0;
|
||||||
|
|
||||||
/* text sizing - set by ThemeProvider */
|
/* text sizing - set by ThemeProvider */
|
||||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||||
|
|||||||
Reference in New Issue
Block a user