Improved footer component
This commit is contained in:
parent
0d05d12314
commit
bcdbcbd807
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue