From bbdbb1aec1e1a2d3cca65e32b5263a111cc16a36 Mon Sep 17 00:00:00 2001 From: GauthierWebDev Date: Fri, 18 Apr 2025 15:40:00 +0200 Subject: [PATCH] feat: Add Footer component to DefaultLayout --- app/layouts/LayoutDefault.tsx | 43 ++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/app/layouts/LayoutDefault.tsx b/app/layouts/LayoutDefault.tsx index 3e97367..524772c 100644 --- a/app/layouts/LayoutDefault.tsx +++ b/app/layouts/LayoutDefault.tsx @@ -10,6 +10,7 @@ import { clientOnly } from "vike-react/clientOnly"; import React, { useEffect, useState } from "react"; import { Navigation } from "@syntax/Navigation"; import { Link } from "@/components/common/Link"; +import { navigation } from "@/lib/navigation"; import { reload } from "vike/client/router"; import { Hero } from "@syntax/Hero"; import { Logo } from "@syntax/Logo"; @@ -60,7 +61,9 @@ function Header() {
- Memento Dev + + Memento Dev +
@@ -213,6 +216,42 @@ function CookieModal() { ); } +function Footer() { + return ( + + ); +} + export default function DefaultLayout({ children }: { children: React.ReactNode }) { const { urlPathname, cookies } = usePageContext(); const isHomePage = urlPathname === "/"; @@ -237,6 +276,8 @@ export default function DefaultLayout({ children }: { children: React.ReactNode {children} + +