This commit is contained in:
Your Name committed 2026-06-20 23:51:57 -04:00
1 parent 74b9670c79
commit 73590e06c4
37 files changed
+964 -709

No files matched your search

+2 -10
View File
@@ -1,5 +1,4 @@
import type { Metadata } from 'next';
import { Sarabun } from 'next/font/google';
import { notFound } from 'next/navigation';
import '../globals.css';
import Navbar from '@/components/Navbar';
@@ -10,13 +9,6 @@ import type { MegaMenuPayload } from '@/components/navigation/menuTypes';
import type { MenuItem, StoreSettings } from '@homaroma/types';
import { isSupportedLocale } from '@/lib/locales';
const sarabun = Sarabun({
subsets: ['thai', 'latin'],
weight: ['300', '400', '500', '600', '700', '800'],
display: 'swap',
variable: '--font-sarabun',
});
export const metadata: Metadata = {
title: 'HomAroma',
description: 'Pure Origins, Artisan Craft, Zero Compromise',
@@ -104,8 +96,8 @@ export default async function RootLayout({
]);
return (
<html lang={lang} className={`${lang === 'th' ? sarabun.variable : ''} scroll-smooth`}>
<body className="min-h-screen bg-pop-bg text-pop-black font-sans antialiased">
<html lang={lang} className="scroll-smooth">
<body className="min-h-screen bg-surface-page text-text-main font-sans antialiased">
<ClientProviders>
<Navbar categories={categories} initialMenu={initialMenu} settings={settings} />
<main className="global-main">