fix
CI / quality (push) Canceled after 0s

This commit is contained in:
MOH
2026-09-20 20:04:48 +02:00
parent 10600b48c4
commit 31dc72b1c8
+1 -12
View File
@@ -3,7 +3,6 @@ import { unstable_noStore as noStore } from "next/cache";
import { getLocale } from "next-intl/server"; import { getLocale } from "next-intl/server";
import { redirect } from "next/navigation"; import { redirect } from "next/navigation";
import { FloatingAdminButton } from "@/components/layout/floating-admin-button";
import { SiteAmbientBackdrop } from "@/components/layout/site-ambient-backdrop"; import { SiteAmbientBackdrop } from "@/components/layout/site-ambient-backdrop";
import { PageTransition } from "@/components/layout/page-transition"; import { PageTransition } from "@/components/layout/page-transition";
import { SiteDock } from "@/components/layout/site-dock"; import { SiteDock } from "@/components/layout/site-dock";
@@ -31,7 +30,7 @@ export default async function SiteLayout({ children, params }: SiteLayoutProps)
getSiteSettings(), getSiteSettings(),
]); ]);
const localeKey = resolveLocale(await getLocale().catch(() => siteSettings.defaultLocale), siteSettings.defaultLocale); const localeKey = resolveLocale(await getLocale().catch(() => siteSettings.defaultLocale), siteSettings.defaultLocale);
// Server-side decision only. The header receives just this boolean and uses // Server-side decision only. The dock receives just this boolean and uses
// it purely to show/hide the Admin shortcut link — it grants no access by // it purely to show/hide the Admin shortcut link — it grants no access by
// itself. Every admin page/action re-checks the session independently, so // itself. Every admin page/action re-checks the session independently, so
// this value is not a security boundary, only a UI convenience. // this value is not a security boundary, only a UI convenience.
@@ -45,17 +44,7 @@ export default async function SiteLayout({ children, params }: SiteLayoutProps)
<> <>
<ScrollSmootherProvider /> <ScrollSmootherProvider />
<SiteAmbientBackdrop /> <SiteAmbientBackdrop />
<<<<<<< HEAD
<SiteDock defaultLocale={siteSettings.defaultLocale} isSuperAdmin={authenticated} /> <SiteDock defaultLocale={siteSettings.defaultLocale} isSuperAdmin={authenticated} />
=======
<SiteHeader
lightLogoUrl={mediaBindings.siteLogoLight?.url}
darkLogoUrl={mediaBindings.siteLogoDark?.url}
defaultLocale={siteSettings.defaultLocale}
isSuperAdmin={authenticated}
/>
<FloatingAdminButton />
>>>>>>> 9fabf17 (update)
<div id="smooth-wrapper"> <div id="smooth-wrapper">
<div id="smooth-content"> <div id="smooth-content">
<div className="site-content-frame flex min-h-screen flex-col"> <div className="site-content-frame flex min-h-screen flex-col">