Initial commit

This commit is contained in:
Patrick Alvin Alcala 2026-02-11 18:33:42 +08:00
commit 7628b18255
94 changed files with 6386 additions and 0 deletions

View file

@ -0,0 +1,20 @@
import '../styles/Page.sass'
import { Show } from 'solid-js'
interface Props {
children?: any
alignment?: 'row' | 'column'
}
export default (props: Props) => {
return (
<>
<Show when={props.alignment}>
<main class={`dasig-page-${props.alignment}`}>{props.children}</main>
</Show>
<Show when={!props.alignment}>
<main class="dasig-page">{props.children}</main>
</Show>
</>
)
}