From f65a12c2824bed51bd363393780a2a158af18f5e Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Thu, 17 Oct 2019 21:30:20 +0200 Subject: Add chronicle to navbar --- components/NavBar.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/NavBar.vue') diff --git a/components/NavBar.vue b/components/NavBar.vue index e564fb0..d41ca20 100644 --- a/components/NavBar.vue +++ b/components/NavBar.vue @@ -161,10 +161,10 @@ export default { display: flex !important; flex-direction: column; justify-content: center; - align-items: center; + align-items: start; margin-bottom: 0; - padding: 50px 0; + padding: 50px 10px; width: 100%; left: 0; -- cgit 1.4.1 From 61dfb8f8e6aa261c3743ef7315a5358cb8867ab9 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Thu, 17 Oct 2019 21:31:00 +0200 Subject: Fix nav links position --- components/NavBar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/NavBar.vue') diff --git a/components/NavBar.vue b/components/NavBar.vue index d41ca20..2887464 100644 --- a/components/NavBar.vue +++ b/components/NavBar.vue @@ -161,7 +161,7 @@ export default { display: flex !important; flex-direction: column; justify-content: center; - align-items: start; + align-items: flex-start; margin-bottom: 0; padding: 50px 10px; -- cgit 1.4.1 From 5cbfdab567005a963ef3c4f1ee4f1412f9c0de47 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Thu, 17 Oct 2019 21:56:13 +0200 Subject: Fix empty post list --- components/NavBar.vue | 14 +++++++++++--- components/NavLink.vue | 4 +++- layouts/default.vue | 8 ++++---- 3 files changed, 18 insertions(+), 8 deletions(-) (limited to 'components/NavBar.vue') diff --git a/components/NavBar.vue b/components/NavBar.vue index 2887464..4ffdf16 100644 --- a/components/NavBar.vue +++ b/components/NavBar.vue @@ -8,14 +8,21 @@
    - + + + external + />
@@ -30,6 +37,7 @@ export default { props: { routes: Array, externalRoutes: Array, + staticRoutes: Array, title: String, logo: String }, diff --git a/components/NavLink.vue b/components/NavLink.vue index 253dde9..6074db0 100644 --- a/components/NavLink.vue +++ b/components/NavLink.vue @@ -1,6 +1,7 @@ @@ -10,7 +11,8 @@ export default { props: { link: String, name: String, - external: { type: Boolean, default: false } + external: { type: Boolean, default: false }, + static: { type: Boolean, default: false } } } diff --git a/layouts/default.vue b/layouts/default.vue index 3341547..7f9ec5b 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -2,11 +2,11 @@
- +
@@ -23,9 +23,9 @@ export default { routes: [ { path: '/', name: 'Strona główna' }, { path: '/download', name: 'Do pobrania' }, - { path: '/kontakt', name: 'Kontakt' }, - { path: '/kronika', name: 'Kronika' } + { path: '/kontakt', name: 'Kontakt' } ], + staticRoutes: [{ path: '/kronika', name: 'Kronika' }], externalRoutes: [ // { // path: 'https://kronika-puszcza.netlify.com', -- cgit 1.4.1 From 84a95c8c4ecf5348341502f95250c4588181786d Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sun, 20 Oct 2019 22:19:25 +0200 Subject: Rename static to pure in NavLink --- components/NavBar.vue | 2 +- components/NavLink.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'components/NavBar.vue') diff --git a/components/NavBar.vue b/components/NavBar.vue index 4ffdf16..4bbae72 100644 --- a/components/NavBar.vue +++ b/components/NavBar.vue @@ -14,7 +14,7 @@ :key="route.path" :link="route.path" :name="route.name" - static + pure /> @@ -12,7 +12,7 @@ export default { link: String, name: String, external: { type: Boolean, default: false }, - static: { type: Boolean, default: false } + pure: { type: Boolean, default: false } } } -- cgit 1.4.1