Introduced generated stateE15Enum and stateFdaEnum TypeScript types for both private and public API models. Updated HomeLayout to use a new CSS module for layout styling, and adjusted navbar centering logic. Commented out reset.css in index.html and made minor CSS cleanups.
22 lines
524 B
TypeScript
22 lines
524 B
TypeScript
import Footer from "../components/Footer/footer";
|
|
import { Outlet } from "react-router";
|
|
import SiteNav, { type User } from "../components/navbar/SiteNav";
|
|
|
|
|
|
const userexists: User = {
|
|
username: "Bruno",
|
|
email: "",
|
|
avatarUrl: "",
|
|
};
|
|
|
|
import styles from "./HomeLayout.module.css";
|
|
|
|
export default function HomeLayout(){
|
|
return(
|
|
<div className={styles.root}>
|
|
<SiteNav user={userexists} onLogin={() => {}} onLogout={() => {}} />
|
|
<Outlet />
|
|
<Footer />
|
|
</div>
|
|
)
|
|
} |