feat: Security CSRF Fix, Logout optimierung, Footer Anpassung, Rechtstexteanpassung
Docker Image bauen und veroeffentlichen / build-and-push (push) Failing after 1m33s
Docker Image bauen und veroeffentlichen / build-and-push (push) Failing after 1m33s
This commit is contained in:
1 parent
0753a3bc8a
commit
4d3100e9ba
28 files changed
+802
-121
No files matched your search
+3
-2
@@ -5,6 +5,7 @@ import { Header, Footer, CartDrawer } from "@/components/site-chrome";
|
||||
import { CookieConsentBanner } from "@/components/cookie-consent";
|
||||
import { siteConfig } from "@/lib/site-config";
|
||||
import { getCompanyInfo } from "@/lib/company-info";
|
||||
import { getSocialLinks } from "@/lib/social-links";
|
||||
import { getLocale } from "@/i18n/locale";
|
||||
import { getDictionary } from "@/i18n/get-dictionary";
|
||||
import { I18nProvider } from "@/i18n/i18n-provider";
|
||||
@@ -41,7 +42,7 @@ export async function generateMetadata(): Promise<Metadata> {
|
||||
export default async function RootLayout({ children }: LayoutProps<"/">) {
|
||||
const locale = await getLocale();
|
||||
const dict = getDictionary(locale);
|
||||
const company = await getCompanyInfo();
|
||||
const [company, socialLinks] = await Promise.all([getCompanyInfo(), getSocialLinks()]);
|
||||
|
||||
// LocalBusiness-Schema fuer die gesamte Seite (einmal im Root-Layout statt
|
||||
// auf jeder Seite einzeln) — hilft insbesondere bei lokaler Google-Suche
|
||||
@@ -105,7 +106,7 @@ export default async function RootLayout({ children }: LayoutProps<"/">) {
|
||||
<main id="main-content" className="flex-1">
|
||||
{children}
|
||||
</main>
|
||||
<Footer companyInfo={company} />
|
||||
<Footer companyInfo={company} socialLinks={socialLinks} />
|
||||
<CartDrawer />
|
||||
<CookieConsentBanner />
|
||||
</I18nProvider>
|
||||
|
||||
Reference in new issue
Block a user