#48 spójniejsze nagłówki

This commit is contained in:
Avris 2020-09-11 12:17:29 +02:00
parent 050cb5e8ae
commit 4996ec3a23
5 changed files with 30 additions and 25 deletions

21
components/Header.vue Normal file
View File

@ -0,0 +1,21 @@
<template>
<header class="d-flex justify-content-between mb-3">
<h1 class="h4">
<nuxt-link to="/">
<Icon v="tags"/>
Zaimki.pl
</nuxt-link>
</h1>
<p :class="['text-' + align, 'mb-0']">
<nuxt-link to="/" class="btn btn-outline-primary btn-sm">
<Icon v="home"/>
Strona główna
</nuxt-link>
</p>
</header>
</template>
<script>
export default {
}
</script>

View File

@ -1,16 +0,0 @@
<template>
<p :class="['text-' + align, 'mb-0']">
<nuxt-link to="/" class="btn btn-outline-primary btn-sm">
<Icon v="home"/>
Strona główna
</nuxt-link>
</p>
</template>
<script>
export default {
props: {
align: { default: 'right' }
}
}
</script>

View File

@ -1,11 +1,11 @@
<template>
<NotFound v-if="!selectedTemplate"/>
<div class="container" v-else>
<Homepage/>
<h1>
<Header/>
<h2>
<Icon v="tag"/>
Moje zaimki to:
</h1>
</h2>
<section>
<div class="alert alert-primary">

View File

@ -1,10 +1,10 @@
<template>
<div class="container">
<Homepage/>
<h1>
<Header/>
<h2>
<Icon v="books"/>
Niebinarna polszczyzna w tekstach kultury
</h1>
</h2>
<LiteratureMenu all/>

View File

@ -1,10 +1,10 @@
<template>
<div class="container">
<Homepage/>
<h1>
<Header/>
<h2>
<Icon v="atom-alt"/>
Słownik neutratywów
</h1>
</h2>
<section>
<p>