diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-29 17:22:33 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-29 17:22:33 +0200 |
commit | bb766f402ba89d0abf2bc424e32e5338ddd2ebdc (patch) | |
tree | 7f687504dc2337b1fc65550a47f44af2d6470bda /src/components | |
parent | 6e60a0fbacc58b07bc6a0487458ae2af6914fe95 (diff) | |
download | puszcza-bb766f402ba89d0abf2bc424e32e5338ddd2ebdc.tar.gz puszcza-bb766f402ba89d0abf2bc424e32e5338ddd2ebdc.zip |
Fix layout
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/FacebookFeed.vue | 18 | ||||
-rw-r--r-- | src/components/Footer.vue | 2 | ||||
-rw-r--r-- | src/components/JoinUs.vue | 2 | ||||
-rw-r--r-- | src/components/NavBar.vue | 2 |
4 files changed, 4 insertions, 20 deletions
diff --git a/src/components/FacebookFeed.vue b/src/components/FacebookFeed.vue index e405270..9d2d251 100644 --- a/src/components/FacebookFeed.vue +++ b/src/components/FacebookFeed.vue @@ -1,6 +1,6 @@ <template> <section class="feed"> - <h1>Ostatnie wpisy</h1> + <h1>Zobacz co się dzieje!</h1> <FacebookFindUsButton /> </section> </template> @@ -14,22 +14,6 @@ export default { }, props: { pageId: String - }, - created() { - window.fbAsyncInit = function() { - FB.init({ - appId: "702203580219306", - autoLogAppEvents: true, - xfbml: true, - version: "v4.0" - }); - - FB.api(`/${this.pageId}/feed`, function(response) { - if (response && !response.error) { - console.log(response); - } - }); - }; } }; </script> diff --git a/src/components/Footer.vue b/src/components/Footer.vue index 8288667..1cdad44 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -49,7 +49,7 @@ export default { .footer { color: #ffffff; min-height: 175px; - width: 100vw; + width: 100%; display: flex; flex-direction: row; diff --git a/src/components/JoinUs.vue b/src/components/JoinUs.vue index 070e7f4..186be09 100644 --- a/src/components/JoinUs.vue +++ b/src/components/JoinUs.vue @@ -32,7 +32,7 @@ background-color: #340c0e; color: #ffffff; - max-width: 260px; + width: 260px; height: 85px; margin-bottom: 20px; diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 67df7e3..1f99a01 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -77,7 +77,7 @@ export default { color: #181818; box-sizing: border-box; - width: 100vw; + width: 100%; height: 80px; background: #ffffff; |