about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-29 10:37:46 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-29 10:37:46 +0200
commit50fb2b5b7be05e9b3716c7d1f190219fb5155bc7 (patch)
treeb9c4740d8990717b7f58039b63a5ce6490ee3ee2 /src
parentcbc2a0152e006aa9d2b4e3461b88cf4822acf003 (diff)
downloadpuszcza-50fb2b5b7be05e9b3716c7d1f190219fb5155bc7.tar.gz
puszcza-50fb2b5b7be05e9b3716c7d1f190219fb5155bc7.zip
Add facebookfeed
Diffstat (limited to 'src')
-rw-r--r--src/components/FacebookFeed.vue15
-rw-r--r--src/views/HomeView.vue11
2 files changed, 22 insertions, 4 deletions
diff --git a/src/components/FacebookFeed.vue b/src/components/FacebookFeed.vue
new file mode 100644
index 0000000..7abf93f
--- /dev/null
+++ b/src/components/FacebookFeed.vue
@@ -0,0 +1,15 @@
+<template>
+  <section>
+    <h1>Ostatnie wpisy</h1>
+  </section>
+</template>
+
+<script>
+export default {
+  mounted() {
+    fetch(
+      `http://fetchrss.com/rss/5d6675308a93f8773c8b45685d66750d8a93f8bb388b4567.xml`
+    ).then(console.log);
+  }
+};
+</script>
\ No newline at end of file
diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue
index 1b73240..736e7f4 100644
--- a/src/views/HomeView.vue
+++ b/src/views/HomeView.vue
@@ -1,13 +1,16 @@
 <template>
   <div>
-    <h1>19 PDH Puszcza</h1>
-    <img alt="Work in progress" src="assets/wip.png" />
-    <h3>Strona w trakcie budowy</h3>
+    <JoinUs />
+    <FacebookFeed />
   </div>
 </template>
 
 <script>
+import JoinUs from "../components/JoinUs.vue";
+import FacebookFeed from "../components/FacebookFeed.vue";
+
 export default {
-  name: "HomeView"
+  name: "HomeView",
+  components: { JoinUs, FacebookFeed }
 };
 </script>
\ No newline at end of file