batchCooking/apps/web/src/pages/HouseholdPage.tsx
Nicolas c07f8ad82e Web: wire AppLayout into routing + stub section pages (step 3/5)
- App.tsx: every authenticated route now nests under one
  RequireAuth + AppLayout parent route (react-router nested
  routes/<Outlet />) instead of each page wrapping its own guard.
- New routes/pages: /recettes, /liste-de-courses, /foyer, each a thin
  wrapper around a shared ComingSoonPage ("cette section arrive
  bientôt.") — no backend behind them yet, matches the "pages stub
  dédiées" choice discussed in chat.
- locales/fr/translation.json: nav labels + stub copy.

HomePage still shows its own greeting/logout card here (unchanged,
now nested inside AppLayout's <Outlet /> — briefly duplicating the
sidebar's greeting/logout) — replaced by the actual planning view in
the next commit.
2026-08-16 21:04:51 +02:00

8 lines
369 B
TypeScript

import { useTranslation } from "react-i18next";
import { ComingSoonPage } from "./ComingSoonPage";
/** Household & profile section — routed at `/foyer`. No backend yet beyond auth, stub for now. */
export function HouseholdPage() {
const { t } = useTranslation();
return <ComingSoonPage title={t("household.title")} description={t("household.comingSoon")} />;
}