Footer gets link to github repo & mailto address.
This commit is contained in:
@@ -1,5 +1,20 @@
|
|||||||
<template>
|
<template>
|
||||||
<footer>
|
<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">
|
<router-link to="/" class="company-logo">
|
||||||
<img src="/public/assets/images/knowit.svg" alt="knowit logo">
|
<img src="/public/assets/images/knowit.svg" alt="knowit logo">
|
||||||
</router-link>
|
</router-link>
|
||||||
@@ -13,20 +28,70 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
@import "../styles/variables.scss";
|
||||||
|
@import "../styles/media-queries.scss";
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: #f4f4f4;
|
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{
|
.company-logo{
|
||||||
padding: 0 5em 0 0;
|
margin-right: 5em;
|
||||||
img{
|
|
||||||
|
img {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@include mobile {
|
||||||
|
$margin: 1rem;
|
||||||
|
ul {
|
||||||
|
margin-left: $margin;
|
||||||
|
}
|
||||||
|
|
||||||
|
.company-logo {
|
||||||
|
margin-right: $margin;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
BIN
public/assets/images/logo-github.png
Normal file
BIN
public/assets/images/logo-github.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
Reference in New Issue
Block a user