Re-organized files

This commit is contained in:
Patrick Alvin Alcala 2025-09-15 10:43:56 +08:00
parent ea7be8fb39
commit 621faea4c2
53 changed files with 1434 additions and 1059 deletions

20
fwt/components/Page.tsx Normal file
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={props.alignment}>{props.children}</main>
</Show>
<Show when={!props.alignment}>
<main class="page">{props.children}</main>
</Show>
</>
)
}