about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-28 23:01:41 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-28 23:01:41 +0200
commit6dfaa8790c86ef1d03bbfc648dce99ab33bc2942 (patch)
treeeddd29e00796a49fa9c6449a6fe9630316f4a10d
parentaf06d79ac92460ae1a924a7e1d72f5c376c61663 (diff)
downloadpuszcza-6dfaa8790c86ef1d03bbfc648dce99ab33bc2942.tar.gz
puszcza-6dfaa8790c86ef1d03bbfc648dce99ab33bc2942.zip
Add social to footer
-rw-r--r--public/assets/social/facebook.pngbin0 -> 1847 bytes
-rw-r--r--public/assets/social/github.pngbin0 -> 2330 bytes
-rw-r--r--src/components/Footer.vue35
3 files changed, 32 insertions, 3 deletions
diff --git a/public/assets/social/facebook.png b/public/assets/social/facebook.png
new file mode 100644
index 0000000..d21a493
--- /dev/null
+++ b/public/assets/social/facebook.png
Binary files differdiff --git a/public/assets/social/github.png b/public/assets/social/github.png
new file mode 100644
index 0000000..73db1f6
--- /dev/null
+++ b/public/assets/social/github.png
Binary files differdiff --git a/src/components/Footer.vue b/src/components/Footer.vue
index 3cf81a5..693f8c2 100644
--- a/src/components/Footer.vue
+++ b/src/components/Footer.vue
@@ -13,7 +13,17 @@
       </div>
     </div>
     <div class="space"></div>
-    <div>19 Poznańska Drużyna Harcerzy Puszcza</div>
+    <div class="author">
+      <p>19 Poznańska Drużyna Harcerzy Puszcza</p>
+      <div class="social">
+        <a href="https://github.com/19pdh/" target="_blank" rel="”noopener”">
+          <img class="icon" src="/assets/social/github.png" alt="Github" />
+        </a>
+        <a href="https://www.facebook.com/19pdhpuszcza/" target="_blank" rel="”noopener”">
+          <img class="icon" src="/assets/social/facebook.png" alt="Facebook" />
+        </a>
+      </div>
+    </div>
   </div>
 </template>
 
@@ -30,7 +40,7 @@ export default {
 .footer {
   background-color: #507b34;
   color: #ffffff;
-  height: 175px;
+  min-height: 175px;
 
   display: flex;
   flex-direction: row;
@@ -38,7 +48,7 @@ export default {
   align-items: center;
   justify-content: center;
 
-  padding: 0 15vw 0 15vw;
+  padding: 0 15vw;
 }
 
 .map {
@@ -61,6 +71,13 @@ export default {
   flex-direction: column;
 }
 
+.icon {
+  width: 30px;
+  height: 30px;
+
+  margin: 0 5px;
+}
+
 .space {
   flex: 1;
   max-width: 500px;
@@ -76,6 +93,18 @@ export default {
 
   .map {
     text-align: center;
+    margin-bottom: 10px;
+  }
+
+  .space {
+    height: 1px;
+    width: 100%;
+    flex: none;
+    background-color: #ffffff;
+  }
+
+  .author {
+    margin-top: 10px;
   }
 }
 </style>
\ No newline at end of file