about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-08-08 22:42:38 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-08-08 22:42:38 +0200
commite0391b1810620dc556dccd11d8a7b26a478db520 (patch)
treeeb306fe436a3a468754440aeba54389d3af2fc45
parent95ac49d6504eac45dd89b2e589e67358d163a311 (diff)
downloadpuszcza-e0391b1810620dc556dccd11d8a7b26a478db520.tar.gz
puszcza-e0391b1810620dc556dccd11d8a7b26a478db520.zip
Update title design
-rw-r--r--components/TheHeader.vue10
-rw-r--r--layouts/default.vue1
-rw-r--r--pages/kronika/index.vue2
3 files changed, 4 insertions, 9 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"