did some work on the user session and components

This commit is contained in:
Chris Kruining 2025-04-14 23:28:03 +02:00
parent 33dc08bb82
commit 350c767a13
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg
11 changed files with 172 additions and 60 deletions

View file

@ -2,11 +2,16 @@ import { ParentComponent } from "solid-js";
import { Top } from "./top";
import { Nav } from "./nav";
import css from "./shell.module.css";
import { User } from "../user";
export const Shell: ParentComponent = (props) => {
interface ShellProps {
user: User | undefined;
}
export const Shell: ParentComponent<ShellProps> = (props) => {
return (
<main class={css.container}>
<Top />
<Top user={props.user} />
<Nav />
<div class={css.body}>