diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-30 10:08:13 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-30 10:08:13 +0200 |
commit | 768b047e89f419deca3ddd00af7cb75209de97b6 (patch) | |
tree | 2e94259cc97a4370897278b6845ce5a7ddf31629 /components/JoinUs.vue | |
parent | cef8ab49453e4ce8a2e19de4e27862b059f7d9d9 (diff) | |
download | puszcza-768b047e89f419deca3ddd00af7cb75209de97b6.tar.gz puszcza-768b047e89f419deca3ddd00af7cb75209de97b6.zip |
Move to nuxtjs
Diffstat (limited to 'components/JoinUs.vue')
-rw-r--r-- | components/JoinUs.vue | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/components/JoinUs.vue b/components/JoinUs.vue new file mode 100644 index 0000000..f534d22 --- /dev/null +++ b/components/JoinUs.vue @@ -0,0 +1,73 @@ +<template> + <section class="joinus"> + <div class="heading"> + <div class="title"> + <div class="text">Rozpocznij swoją harcerską przygodę!</div> + </div> + <div class="button"> + <router-link to="/kontakt">Dołącz do nas!</router-link> + </div> + </div> + </section> +</template> + +<style scoped> +.joinus { + width: 100%; + + padding: 80px 20%; + + background: #dddddd; + + display: flex; + flex-direction: row; + justify-content: center; +} + +.heading { + width: 900px; + padding: 100px 0; + + display: flex; + flex-direction: column; +} + +.title { + background-color: #340c0e; + color: #ffffff; + + width: 260px; + height: 85px; + margin-bottom: 20px; + + text-align: left; +} + +.title .text { + margin: 0; + padding: 10px; + font-size: 24px; +} + +.button { + background-color: #507b34; + padding: 10px; + max-width: 150px; +} + +.button a { + color: #ffffff; + text-decoration: none; +} + +@media (max-width: 500px) { + .heading { + margin: 0; + align-items: center; + } + + .joinus { + padding: 80px 20px; + } +} +</style> \ No newline at end of file |