feat: add SiteFooter component
This commit is contained in:
parent
b7167f30e7
commit
4370fbcd44
1 changed files with 22 additions and 0 deletions
22
src/components/SiteFooter.vue
Normal file
22
src/components/SiteFooter.vue
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
<template>
|
||||||
|
<footer class="footer">
|
||||||
|
<div class="footer__content">
|
||||||
|
<slot></slot>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.footer {
|
||||||
|
background-color: var(--color-header-bar);
|
||||||
|
margin: var(--navigation-cutout);
|
||||||
|
padding: 1px 0;
|
||||||
|
|
||||||
|
&__content {
|
||||||
|
text-align: center;
|
||||||
|
max-width: var(--textblock-max-width);
|
||||||
|
margin: auto;
|
||||||
|
padding: var(--textblock-padding);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Add table
Add a link
Reference in a new issue