New contact page.

This commit is contained in:
2020-07-21 13:19:48 +02:00
parent 723b7be5c8
commit 290e49fe26
2 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,93 @@
<template>
<main role="main">
<div class="banner blue-background">
<div class="banner-content top-show col-wrap max-width">
<h1>Kontakt oss</h1>
<p class="margin-top--md">Har du noen problemer eller noe du lurer ? Ta kontakt under!</p>
</div>
</div>
<section class="contact max-width col-wrap">
<div class="container-info col-6">
<h3 class="margin-bottom--sm">Kontaktinfo</h3>
<div class="text-container accent--lg">
<p>
Epost:
<br>
kevin.midboe@gmail.com
</p>
<p>
Telefon:
<br>
93 40 46 42
</p>
</div>
</div>
<div class="container-social col-6">
<h3 class="margin-bottom--sm">Følg oss sosiale medier</h3>
<ul>
<li>Email: kevin.midboe@gmail.com</li>
<li>Address: Schleppegrells gate 18</li>
</ul>
</div>
</section>
</main>
</template>
<script>
export default {
}
</script>
<style lang="scss" scoped>
@import 'frontend/styles/variables';
@import 'frontend/styles/spacing';
#content {
overflow: hidden;
width: 100vw;
}
.banner {
height: 100%;
width: 100%;
&.blue-background {
background-color: var(--color-background-blue);
color: black;
}
&-content {
display: flex;
flex-direction: column;
align-items: center;
padding-top: var(--space-xxxxl);
p {
font-size: var(--text-md);
}
@include mobile {
flex-direction: column-reverse;
}
}
}
section.contact {
margin: 6rem auto 0 auto;
}
img {
padding-top: 1.5rem;
@include mobile {
display: block;
margin: auto;
width: 80%;
}
}
</style>

View File

@@ -29,6 +29,11 @@ let routes = [
path: '/shop',
component: (resolve) => require(['./components/Shop.vue'], resolve)
},
{
name: 'Contact',
path: '/contact',
component: (resolve) => require(['./components/Contact.vue'], resolve)
},
{
name: 'admin',
path: '/admin',