From 431b1206fe304545512be83c05558c7b72ac68fc Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 3 Mar 2026 19:35:09 +0000 Subject: [PATCH 1/5] Update src/app/layout.tsx --- src/app/layout.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index a13bbe0..d113c3e 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,12 +1,13 @@ import type { Metadata } from "next"; import { Inter } from "next/font/google"; +import "./styles/base.css"; +import "./styles/variables.css"; import "./globals.css"; const inter = Inter({ subsets: ["latin"] }); export const metadata: Metadata = { - title: "مطعم النجمه والهلال", description: "أفضل تجربة إفطار مصري أصيل. مفتوح 24 ساعة" -}; + title: "مطعم النجمه والهلال", description: "أفضل مطعم للإفطار المصري الأصيل مفتوح 24 ساعة"}; export default function RootLayout({ children, -- 2.49.1 From c508a50281f40e6d8cb7dcb8fdbd08e9d0ff67b9 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 3 Mar 2026 19:43:59 +0000 Subject: [PATCH 2/5] Update src/app/layout.tsx --- src/app/layout.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index d113c3e..0071906 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -7,7 +7,8 @@ import "./globals.css"; const inter = Inter({ subsets: ["latin"] }); export const metadata: Metadata = { - title: "مطعم النجمه والهلال", description: "أفضل مطعم للإفطار المصري الأصيل مفتوح 24 ساعة"}; + title: "مطعم النجمه والهلال", description: "أفضل مطعم للإفطار المصري الأصيل مفتوح 24 ساعة" +}; export default function RootLayout({ children, -- 2.49.1 From 8cbd2f33addc042952ac0fc11c558866ba14e163 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 3 Mar 2026 19:46:19 +0000 Subject: [PATCH 3/5] Update src/app/globals.css --- src/app/globals.css | 89 +++++++++++---------------------------------- 1 file changed, 21 insertions(+), 68 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index f47d0d7..5b78112 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -1,23 +1,26 @@ -@import url("./styles/base.css"); -@import url("./styles/variables.css"); +@tailwind base; +@tailwind components; +@tailwind utilities; + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +html { + scroll-behavior: smooth; +} + +body { + background-color: var(--background); + color: var(--foreground); + transition: background-color 0.3s ease, color 0.3s ease; +} @layer base { - * { - @apply m-0 p-0 box-border; - } - - html { - scroll-behavior: smooth; - } - body { - background-color: var(--background); - color: var(--foreground); - font-size: clamp(0.69rem, 0.92vw, 0.92rem); - line-height: 1.6; - font-weight: 400; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; + font-family: var(--font-inter), sans-serif; } h1, @@ -26,56 +29,6 @@ h4, h5, h6 { - line-height: 1.2; - font-weight: 400; - } - - button, - input, - textarea, - select { - font: inherit; - color: inherit; - } - - img, - picture, - video, - canvas, - svg { - @apply block max-w-full; - } -} - -@layer components { - .text-animation { - @apply overflow-hidden; - } - - .words-trigger { - @apply inline-block overflow-hidden; - } - - .word { - @apply inline-block; - } -} - -@keyframes aurora { - 0% { - background-position: 0% center; - } - 100% { - background-position: 200% center; - } -} - -@keyframes float { - 0%, - 100% { - transform: translateY(0px); - } - 50% { - transform: translateY(-20px); + font-family: var(--font-inter), sans-serif; } } -- 2.49.1 From ac003204b8a8f257637a13ef358db632944e063e Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 3 Mar 2026 19:46:20 +0000 Subject: [PATCH 4/5] Update src/app/layout.tsx --- src/app/layout.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 0071906..5465452 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,14 +1,14 @@ import type { Metadata } from "next"; import { Inter } from "next/font/google"; -import "./styles/base.css"; import "./styles/variables.css"; import "./globals.css"; -const inter = Inter({ subsets: ["latin"] }); +const inter = Inter({ + variable: "--font-inter", subsets: ["latin"], +}); export const metadata: Metadata = { - title: "مطعم النجمه والهلال", description: "أفضل مطعم للإفطار المصري الأصيل مفتوح 24 ساعة" -}; + title: "مطعم النجمه والهلال", description: "أفضل تجربة إفطار مصري أصيل. مفتوح 24 ساعة"}; export default function RootLayout({ children, @@ -17,7 +17,7 @@ export default function RootLayout({ }) { return ( - {children} + {children}