#56 kontakt
This commit is contained in:
parent
4ac4c7cc28
commit
f38222512f
|
@ -0,0 +1,65 @@
|
|||
<template>
|
||||
<ul :class="{'list-unstyled': !expanded}">
|
||||
<li v-for="author in authors">
|
||||
{{ author.name }}
|
||||
(<nuxt-link :to="author.pronounsLink">{{ author.pronouns }}</nuxt-link>,
|
||||
<a v-if="author.website" :href="author.website" target="_blank" rel="noopener"><Icon v="globe"/></a>
|
||||
<a v-if="author.twitter" :href="'https://twitter.com/' + author.twitter" target="_blank" rel="noopener"><Icon v="twitter" set="b"/></a>
|
||||
<a v-if="author.mail" :href="'mailto:' + author.mail" target="_blank" rel="noopener"><Icon v="envelope"/></a>)
|
||||
–
|
||||
<template v-for="(link, area, index) in author.areas">
|
||||
<nuxt-link v-if="link && link.indexOf('/') === 0" :to="link">{{ area }}</nuxt-link>
|
||||
<a v-else-if="link" :href="link" target="_blank" rel="noopener">{{ area }}</a>
|
||||
<span v-else>{{ area }}</span>
|
||||
<span v-if="index < Object.keys(author.areas).length - 1">, </span>
|
||||
</template>
|
||||
</li>
|
||||
</ul>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
expanded: { type: Boolean }
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
authors: [
|
||||
{
|
||||
name: 'Andrea',
|
||||
pronouns: 'onu',
|
||||
pronounsLink: '/onu',
|
||||
website: 'https://avris.it',
|
||||
twitter: 'AvrisIT',
|
||||
mail: 'andrea@avris.it',
|
||||
areas: {
|
||||
kod: 'https://gitlab.com/Avris/Zaimki',
|
||||
język: null,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Paweł Dembowski',
|
||||
pronouns: 'on',
|
||||
pronounsLink: '/on',
|
||||
twitter: 'VaultAusir',
|
||||
mail: 'pawel.dembowski@gmail.com',
|
||||
areas: {
|
||||
język: null,
|
||||
literatura: '/literatura',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Zuzanna Sybilla Grzybowska',
|
||||
pronouns: 'ona/ono',
|
||||
pronounsLink: '/ona&ono/jej',
|
||||
twitter: 'mykofanes',
|
||||
mail: 'zuzannagrzybowska@protonmail.com',
|
||||
areas: {
|
||||
neutratywy: '/neutratywy',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
},
|
||||
}
|
||||
</script>
|
|
@ -7,32 +7,7 @@
|
|||
<nuxt-link to="/neutratywy#autor">Autorza</nuxt-link> strony:
|
||||
</p>
|
||||
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
Andrea
|
||||
(<nuxt-link to="/onu">onu</nuxt-link>,
|
||||
<a href="https://avris.it" target="_blank" rel="noopener"><Icon v="globe"/></a>,
|
||||
<a href="https://twitter.com/AvrisIT" target="_blank" rel="noopener"><Icon v="twitter" set="b"/></a>,
|
||||
<a href="mailto:andrea@avris.it" target="_blank" rel="noopener"><Icon v="envelope"/></a>)
|
||||
– <a href="https://gitlab.com/Avris/Zaimki" target="_blank" rel="noopener">kod</a>, język
|
||||
</li>
|
||||
|
||||
<li>
|
||||
Paweł Dembowski
|
||||
(<nuxt-link to="/on">on</nuxt-link>,
|
||||
<a href="https://twitter.com/VaultAusir" target="_blank" rel="noopener"><Icon v="twitter" set="b"/></a>,
|
||||
<a href="mailto:pawel.dembowski@gmail.com" target="_blank" rel="noopener"><Icon v="envelope"/></a>)
|
||||
– język, <nuxt-link to="/literatura">literatura</nuxt-link>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
Zuzanna Sybilla Grzybowska
|
||||
(<nuxt-link to="/ona&ono/jej">ona/ono</nuxt-link>,
|
||||
<a href="https://twitter.com/mykofanes" target="_blank" rel="noopener"><Icon v="twitter" set="b"/></a>,
|
||||
<a href="mailto:zuzannagrzybowska@protonmail.com" target="_blank" rel="noopener"><Icon v="envelope"/></a>)
|
||||
– <nuxt-link to="/neutratywy">neutratywy</nuxt-link>
|
||||
</li>
|
||||
</ul>
|
||||
<Authors/>
|
||||
|
||||
<p class="mb-0">
|
||||
Kod jest
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
{ link: '/', icon: 'home', text: 'Zaimki', textLong: 'Lista zaimków', extra: ['all'] },
|
||||
{ link: '/literatura', icon: 'books', text: 'Teksty kultury', textLong: 'Przykłady z tekstów kultury' },
|
||||
{ link: '/neutratywy', icon: 'atom-alt', text: 'Neutratywy', textLong: 'Słownik neutratywów' },
|
||||
{ link: '/kontakt', icon: 'comment-alt-smile', text: 'Kontakt' },
|
||||
],
|
||||
};
|
||||
},
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
}
|
||||
},
|
||||
head() {
|
||||
const title = 'Moje zaimki to: dowolne';
|
||||
const title = 'Moje zaimki to: dowolne • Zaimki.pl';
|
||||
const banner = `${process.env.baseUrl}/banner/dowolne.png`;
|
||||
|
||||
return {
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
<template>
|
||||
<div class="container">
|
||||
<h2>
|
||||
<Icon v="comment-alt-smile"/>
|
||||
Kontakt
|
||||
</h2>
|
||||
|
||||
<section>
|
||||
<Authors expanded/>
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
head() {
|
||||
const title = 'Kontakt • Zaimki.pl';
|
||||
|
||||
return {
|
||||
title: title,
|
||||
meta: [
|
||||
{ hid: 'og:title', property: 'og:title', content: title },
|
||||
{ hid: 'twitter:title', property: 'twitter:title', content: title },
|
||||
],
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
Reference in New Issue