Added fwt components
This commit is contained in:
parent
b7409d1c13
commit
b2cbd947c5
30 changed files with 852 additions and 0 deletions
7
fwt/components/Footer/Footer.sass
Normal file
7
fwt/components/Footer/Footer.sass
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
.footer
|
||||
padding: 1rem 0
|
||||
margin: 0 2rem
|
||||
position: fixed
|
||||
bottom: 0
|
||||
width: 100%
|
||||
opacity: 0.8
|
||||
16
fwt/components/Footer/Footer.tsx
Normal file
16
fwt/components/Footer/Footer.tsx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import './Footer.sass'
|
||||
import type { JSXElement } from 'solid-js'
|
||||
|
||||
interface Props {
|
||||
children: JSXElement
|
||||
}
|
||||
|
||||
export default (props: Props) => {
|
||||
return (
|
||||
<>
|
||||
<footer class="footer">
|
||||
<small>{props.children}</small>
|
||||
</footer>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue