From 753743cb06c1fd0a6d1a25bbdf2dd0207d04d6dc Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Fri, 3 Jan 2020 18:41:55 +0100 Subject: Add oboz site --- components/ObozWidget.vue | 46 ++++++++++++++++++++++++++++++++++++++++++++++ nuxt.config.js | 3 +++ pages/index.vue | 4 +++- pages/oboz/2020.vue | 36 ++++++++++++++++++++++++++++++++++++ static/assets/oboz.svg | 4 ++++ static/assets/oboz.webp | Bin 0 -> 268906 bytes 6 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 components/ObozWidget.vue create mode 100644 pages/oboz/2020.vue create mode 100644 static/assets/oboz.svg create mode 100644 static/assets/oboz.webp diff --git a/components/ObozWidget.vue b/components/ObozWidget.vue new file mode 100644 index 0000000..8e1037e --- /dev/null +++ b/components/ObozWidget.vue @@ -0,0 +1,46 @@ + + + + + diff --git a/nuxt.config.js b/nuxt.config.js index e5b3d4d..f454cac 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -4,6 +4,9 @@ const BASE_URL = process.env.DEPLOY_PRIME_URL || 'http://localhost:3000' export default { mode: 'universal', + server: { + host: '0.0.0.0' + }, /* ** Headers of the page */ diff --git a/pages/index.vue b/pages/index.vue index 045025d..8cf6327 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -5,6 +5,7 @@

Ostatnie wpisy z kroniki

+ @@ -13,11 +14,12 @@ import JoinUs from '~/components/JoinUs.vue' import FacebookFeed from '~/components/Facebook/FacebookFeed.vue' import PostList from '~/components/Posts/PostList' +import ObozWidget from '~/components/ObozWidget' import postListParentMixin from '~/components/Posts/PostList/parentMixin' export default { name: 'HomeView', - components: { JoinUs, FacebookFeed, PostList }, + components: { JoinUs, FacebookFeed, PostList, ObozWidget }, mixins: [postListParentMixin] } diff --git a/pages/oboz/2020.vue b/pages/oboz/2020.vue new file mode 100644 index 0000000..34764d1 --- /dev/null +++ b/pages/oboz/2020.vue @@ -0,0 +1,36 @@ +