Compare commits

...

4 commits

Author SHA1 Message Date
de74de8b0a HTML to JSX 2025-09-02 12:09:08 +08:00
a59a1c4fc4 Cleanup 2025-09-02 12:08:59 +08:00
c8b2c67ad6 Default to idle 2025-09-02 12:08:50 +08:00
5507a4ff39 Added build asset 2025-09-02 12:08:34 +08:00
4 changed files with 6 additions and 3 deletions

View file

@ -11,4 +11,7 @@ export default defineConfig({
transformer: 'lightningcss', transformer: 'lightningcss',
}, },
}, },
build: {
assets: '_fwt',
},
}) })

View file

@ -1,10 +1,11 @@
import './HTML.sass' import './HTML.sass'
import type { JSXElement } from 'solid-js'
interface Props { interface Props {
title: string title: string
name: string name: string
description: string description: string
children: HTMLElement children: JSXElement
font?: string font?: string
} }

View file

@ -21,7 +21,7 @@ import PA2 from '../../fwt/images/pat-alcala.webp'
</Link> </Link>
<h1>Fast WebApp Template</h1> <h1>Fast WebApp Template</h1>
<Counter client:load /> <Counter client:idle />
<Button edges="rounded" label="FWT Components" to="/next" /> <Button edges="rounded" label="FWT Components" to="/next" />
<Footer> <Footer>

View file

@ -16,7 +16,6 @@ import Column from '../../fwt/components/Column/Column'
<Button edges="rounded" label="Back to Home" to="/" /> <Button edges="rounded" label="Back to Home" to="/" />
<section class="image"> <section class="image">
<!-- <OptimizeImage src="batman.png" size={400} /> -->
<Row content="center" gap={1}> <Row content="center" gap={1}>
<Image avif={sample1.src} webp={sample2.src} alt="Example Image" size={400} /> <Image avif={sample1.src} webp={sample2.src} alt="Example Image" size={400} />
<Image avif={sample1.src} webp={sample2.src} alt="Example Image" size={400} /> <Image avif={sample1.src} webp={sample2.src} alt="Example Image" size={400} />