fix(confidence-engine): correct legal footer layout

This commit is contained in:
2026-09-10 06:40:30 +01:00
parent 27ded883e5
commit b9d49ff277
6 changed files with 18 additions and 8 deletions
+1 -5
View File
@@ -1,10 +1,9 @@
import React from "react";
import Link from "next/link";
import LegalNavigation from "@/components/legal-navigation";
export default function LegalPageLayout({ title, children }) {
return (
<main className="mx-auto min-h-[calc(100vh-57px)] max-w-3xl px-6 py-12 sm:py-16">
<main className="mx-auto max-w-3xl px-6 py-12 sm:py-16">
<Link href="/login" className="text-sm font-medium text-teal-700 hover:underline">
Back to sign in
</Link>
@@ -14,9 +13,6 @@ export default function LegalPageLayout({ title, children }) {
{children}
</div>
</article>
<footer className="mt-8 border-t border-gray-200 pt-5">
<LegalNavigation />
</footer>
</main>
);
}
+1
View File
@@ -1,5 +1,6 @@
"use client";
import React from "react";
import { useEffect, useState } from "react";
import {
readThemePreference,