mirror of
https://github.com/KevinMidboe/planetposen.git
synced 2025-10-29 17:50:32 +00:00
New contact page.
This commit is contained in:
93
frontend/components/Contact.vue
Normal file
93
frontend/components/Contact.vue
Normal 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 på? 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 på 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>
|
||||||
@@ -29,6 +29,11 @@ let routes = [
|
|||||||
path: '/shop',
|
path: '/shop',
|
||||||
component: (resolve) => require(['./components/Shop.vue'], resolve)
|
component: (resolve) => require(['./components/Shop.vue'], resolve)
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'Contact',
|
||||||
|
path: '/contact',
|
||||||
|
component: (resolve) => require(['./components/Contact.vue'], resolve)
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'admin',
|
name: 'admin',
|
||||||
path: '/admin',
|
path: '/admin',
|
||||||
|
|||||||
Reference in New Issue
Block a user