did some work on the user session and components
This commit is contained in:
parent
33dc08bb82
commit
350c767a13
11 changed files with 172 additions and 60 deletions
|
@ -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}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue