This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Zaimki/pages/dowolne.vue

79 lines
2.2 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="container">
<h2>
<Icon v="tag"/>
Moje zaimki to:
</h2>
<section>
<div class="alert alert-primary">
<h2 class="text-center mb-0">
<strong>dowolne</strong>
</h2>
<p class="h6 small text-center mb-0 mt-2">
<em>
Choć dla wielu osób niezmiernie ważne jest, by używać wobec nich konkretnych zaimków,
innym nie przeszkadza zwracanie się w dowolny sposób
o ile wiadomo z kontekstu, że to o nich mowa
(przejrzyj listę możliwości <nuxt-link to="/"><Icon v="share"/>tutaj</nuxt-link>).
</em>
</p>
</div>
</section>
<section>
<h2 class="h4">
<Icon v="file-signature"/>
Przykłady użycia w zdaniu:
</h2>
<ul>
<li v-for="example in examples" class="my-1">
<Example :example="example" :template="randomTemplate()" link/>
</li>
</ul>
</section>
<section>
<Share title="Moje zaimki to: dowolne"/>
</section>
<Separator icon="info"/>
<section class="mb-0">
<h2 class="h4">
<Icon v="info-circle"/>
O co chodzi w tej stronie?
</h2>
<About/>
<Homepage align="center"/>
</section>
<ScrollButton/>
</div>
</template>
<script>
import { examples, templates } from "~/src/data";
import { head } from "../src/helpers";
export default {
data() {
return {
examples: examples,
}
},
head() {
return head({
title: 'Moje zaimki to: dowolne',
banner: 'banner/dowolne.png',
});
},
methods: {
randomTemplate() {
const keys = Object.keys(templates);
return templates[keys[keys.length * Math.random() << 0]];
},
}
}
</script>