update user page and logo to be link also update profile page

This commit is contained in:
m7amedez5511
2026-08-17 16:24:58 +03:00
parent 17dc53fcfe
commit 55b03ad6f4
12 changed files with 453 additions and 211 deletions

View File

@@ -2,6 +2,7 @@ import type { Metadata } from "next";
import "@tabler/icons-webfont/dist/tabler-icons.min.css";
import "./globals.css";
import ConditionalNavbar from "./components/layout/ConditionalNavbar";
import { ExtensionAttributeCleanup } from "./components/system/ExtensionAttributeCleanup"; // CHANGE: added — fixes hydration mismatch caused by browser extensions
import { Footer } from "./components/layout";
@@ -19,6 +20,9 @@ export default function RootLayout({
// ⚠️ اتصلح: الـ Navbar والـ footer كانوا برة <html>/<body> وده HTML غير صالح
<html lang="ar" dir="rtl">
<body className="app-shell" suppressHydrationWarning>
{/* CHANGE: mounted globally so every route (not just the dashboard
form pages) gets protected from extension-injected attributes */}
<ExtensionAttributeCleanup />
{/* الناف بار بيظهر بس لو مفيش يوزر مسجل دخول */}
<ConditionalNavbar />
{children}