Improved footer component

This commit is contained in:
Patrick Alvin Alcala 2025-09-02 14:35:18 +08:00
parent 0d05d12314
commit bcdbcbd807
2 changed files with 4 additions and 2 deletions

View file

@ -4,5 +4,4 @@
position: fixed position: fixed
bottom: 0 bottom: 0
width: 100% width: 100%
font-size: 0.75rem
opacity: 0.8 opacity: 0.8

View file

@ -1,5 +1,6 @@
import './Footer.sass' import './Footer.sass'
import type { JSXElement } from 'solid-js' import type { JSXElement } from 'solid-js'
import Row from '../Row/Row'
interface Props { interface Props {
children: JSXElement children: JSXElement
@ -8,7 +9,9 @@ interface Props {
export default (props: Props) => { export default (props: Props) => {
return ( return (
<> <>
<footer class="footer">{props.children}</footer> <footer class="footer">
<small>{props.children}</small>
</footer>
</> </>
) )
} }