Footer gets link to github repo & mailto address.

This commit is contained in:
2021-01-02 13:37:07 +01:00
parent f115ee79e6
commit 342651a90c
2 changed files with 68 additions and 3 deletions

View File

@@ -1,5 +1,20 @@
<template>
<footer>
<ul>
<li>
<a href="https://github.com/KevinMidboe/vinlottis" class="github">
<span>Open-sourced at github</span>
<img src="/public/assets/images/logo-github.png" alt="github logo">
</a>
</li>
<li>
<a href="mailto:questions@vinlottis.no" class="mail">
<span class="vin-link">questions@vinlottis.no</span>
</a>
</li>
</ul>
<router-link to="/" class="company-logo">
<img src="/public/assets/images/knowit.svg" alt="knowit logo">
</router-link>
@@ -13,20 +28,70 @@ export default {
</script>
<style lang="scss" scoped>
@import "../styles/variables.scss";
@import "../styles/media-queries.scss";
footer {
width: 100%;
height: 100px;
display: flex;
justify-content: flex-end;
justify-content: space-between;
align-items: center;
background: #f4f4f4;
ul {
list-style-type: none;
padding: 0;
margin-left: 5rem;
li:not(:first-of-type) {
margin-top: 0.75rem;
}
}
a {
color: $matte-text-color;
}
.github {
display: flex;
align-items: center;
img {
margin-left: 0.5rem;
height: 30px;
}
}
.mail {
display: flex;
align-items: center;
img {
margin-left: 0.5rem;
height: 23px;
}
}
.company-logo{
padding: 0 5em 0 0;
img{
margin-right: 5em;
img {
width: 100px;
}
}
@include mobile {
$margin: 1rem;
ul {
margin-left: $margin;
}
.company-logo {
margin-right: $margin;
}
}
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB