about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--components/TheHeader.vue10
-rw-r--r--layouts/default.vue1
-rw-r--r--pages/kronika/index.vue2
-rw-r--r--tests/unit/__snapshots__/storybook.test.js.snap7
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&#8209;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>