From 737883fec5571448b6831919fb4e99e376cba53e Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 25 Jan 2020 23:27:41 +0100 Subject: Add Camp story --- components/Posts/EmptyCampStory.vue | 19 ++++++++ components/TheHeader.vue | 18 ++++---- pages/oboz/2020.vue | 90 +++++++++++++++++++++++++++++++++++-- static/_headers | 1 + static/assets/tomahawk.svg | 31 +++++++++++++ 5 files changed, 148 insertions(+), 11 deletions(-) create mode 100644 components/Posts/EmptyCampStory.vue create mode 100644 static/_headers create mode 100644 static/assets/tomahawk.svg diff --git a/components/Posts/EmptyCampStory.vue b/components/Posts/EmptyCampStory.vue new file mode 100644 index 0000000..57bea40 --- /dev/null +++ b/components/Posts/EmptyCampStory.vue @@ -0,0 +1,19 @@ + + + diff --git a/components/TheHeader.vue b/components/TheHeader.vue index 4d17616..8724fa7 100644 --- a/components/TheHeader.vue +++ b/components/TheHeader.vue @@ -26,33 +26,33 @@ import NavLink from './NavLink' export default { name: 'TheHeader', components: { - NavLink + NavLink, }, props: { routes: { type: Array, - required: true + required: true, }, title: { type: String, - required: true + required: true, }, logo: { type: String, required: false, - default: () => '' - } + default: () => '', + }, }, data: function() { return { - showMenu: false + showMenu: false, } }, methods: { toggleMenu() { this.showMenu = !this.showMenu - } - } + }, + }, } @@ -83,6 +83,7 @@ export default { } .title { + z-index: 99; font-size: 30px; flex-shrink: 0; @@ -100,6 +101,7 @@ export default { } .links { + z-index: 98; display: flex; flex-direction: row; padding: 0; diff --git a/pages/oboz/2020.vue b/pages/oboz/2020.vue index e80259d..68a00d9 100644 --- a/pages/oboz/2020.vue +++ b/pages/oboz/2020.vue @@ -11,24 +11,76 @@

7 PDH Watra

- + + -

Tutaj niedługo znajdziesz relacje z obozu

- +
+

+ To się działo na obozie +

+ +
+ @@ -105,4 +157,36 @@ h1 { content: ''; } } + +.story::before, +.story::after { + content: ''; + background-image: url('/assets/tomahawk.svg'); + background-size: contain; + width: 70px; + height: 70px; + display: block; + top: 30px; + margin: auto; + margin-bottom: 20px; +} + +.story::after { + display: none; + -moz-transform: scaleX(-1); + -o-transform: scaleX(-1); + -webkit-transform: scaleX(-1); + transform: scaleX(-1); + filter: FlipX; + -ms-filter: 'FlipX'; +} + +@media (min-width: 510px) { + .story::before, + .story::after { + display: inline-block; + position: relative; + margin: 0 10px; + } +} diff --git a/static/_headers b/static/_headers new file mode 100644 index 0000000..cb762ef --- /dev/null +++ b/static/_headers @@ -0,0 +1 @@ +Access-Control-Allow-Origin: * diff --git a/static/assets/tomahawk.svg b/static/assets/tomahawk.svg new file mode 100644 index 0000000..7e49c2c --- /dev/null +++ b/static/assets/tomahawk.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.4.1