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.'
import Background from '../templates/components/Background/Background'
import OptimizeBackground from '../templates/components/Optimizer/OptimizeBackground'
---
<html lang="en">
@ -18,16 +19,17 @@ import Background from '../templates/components/Background/Background'
</head>
<body id="body">
<Background image />
<!-- <OptimizeBackground /> -->
<Background color="#0c1b31" />
<slot />
<style lang="sass">
@use '/src/styles/variables.sass' as vars
@use '/src/styles/fonts.sass' as fonts
#body
font-family: fonts.$Inter
color: vars.$textColor
</style>
</body>
</html>
<style lang="sass">
@use '/src/styles/variables.sass' as vars
@use '/src/styles/fonts.sass' as fonts
#body
font-family: fonts.$Inter
color: vars.$textColor
</style>

View file

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

View file

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