diff options
-rw-r--r-- | src/components/FacebookFeed.vue | 15 | ||||
-rw-r--r-- | src/views/HomeView.vue | 11 |
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 |