Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ccafc7aeb | |||
| 0f4aa74320 | |||
| 82a372ab08 | |||
| 257d4be659 | |||
| 7ffdca9f5e | |||
| 9832b9e212 | |||
| 12ea9b17a1 | |||
| 0e18baf759 | |||
| 051aa712e1 | |||
| b3abea74e2 | |||
| f3f64ad498 |
@@ -6,23 +6,24 @@ import "@/lib/gsap-setup";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
import { Mulish } from "next/font/google";
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant",
|
||||
subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Webild components 2",
|
||||
description: "Generated by create next app",
|
||||
};
|
||||
|
||||
const mulish = Mulish({
|
||||
variable: "--font-mulish",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
@@ -31,9 +32,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<body className={`${mulish.variable} ${inter.variable} antialiased`}>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
|
||||
@@ -94,12 +94,12 @@ export default function HomePage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={true}
|
||||
products={[
|
||||
{"id":"smartwatch-pro","name":"Zenith Smartwatch Pro","price":"$299.00","imageSrc":resolveAsset('asset://product-1'),"imageAlt":resolveAltText('asset://product-1'),"rating":5},
|
||||
{"id":"auralux-headphones","name":"Auralux Noise-Canceling Headphones","price":"$349.00","imageSrc":resolveAsset('asset://product-2'),"imageAlt":resolveAltText('asset://product-2'),"rating":4},
|
||||
{"id":"pulse-speaker","name":"Pulse Portable Bluetooth Speaker","price":"$129.00","imageSrc":resolveAsset('asset://product-3'),"imageAlt":resolveAltText('asset://product-3'),"rating":5},
|
||||
{"id":"phantom-controller","name":"Phantom Gaming Controller","price":"$79.00","imageSrc":resolveAsset('asset://product-4'),"imageAlt":resolveAltText('asset://product-4'),"rating":4},
|
||||
{"id":"cleanbot-robo","name":"CleanBot Robotic Vacuum","price":"$499.00","imageSrc":resolveAsset('asset://product-5'),"imageAlt":resolveAltText('asset://product-5'),"rating":5},
|
||||
{"id":"skymaster-drone","name":"SkyMaster Mini Drone","price":"$229.00","imageSrc":resolveAsset('asset://product-6'),"imageAlt":resolveAltText('asset://product-6'),"rating":4}
|
||||
{"id":"smartwatch-pro","name":"Zenith Smartwatch Pro","price":"₹299.00","imageSrc":resolveAsset('asset://product-1'),"imageAlt":resolveAltText('asset://product-1'),"rating":5},
|
||||
{"id":"auralux-headphones","name":"Auralux Noise-Canceling Headphones","price":"₹349.00","imageSrc":resolveAsset('asset://product-2'),"imageAlt":resolveAltText('asset://product-2'),"rating":4},
|
||||
{"id":"pulse-speaker","name":"Pulse Portable Bluetooth Speaker","price":"₹129.00","imageSrc":resolveAsset('asset://product-3'),"imageAlt":resolveAltText('asset://product-3'),"rating":5},
|
||||
{"id":"phantom-controller","name":"Phantom Gaming Controller","price":"₹79.00","imageSrc":resolveAsset('asset://product-4'),"imageAlt":resolveAltText('asset://product-4'),"rating":4},
|
||||
{"id":"cleanbot-robo","name":"CleanBot Robotic Vacuum","price":"₹499.00","imageSrc":resolveAsset('asset://product-5'),"imageAlt":resolveAltText('asset://product-5'),"rating":5},
|
||||
{"id":"skymaster-drone","name":"SkyMaster Mini Drone","price":"₹229.00","imageSrc":resolveAsset('asset://product-6'),"imageAlt":resolveAltText('asset://product-6'),"rating":4}
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -24,5 +24,5 @@ h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: var(--font-inter), sans-serif;
|
||||
font-family: var(--font-mulish), sans-serif;
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
--accent: #ffffff;
|
||||
--background-accent: #ffffff; */
|
||||
|
||||
--background: #F5F5F5;
|
||||
--background: #abfff5;
|
||||
--card: #FFFFFF;
|
||||
--foreground: #1C1C1C;
|
||||
--primary-cta: #106EFB;
|
||||
|
||||
Reference in New Issue
Block a user