Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 19d4a61163 | |||
| 8589a47e2b | |||
| fd6943ceff | |||
| 0c7e26687d |
@@ -7,6 +7,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
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"],
|
||||
});
|
||||
|
||||
@@ -53,7 +59,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${dmSans.variable} antialiased`}>
|
||||
<body className={`${inter.variable} ${openSans.variable} antialiased`}>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
|
||||
@@ -199,8 +199,8 @@ export default function LandingPage() {
|
||||
tag="تواصل معنا"
|
||||
title="سيارتك تستحق أفضل صيانة"
|
||||
description="احجز موعدك الآن مع كراج محمود الوافي واحصل على خدمة احترافية سريعة مبنية على الثقة والخبرة. املأ النموذج وسنتواصل معك."
|
||||
imageSrc="http://img.b2bpic.net/free-photo/spooky-outdoors-background_23-2150701058.jpg"
|
||||
imageAlt="Car on lift in a modern garage"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/mechanic-working-underneath-car_23-2149591461.jpg"
|
||||
imageAlt="Mechanic working underneath a car in a workshop"
|
||||
mediaAnimation="slide-up"
|
||||
mediaPosition="right"
|
||||
inputPlaceholder="ادخل رقم هاتفك"
|
||||
@@ -248,4 +248,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ html {
|
||||
body {
|
||||
background-color: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: var(--font-dm-sans), sans-serif;
|
||||
font-family: var(--font-open-sans), sans-serif;
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
overscroll-behavior: none;
|
||||
@@ -24,5 +24,5 @@ h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: var(--font-dm-sans), sans-serif;
|
||||
font-family: var(--font-inter), sans-serif;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user