-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client-only table of contents + scaffold default theme
- Loading branch information
1 parent
062f83d
commit 4c96bea
Showing
10 changed files
with
4,581 additions
and
3,093 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
body { | ||
margin: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,19 @@ | ||
import { | ||
SolidBaseApp, | ||
SolidBaseLayout, | ||
SolidBaseProvider, | ||
} from "@kobalte/solidbase/client"; | ||
import { SolidBaseApp } from "@kobalte/solidbase/client"; | ||
import { Title } from "@solidjs/meta"; | ||
import { Router } from "@solidjs/router"; | ||
import { FileRoutes } from "@solidjs/start/router"; | ||
import { Suspense } from "solid-js"; | ||
|
||
import "./app.css"; | ||
|
||
export default function App() { | ||
return ( | ||
<SolidBaseApp | ||
layout={(props) => { | ||
return ( | ||
<> | ||
<Title>I am the captain now</Title> | ||
{props.children} | ||
</> | ||
); | ||
}} | ||
/> | ||
); | ||
return ( | ||
<SolidBaseApp | ||
// layout={(props) => { | ||
// return ( | ||
// <> | ||
// <Title>I am the captain now</Title> | ||
// {props.children} | ||
// </> | ||
// ); | ||
// }} | ||
/> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import type { ParentProps } from "solid-js"; | ||
|
||
export default function Header(props: ParentProps<{}>) { | ||
return ( | ||
<header> | ||
<p>Override</p> | ||
{props.children} | ||
</header> | ||
); | ||
return ( | ||
<header style={{ "border-bottom": "1px solid gray" }}> | ||
<p>Override</p> | ||
{props.children} | ||
</header> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.