diff --git a/components/Header.vue b/components/Header.vue
index c5ec407be..1948c54c7 100644
--- a/components/Header.vue
+++ b/components/Header.vue
@@ -141,7 +141,7 @@
link: '/' + this.config.pronouns.route,
icon: 'tags',
text: this.$t('pronouns.header'),
- textLong: this.$t('pronouns.headerLong'),
+ textLong: this.$t('pronouns.headerLong').replace( /(<([^>]+)>)/ig, ''),
extra: ['all', '/' + this.config.pronouns.any, this.config.pronouns.avoiding ? '/' + this.config.pronouns.avoiding : null],
});
}
diff --git a/locale/en/translations.suml b/locale/en/translations.suml
index 9d457aa84..4acf413d3 100644
--- a/locale/en/translations.suml
+++ b/locale/en/translations.suml
@@ -5,6 +5,9 @@ home:
link: 'Homepage'
header: 'Pronouns'
headerLong: 'List of pronouns'
+ welcome: 'Welcome to pronouns.page!'
+ intro: >
+ We're creating a source of information about nonbinary and gender neutral language.
why: 'What''s the deal with pronouns?'
about:
- >
diff --git a/locale/pl/translations.suml b/locale/pl/translations.suml
index ab75aa3c6..28b37351e 100644
--- a/locale/pl/translations.suml
+++ b/locale/pl/translations.suml
@@ -1,10 +1,13 @@
title: 'zaimki.pl'
-description: 'Udostępniamy tutaj 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.'
+description: 'Kompendium wiedzy o języku niebinarnym i neutralnym płciowo.'
home:
link: 'Strona główna'
header: 'Zaimki'
headerLong: 'Lista zaimków'
+ welcome: 'Witamy na stronie zaimki.pl!'
+ intro: >
+ Tworzymy tu wszechstronne kompendium wiedzy o języku niebinarnym i neutralnym płciowo.
why: 'Skąd potrzeba niebinarnych zaimków?'
about:
- >
@@ -69,7 +72,7 @@ home:
pronouns:
header: 'Zaimki'
- headerLong: 'Niebinarne zaimki i inne formy'
+ headerLong: 'Niebinarne zaimki
i inne formy'
examples: 'Przykłady użycia w zdaniu'
plural: 'Liczba mnoga'
intro: 'Moje zaimki to'
@@ -1064,11 +1067,6 @@ profile:
jokingly: 'Żartobliwie'
meh: 'Spoko'
no: 'Nie'
- banner: >
- Naszej strony możesz też użyć do stworzenia wizytówki, {/@andrea=takiej jak ta},
- zawierającej Twoje imiona, zaimki, flagi pride'owe, lubiane słowa, itp.
- Potem możesz do niej podlinkować w swoim bio czy stopce maila.
- Wystarczy, że założysz konto {/konto=tutaj}.
bannerButton: 'Stwórz wizytówkę'
card:
link: 'Obrazek'
diff --git a/routes/homepage.vue b/routes/homepage.vue
index 1291142fc..50056e01b 100644
--- a/routes/homepage.vue
+++ b/routes/homepage.vue
@@ -1,28 +1,44 @@
-
-
- home.why
-
+
+
+
+ home.welcome
+
+
+
+ home.intro
+
+
+
+
+
+
+
+
+
+
+
+
+ home.why
+
+
home.about
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -40,6 +56,10 @@
+
+
+
+
@@ -54,5 +74,31 @@
'user',
]),
},
+ data() {
+ const mainLinks = [];
+ if (this.config.pronouns.enabled) {
+ mainLinks.push({
+ icon: 'tags',
+ header: 'pronouns.headerLong',
+ route: this.config.pronouns.route,
+ })
+ }
+ if (this.config.nouns.enabled) {
+ mainLinks.push({
+ icon: 'book',
+ header: 'nouns.headerLong',
+ route: this.config.nouns.route,
+ })
+ }
+ if (this.config.user.enabled) {
+ mainLinks.push({
+ icon: 'id-card',
+ header: 'profile.bannerButton',
+ route: this.config.user.route,
+ })
+ }
+
+ return { mainLinks };
+ }
}