Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d8d28420ce | |||
| 1edff1ec5b | |||
| 12ada74591 | |||
| 974175ee07 | |||
| 46943ba651 | |||
| 7d4ed063ed | |||
| 9d91a467f0 | |||
| a36cd28bde | |||
| 408b31e2d4 |
@@ -5,7 +5,7 @@ import ReactLenis from "lenis/react";
|
|||||||
import BlogCardOne from '@/components/sections/blog/BlogCardOne';
|
import BlogCardOne from '@/components/sections/blog/BlogCardOne';
|
||||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||||
|
|
||||||
type BlogPost = {
|
type BlogPost = {
|
||||||
id: string;
|
id: string;
|
||||||
@@ -54,7 +54,8 @@ export default function BlogPage() {
|
|||||||
const url = `${apiUrl}/posts/${projectId}?status=published`;
|
const url = `${apiUrl}/posts/${projectId}?status=published`;
|
||||||
const response = await fetch(url, {
|
const response = await fetch(url, {
|
||||||
method: "GET", headers: {
|
method: "GET", headers: {
|
||||||
"Content-Type": "application/json"},
|
"Content-Type": "application/json"
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
@@ -85,7 +86,7 @@ export default function BlogPage() {
|
|||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="directional-hover"
|
defaultButtonVariant="directional-hover"
|
||||||
defaultTextAnimation="reveal-blur"
|
defaultTextAnimation="reveal-blur"
|
||||||
borderRadius="sharp"
|
borderRadius="pill"
|
||||||
contentWidth="small"
|
contentWidth="small"
|
||||||
sizing="medium"
|
sizing="medium"
|
||||||
background="circleGradient"
|
background="circleGradient"
|
||||||
@@ -96,15 +97,16 @@ export default function BlogPage() {
|
|||||||
>
|
>
|
||||||
<ReactLenis root>
|
<ReactLenis root>
|
||||||
<div className="min-h-screen bg-background">
|
<div className="min-h-screen bg-background">
|
||||||
<NavbarLayoutFloatingInline
|
<NavbarStyleFullscreen
|
||||||
brandName="A Detailing"
|
|
||||||
navItems={[
|
navItems={[
|
||||||
{ name: "Home", id: "/home" },
|
{ name: "Home", id: "/" },
|
||||||
{ name: "Services", id: "services" },
|
{ name: "Services", id: "services" },
|
||||||
{ name: "Why Us", id: "about" },
|
{ name: "Why Us", id: "about" },
|
||||||
{ name: "Contact", id: "contact" }
|
{ name: "Contact", id: "contact" }
|
||||||
]}
|
]}
|
||||||
button={{ text: "Book Now", href: "#contact" }}
|
brandName="A Detailing"
|
||||||
|
bottomLeftText="San Diego, CA"
|
||||||
|
bottomRightText="hello@adetailing.com"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
|
|||||||
@@ -4,21 +4,21 @@
|
|||||||
/* Base units */
|
/* Base units */
|
||||||
/* --vw is set by ThemeProvider */
|
/* --vw is set by ThemeProvider */
|
||||||
|
|
||||||
/* --background: #f5f5f5;;
|
/* --background: #000000;;
|
||||||
--card: #ffffff;;
|
--card: #1a1a1a;;
|
||||||
--foreground: #1c1c1c;;
|
--foreground: #ffd700;;
|
||||||
--primary-cta: #6139e6;;
|
--primary-cta: #ffd700;;
|
||||||
--secondary-cta: #ffffff;;
|
--secondary-cta: #000000;;
|
||||||
--accent: #6139e6;;
|
--accent: #ffd700;;
|
||||||
--background-accent: #b3a8e8;; */
|
--background-accent: #333333;; */
|
||||||
|
|
||||||
--background: #f5f5f5;;
|
--background: #000000;;
|
||||||
--card: #ffffff;;
|
--card: #1a1a1a;;
|
||||||
--foreground: #1c1c1c;;
|
--foreground: #ffd700;;
|
||||||
--primary-cta: #6139e6;;
|
--primary-cta: #ffd700;;
|
||||||
--secondary-cta: #ffffff;;
|
--secondary-cta: #000000;;
|
||||||
--accent: #6139e6;;
|
--accent: #ffd700;;
|
||||||
--background-accent: #b3a8e8;;
|
--background-accent: #333333;;
|
||||||
|
|
||||||
/* 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);
|
||||||
@@ -578,7 +578,7 @@ html {
|
|||||||
body {
|
body {
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
font-family: var(--font-source-code-pro), sans-serif;
|
font-family: var(--font-inter), sans-serif;
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
overscroll-behavior: none;
|
overscroll-behavior: none;
|
||||||
@@ -591,5 +591,5 @@ h3,
|
|||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
font-family: var(--font-source-code-pro), sans-serif;
|
font-family: var(--font-inter), sans-serif;
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Source_Code_Pro } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||||
import Tag from "@/tag/Tag";
|
import Tag from "@/tag/Tag";
|
||||||
|
|
||||||
const sourceCodePro = Source_Code_Pro({
|
const inter = Inter({
|
||||||
variable: "--font-source-code-pro", subsets: ["latin"],
|
variable: "--font-inter", subsets: ["latin"],
|
||||||
});
|
});
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
@@ -36,7 +36,7 @@ export default function RootLayout({
|
|||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body
|
<body
|
||||||
className={`${sourceCodePro.variable} antialiased`}
|
className={`${inter.variable} antialiased`}
|
||||||
>
|
>
|
||||||
<Tag />
|
<Tag />
|
||||||
{children}
|
{children}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
"use client"
|
"use client";
|
||||||
|
|
||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||||
import HeroLogo from '@/components/sections/hero/HeroLogo';
|
import HeroSplit from '@/components/sections/hero/HeroSplit';
|
||||||
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
|
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
|
||||||
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
|
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
|
||||||
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
|
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
|
||||||
@@ -15,7 +15,7 @@ export default function LandingPage() {
|
|||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="directional-hover"
|
defaultButtonVariant="directional-hover"
|
||||||
defaultTextAnimation="reveal-blur"
|
defaultTextAnimation="reveal-blur"
|
||||||
borderRadius="sharp"
|
borderRadius="pill"
|
||||||
contentWidth="small"
|
contentWidth="small"
|
||||||
sizing="medium"
|
sizing="medium"
|
||||||
background="circleGradient"
|
background="circleGradient"
|
||||||
@@ -25,29 +25,30 @@ export default function LandingPage() {
|
|||||||
headingFontWeight="light"
|
headingFontWeight="light"
|
||||||
>
|
>
|
||||||
<div id="nav" data-section="nav">
|
<div id="nav" data-section="nav">
|
||||||
<NavbarLayoutFloatingInline
|
<NavbarStyleFullscreen
|
||||||
brandName="A Detailing"
|
|
||||||
navItems={[
|
navItems={[
|
||||||
{ name: "Services", id: "services" },
|
{ name: "Services", id: "services" },
|
||||||
{ name: "Why Us", id: "about" },
|
{ name: "Why Us", id: "about" },
|
||||||
{ name: "Contact", id: "contact" }
|
{ name: "Contact", id: "contact" }
|
||||||
]}
|
]}
|
||||||
button={{ text: "Book Now", href: "#contact" }}
|
brandName="A Detailing"
|
||||||
|
bottomLeftText="San Diego, CA"
|
||||||
|
bottomRightText="hello@adetailing.com"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="hero" data-section="hero">
|
<div id="hero" data-section="hero">
|
||||||
<HeroLogo
|
<HeroSplit
|
||||||
logoText="A Detailing"
|
title="A Detailing"
|
||||||
description="Premium auto detailing services in San Diego, near SDSU. Expert hand-washing, polishing, and protective coatings for cars that shine."
|
description="Premium auto detailing services in San Diego, near SDSU. Expert hand-washing, polishing, and protective coatings for cars that shine."
|
||||||
|
background={{ variant: "glowing-orb" }}
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Book Your Appointment", href: "#contact" },
|
{ text: "Book Your Appointment", href: "#contact" },
|
||||||
{ text: "Learn More", href: "#services" }
|
{ text: "Learn More", href: "#services" }
|
||||||
]}
|
]}
|
||||||
imageSrc="https://img.b2bpic.net/free-photo/car-wash-detailing-station_1303-22299.jpg"
|
imageSrc="https://img.b2bpic.net/free-photo/car-wash-detailing-station_1303-22299.jpg"
|
||||||
imageAlt="Professional auto detailing showcase"
|
imageAlt="Professional auto detailing showcase"
|
||||||
showDimOverlay={true}
|
imagePosition="right"
|
||||||
logoLineHeight={1.15}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user