Add footer
This commit is contained in:
parent
a28c462a1e
commit
a481989348
|
|
@ -1,8 +1,14 @@
|
|||
<template>
|
||||
<div class="skillbox public">
|
||||
<logo class="public__logo"></logo>
|
||||
<router-view class="skillbox__content"></router-view>
|
||||
<footer class="skillbox__footer">Footer</footer>
|
||||
<div class="skillbox__header public__logo">
|
||||
<logo class=""></logo>
|
||||
</div>
|
||||
<router-view class="skillbox__content public__content"></router-view>
|
||||
<footer class="skillbox__footer public__footer footer">
|
||||
<div class="footer__content">
|
||||
Footer
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
@ -20,14 +26,41 @@ import Logo from '@/components/icons/Logo';
|
|||
@import "@/styles/_mixins.scss";
|
||||
@import "@/styles/_default-layout.scss";
|
||||
|
||||
.public {
|
||||
@mixin content-block {
|
||||
padding-right: $medium-spacing;
|
||||
padding-left: $medium-spacing;
|
||||
max-width: 800px;
|
||||
min-width: 320px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
|
||||
.public {
|
||||
grid-template-areas: "h" "c" "f";
|
||||
|
||||
&__logo {
|
||||
position: relative;
|
||||
left: -10px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&__content, &__logo {
|
||||
@include content-block();
|
||||
}
|
||||
|
||||
&__footer {
|
||||
background-color: $color-silver-light;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
padding-top: $large-spacing;
|
||||
|
||||
&__content {
|
||||
@include content-block();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue