Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ec444661a1 | |||
| 68ccf8b752 | |||
| 8eb5e935d8 | |||
| 86968ce2ae | |||
| 19d4a61163 | |||
| 8589a47e2b | |||
| b244924f98 | |||
| fd6943ceff | |||
| 0c7e26687d |
@@ -7,6 +7,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 { DM_Sans } from "next/font/google";
|
import { DM_Sans } from "next/font/google";
|
||||||
|
import { Open_Sans } from "next/font/google";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -40,8 +41,13 @@ export const metadata: Metadata = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const dmSans = DM_Sans({
|
|
||||||
variable: "--font-dm-sans",
|
const inter = Inter({
|
||||||
|
variable: "--font-inter",
|
||||||
|
subsets: ["latin"],
|
||||||
|
});
|
||||||
|
const openSans = Open_Sans({
|
||||||
|
variable: "--font-open-sans",
|
||||||
subsets: ["latin"],
|
subsets: ["latin"],
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -53,7 +59,7 @@ export default function RootLayout({
|
|||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body className={`${dmSans.variable} antialiased`}>
|
<body className={`${inter.variable} ${openSans.variable} antialiased`}>
|
||||||
<Tag />
|
<Tag />
|
||||||
{children}
|
{children}
|
||||||
<script
|
<script
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export default function LandingPage() {
|
|||||||
borderRadius="soft"
|
borderRadius="soft"
|
||||||
contentWidth="mediumLarge"
|
contentWidth="mediumLarge"
|
||||||
sizing="largeSmallSizeLargeTitles"
|
sizing="largeSmallSizeLargeTitles"
|
||||||
background="aurora"
|
background="none"
|
||||||
cardStyle="glass-depth"
|
cardStyle="glass-depth"
|
||||||
primaryButtonStyle="diagonal-gradient"
|
primaryButtonStyle="diagonal-gradient"
|
||||||
secondaryButtonStyle="solid"
|
secondaryButtonStyle="solid"
|
||||||
@@ -199,8 +199,8 @@ export default function LandingPage() {
|
|||||||
tag="تواصل معنا"
|
tag="تواصل معنا"
|
||||||
title="سيارتك تستحق أفضل صيانة"
|
title="سيارتك تستحق أفضل صيانة"
|
||||||
description="احجز موعدك الآن مع كراج محمود الوافي واحصل على خدمة احترافية سريعة مبنية على الثقة والخبرة. املأ النموذج وسنتواصل معك."
|
description="احجز موعدك الآن مع كراج محمود الوافي واحصل على خدمة احترافية سريعة مبنية على الثقة والخبرة. املأ النموذج وسنتواصل معك."
|
||||||
imageSrc="http://img.b2bpic.net/free-photo/spooky-outdoors-background_23-2150701058.jpg"
|
imageSrc="http://img.b2bpic.net/free-photo/mechanic-working-underneath-car_23-2149591461.jpg"
|
||||||
imageAlt="Car on lift in a modern garage"
|
imageAlt="Mechanic working underneath a car in a workshop"
|
||||||
mediaAnimation="slide-up"
|
mediaAnimation="slide-up"
|
||||||
mediaPosition="right"
|
mediaPosition="right"
|
||||||
inputPlaceholder="ادخل رقم هاتفك"
|
inputPlaceholder="ادخل رقم هاتفك"
|
||||||
@@ -248,4 +248,4 @@ export default function LandingPage() {
|
|||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -11,7 +11,7 @@ html {
|
|||||||
body {
|
body {
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
font-family: var(--font-dm-sans), sans-serif;
|
font-family: var(--font-open-sans), sans-serif;
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
overscroll-behavior: none;
|
overscroll-behavior: none;
|
||||||
@@ -24,5 +24,5 @@ h3,
|
|||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
font-family: var(--font-dm-sans), sans-serif;
|
font-family: var(--font-inter), sans-serif;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,15 +10,15 @@
|
|||||||
--accent: #ffffff;
|
--accent: #ffffff;
|
||||||
--background-accent: #ffffff; */
|
--background-accent: #ffffff; */
|
||||||
|
|
||||||
--background: #000000;
|
--background: #ffffff;
|
||||||
--card: #0c0c0c;
|
--card: #f9f9f9;
|
||||||
--foreground: #ffffff;
|
--foreground: #000612e6;
|
||||||
--primary-cta: #FFD43B;
|
--primary-cta: #15479c;
|
||||||
--primary-cta-text: #000000;
|
--primary-cta-text: #ffffff;
|
||||||
--secondary-cta: #1a1a1a;
|
--secondary-cta: #f9f9f9;
|
||||||
--secondary-cta-text: #ffffff;
|
--secondary-cta-text: #000612e6;
|
||||||
--accent: #FFD43B;
|
--accent: #e2e2e2;
|
||||||
--background-accent: #d4af37;
|
--background-accent: #c4c4c4;
|
||||||
|
|
||||||
/* 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