Compare commits
5 commits
91015d72de
...
de35dbb953
| Author | SHA1 | Date | |
|---|---|---|---|
| de35dbb953 | |||
| 91ab13230d | |||
| 4aab1ef19c | |||
| 07efa29c17 | |||
| 45979258ba |
8 changed files with 43 additions and 11 deletions
8
fwt/components/Footer/Footer.sass
Normal file
8
fwt/components/Footer/Footer.sass
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
.footer
|
||||
padding: 1rem 0
|
||||
margin: 0 20rem
|
||||
position: fixed
|
||||
bottom: 0
|
||||
width: 100%
|
||||
font-size: 0.75rem
|
||||
opacity: 0.8
|
||||
13
fwt/components/Footer/Footer.tsx
Normal file
13
fwt/components/Footer/Footer.tsx
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import './Footer.sass'
|
||||
|
||||
interface Props {
|
||||
children: any
|
||||
}
|
||||
|
||||
export default (props: Props) => {
|
||||
return (
|
||||
<>
|
||||
<footer class="footer">{props.children}</footer>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
@ -1,13 +1,12 @@
|
|||
.page
|
||||
margin: 2rem
|
||||
height: auto
|
||||
min-height: 90vh
|
||||
|
||||
.column
|
||||
@extend .page
|
||||
display: flex
|
||||
flex-direction: column
|
||||
text-align: center
|
||||
justify-content: center
|
||||
align-items: center
|
||||
|
||||
.row
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import './Page.sass'
|
||||
import { Show, Switch, Match } from 'solid-js'
|
||||
import { Show } from 'solid-js'
|
||||
|
||||
interface Props {
|
||||
children?: any
|
||||
|
|
|
|||
BIN
fwt/images/pat-alcala.avif
Normal file
BIN
fwt/images/pat-alcala.avif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
BIN
fwt/images/pat-alcala.webp
Normal file
BIN
fwt/images/pat-alcala.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
|
|
@ -3,25 +3,37 @@ import Layout from '../layouts/Layout.astro'
|
|||
import Button from '../../fwt/components/Button/Button'
|
||||
import Logo from '../../fwt/components/Logo/Logo'
|
||||
import OptimizeLogo from '../../fwt/components/Optimizer/OptimizeLogo'
|
||||
import OptimizeImage from '../../fwt/components/Optimizer/OptimizeImage'
|
||||
import Link from '../../fwt/components/Link/Link'
|
||||
import Counter from '../components/Counter/Counter'
|
||||
import Page from '../../fwt/components/Page/Page'
|
||||
import Footer from '../../fwt/components/Footer/Footer'
|
||||
import Row from '../../fwt/components/Row/Row'
|
||||
import Image from '../../fwt/components/Image/Image'
|
||||
import PA1 from '../../fwt/images/pat-alcala.avif'
|
||||
import PA2 from '../../fwt/images/pat-alcala.webp'
|
||||
---
|
||||
|
||||
<Layout title="FWT">
|
||||
<Page alignment="column">
|
||||
<Link to="https://git.patalcala.com/patalcala9/fwt">
|
||||
<!-- <OptimizeLogo size={250} /> -->
|
||||
<Logo size={250} />
|
||||
</Link>
|
||||
|
||||
<h1>Fast WebApp Template</h1>
|
||||
<Counter client:load />
|
||||
<Button edges="rounded" label="Show Built-in Components" to="/next" />
|
||||
</Page>
|
||||
<Button edges="rounded" label="FWT Components" to="/next" />
|
||||
|
||||
<style lang="sass">
|
||||
h1
|
||||
color: #3377AC
|
||||
</style>
|
||||
<Footer>
|
||||
<Row content="right" gap={0.5}>
|
||||
<Image avif={PA1.src} webp={PA2.src} size={100} />
|
||||
<span>By: Pat Alcala</span>
|
||||
</Row>
|
||||
</Footer>
|
||||
|
||||
<style lang="sass">
|
||||
h1
|
||||
color: #3377AC
|
||||
</style>
|
||||
</Page>
|
||||
</Layout>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import Column from '../../fwt/components/Column/Column'
|
|||
|
||||
<Layout title="Home">
|
||||
<Page alignment="column">
|
||||
<h1>Built-in Components</h1>
|
||||
<h1>FWT Components</h1>
|
||||
<Button edges="rounded" label="Back to Home" to="/" />
|
||||
|
||||
<section class="image">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue