Compare commits

...

2 commits

Author SHA1 Message Date
f1b8768b63 Used new location of components 2025-08-28 17:02:06 +08:00
f00098687c Fixed background image 2025-08-28 17:01:31 +08:00
5 changed files with 23 additions and 19 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 MiB

After

Width:  |  Height:  |  Size: 23 MiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 MiB

View file

@ -5,6 +5,7 @@ const websiteName = 'Template'
const websiteDescription = 'This is just a template.' const websiteDescription = 'This is just a template.'
import Background from '../templates/components/Background/Background' import Background from '../templates/components/Background/Background'
import OptimizeBackground from '../templates/components/Optimizer/OptimizeBackground'
--- ---
<html lang="en"> <html lang="en">
@ -18,16 +19,17 @@ import Background from '../templates/components/Background/Background'
</head> </head>
<body id="body"> <body id="body">
<Background image /> <!-- <OptimizeBackground /> -->
<Background color="#0c1b31" />
<slot /> <slot />
</body>
</html>
<style lang="sass"> <style lang="sass">
@use '/src/styles/variables.sass' as vars @use '/src/styles/variables.sass' as vars
@use '/src/styles/fonts.sass' as fonts @use '/src/styles/fonts.sass' as fonts
#body #body
font-family: fonts.$Inter font-family: fonts.$Inter
color: vars.$textColor color: vars.$textColor
</style> </style>
</body>
</html>

View file

@ -1,16 +1,18 @@
--- ---
import Layout from '../layouts/Layout.astro' import Layout from '../layouts/Layout.astro'
import Button from '../templates/Button/Button.tsx' import Button from '../templates/components/Button/Button'
import Image from '../templates/Image/Image' import Logo from '../templates/components/Logo/Logo'
import Link from '../templates/Link/Link' import OptimizeLogo from '../templates/components/Optimizer/OptimizeLogo'
import Counter from '../components/Counter/Counter.tsx' import Link from '../templates/components/Link/Link'
import Page from '../templates/Page/Page' import Counter from '../components/Counter/Counter'
import Page from '../templates/components/Page/Page'
--- ---
<Layout title="FWT"> <Layout title="FWT">
<Page alignment="column"> <Page alignment="column">
<Link to="https://git.patalcala.com/patalcala9/fwt"> <Link to="https://git.patalcala.com/patalcala9/fwt">
<Image src="fwt.png" size={250} /> <!-- <OptimizeLogo size={250} /> -->
<Logo size={250} />
</Link> </Link>
<h1>Fast WebApp Template</h1> <h1>Fast WebApp Template</h1>

View file

@ -1,8 +1,8 @@
--- ---
import Layout from '../layouts/Layout.astro' import Layout from '../layouts/Layout.astro'
import Button from '../templates/Button/Button.tsx' import Button from '../templates/components/Button/Button.tsx'
import Image from '../templates/Image/Image' import Image from '../templates/components/Image/Image'
import Page from '../templates/Page/Page' import Page from '../templates/components/Page/Page'
--- ---
<Layout title="Home"> <Layout title="Home">