Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1e549e2afa | |||
| fd134ba528 | |||
| 4f82e38fe0 | |||
| 16533d04ab | |||
| 12a8f844e3 | |||
| a1964182c6 | |||
| 2ada87636d |
@@ -1,14 +1,11 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import "./styles/variables.css";
|
import "./globals.css";
|
||||||
import "./styles/base.css";
|
|
||||||
|
|
||||||
const inter = Inter({
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
variable: "--font-inter", subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "PhloetiQ Custom Oils - Premium Fragrance Blending", description: "Craft your perfect fragrance with PhloetiQ Custom Oils. Luxury custom oil blending with 500+ unique blends."};
|
title: "PhloetiQ Custom Oils - Craft Your Perfect Fragrance", description: "Experience the art of custom oil blending. Handpicked by our master blenders and trusted by over 2,000 fragrance enthusiasts."};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
@@ -16,26 +13,8 @@ export default function RootLayout({
|
|||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en">
|
||||||
<body className={`${inter.variable}`}>
|
<body className={inter.className}>{children}
|
||||||
<script
|
|
||||||
dangerously-set-inner-html={{
|
|
||||||
__html: `
|
|
||||||
(function() {
|
|
||||||
try {
|
|
||||||
const vw = window.innerWidth * 0.01;
|
|
||||||
document.documentElement.style.setProperty('--vw', vw + 'px');
|
|
||||||
window.addEventListener('resize', () => {
|
|
||||||
const vw = window.innerWidth * 0.01;
|
|
||||||
document.documentElement.style.setProperty('--vw', vw + 'px');
|
|
||||||
});
|
|
||||||
} catch (e) {}
|
|
||||||
})();
|
|
||||||
`,
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ export default function LandingPage() {
|
|||||||
<div id="products" data-section="products">
|
<div id="products" data-section="products">
|
||||||
<ProductCardOne
|
<ProductCardOne
|
||||||
title="Our Signature Collection"
|
title="Our Signature Collection"
|
||||||
description="Hand-crafted custom oils inspired by the world's most beloved fragrances. Each blend is uniquely formulated to provide an exceptional olfactory experience."
|
description="Hand-crafted custom oils inspired by the world's most beloved fragrances. Handpicked by our master blenders and trusted by over 2,000 fragrance enthusiasts. Each blend is uniquely formulated to provide an exceptional olfactory experience."
|
||||||
tag="Limited Edition"
|
tag="Limited Edition"
|
||||||
tagIcon={Star}
|
tagIcon={Star}
|
||||||
tagAnimation="slide-up"
|
tagAnimation="slide-up"
|
||||||
@@ -173,4 +173,4 @@ export default function LandingPage() {
|
|||||||
</div>
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user