diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-08-08 22:56:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-08 22:56:20 +0200 |
commit | b04586d08643d7dd57c3ec279189782e4acfe1da (patch) | |
tree | 1958c20eac9d26aa67c55d0ec80a5c17fa8e1194 | |
parent | d2645e94282c0b5b1d38e09a12e14bcc29ca6af7 (diff) | |
parent | 409b7633f8d9ae26e3270cc3738a96b89672fee4 (diff) | |
download | puszcza-b04586d08643d7dd57c3ec279189782e4acfe1da.tar.gz puszcza-b04586d08643d7dd57c3ec279189782e4acfe1da.zip |
Merge pull request #45 from 19pdh/title-design-update
Update title design
-rw-r--r-- | components/TheHeader.vue | 10 | ||||
-rw-r--r-- | layouts/default.vue | 1 | ||||
-rw-r--r-- | pages/kronika/index.vue | 2 | ||||
-rw-r--r-- | tests/unit/__snapshots__/storybook.test.js.snap | 7 |
4 files changed, 10 insertions, 10 deletions
diff --git a/components/TheHeader.vue b/components/TheHeader.vue index 8724fa7..40ef9a9 100644 --- a/components/TheHeader.vue +++ b/components/TheHeader.vue @@ -2,9 +2,9 @@ <nav class="navbar" :class="{ 'menu-open': showMenu }"> <div class="title"> <img v-if="logo" class="logo" :src="logo" alt="ZHR" /> - <nuxt-link class="title-name" :class="{ margin: logo }" to="/">{{ - title - }}</nuxt-link> + <nuxt-link class="title-name" :class="{ margin: logo }" to="/"> + 19 PDH <b>PUSZCZA</b> + </nuxt-link> </div> <div class="space"></div> <button @click="toggleMenu" class="menu-toggler">Menu</button> @@ -33,10 +33,6 @@ export default { type: Array, required: true, }, - title: { - type: String, - required: true, - }, logo: { type: String, required: false, diff --git a/layouts/default.vue b/layouts/default.vue index f47adde..1985425 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -2,7 +2,6 @@ <div id="app"> <the-header :routes="routes" - title="19 PDH Puszcza" logo="/assets/krajka-logo.svg" /> <main class="content"> diff --git a/pages/kronika/index.vue b/pages/kronika/index.vue index 4da7e58..afe76ce 100644 --- a/pages/kronika/index.vue +++ b/pages/kronika/index.vue @@ -1,7 +1,7 @@ <template> <div style="padding-top: 20px; max-width: 900px"> <h2>Ostatnie wpisy</h2> - <post-list :posts="posts" /> + <post-list :posts="posts" max="8" /> <google-drive-link text="Zobacz również e‑książkę rozkazów" link="https://drive.google.com/drive/folders/1LWH4yYXpaa8kapBa2UAZTKnAAgXOHQYo?usp=sharing" diff --git a/tests/unit/__snapshots__/storybook.test.js.snap b/tests/unit/__snapshots__/storybook.test.js.snap index b942f47..c770bf8 100644 --- a/tests/unit/__snapshots__/storybook.test.js.snap +++ b/tests/unit/__snapshots__/storybook.test.js.snap @@ -730,6 +730,7 @@ exports[`Storyshots TheHeader default 1`] = ` > <nav class="navbar" + title="19 PDH Puszcza" > <div class="title" @@ -744,7 +745,11 @@ exports[`Storyshots TheHeader default 1`] = ` class="title-name margin" to="/" > - 19 PDH Puszcza + + 19 PDH + <b> + PUSZCZA + </b> </nuxt-link> </div> |