#11 spis treści w literaturze

This commit is contained in:
Andrea Vos 2020-07-24 20:07:28 +02:00
parent 1b2842f1d6
commit e7620052b4
3 changed files with 31 additions and 17 deletions

View File

@ -56,6 +56,11 @@ $fa-font-path: "~@fortawesome/fontawesome-pro/webfonts";
@import "~@fortawesome/fontawesome-pro/scss/light";
//@import "~@fortawesome/fontawesome-pro/scss/brands";
html {
scroll-behavior: smooth;
scroll-padding-top: 18px;
}
body {
//padding-top: 2rem;
//padding-bottom: 2rem;

View File

@ -14,7 +14,7 @@
*/
const title = 'Zaimki.pl';
const description = 'To narzędzie udostępnia linki do przykładów użycia (w prostych zdaniach oraz w literaturze, prasie, filmach i serialach) zaimków i innych form płciowych nie tylko normatywnych „on” i „ona”, lecz także form niebinarnych.';
const description = 'To narzędzie udostępnia linki do przykładów użycia zaimków i innych form płciowych nie tylko normatywnych „on” i „ona”, lecz także form niebinarnych.';
const banner = process.env.BASE_URL + '/banner/zaimki.png';
export default {

View File

@ -8,28 +8,37 @@
<LiteratureMenu all/>
<section>
<ul>
<li v-for="template in templates" v-if="template.sources.length">
<a :href="'#' + (template.name ? template.name().replace(/\//g, '-') : 'inne')">
{{ template.description }}
<small v-if="template.name">({{ template.name() }})</small>
</a>
</li>
</ul>
</section>
<section>
<Share title="Niebinarna polszczyzna w literaturze, prasie, filmach i serialach"/>
</section>
<div v-for="template in templates">
<template v-if="template.sources.length">
<h2 v-if="template.name" class="h4">
<nuxt-link :to="'/' + template.pronoun()">
{{ template.description }}
<small>({{ template.name() }})</small>
</nuxt-link>
</h2>
<h2 v-else class="h4">
<div v-for="template in templates" v-if="template.sources.length">
<h2 v-if="template.name" class="h4" :id="template.name().replace(/\//g, '-')">
<nuxt-link :to="'/' + template.pronoun()">
{{ template.description }}
</h2>
<small>({{ template.name() }})</small>
</nuxt-link>
</h2>
<h2 v-else class="h4" id="inne">
{{ template.description }}
</h2>
<ul class="list-unstyled">
<li v-for="source in template.sources">
<Source :source="source"/>
</li>
</ul>
</template>
<ul class="list-unstyled">
<li v-for="source in template.sources">
<Source :source="source"/>
</li>
</ul>
</div>
</div>
</template>