import type { ReactNode } from "react" import { Link, useLocation } from "react-router-dom" import logoSrc from "../../assets/logo.svg" interface InfoLayoutProps { title: string subtitle: string children: ReactNode lastUpdated?: string } const footerLinks = [ { to: "/about", label: "About" }, { to: "/terms", label: "Terms and Conditions" }, { to: "/privacy", label: "Privacy Policy" }, { to: "/account-deletion", label: "Account Deletion" }, ] export function InfoLayout({ title, subtitle, children, lastUpdated = "March 11, 2026", }: InfoLayoutProps) { const location = useLocation() return (
Yimaru Academy

Yimaru Academy

{title}

Last Updated: {lastUpdated}

{subtitle}

{children}
) }