Added content for sub pages

This commit is contained in:
Moritz Kröger 2017-08-15 21:17:18 +02:00
parent 4519aa9b72
commit f63d74a310
6 changed files with 96 additions and 14 deletions

View file

@ -1,7 +1,33 @@
<template>
<section>
<h1>{{ $t('about.headline') }}</h1>
<p>{{ $t('about.content') }}</p>
<p v-for="txt of $t('about.content')">
{{ txt }}
</p>
<ul>
<li v-for="(member, index) of $t('members.polis')">
<a :href="$t(`members.polis[${index}].profile`)" target="_blank">
<span>{{ $t(`members.polis[${index}].name`) }}</span>
</a>
</li>
</ul>
<ul>
<li v-for="(member, index) of $t('members.poe')">
<a :href="$t(`members.poe[${index}].profile`)" target="_blank">
<span>{{ $t(`members.poe[${index}].name`) }}</span>
</a>
</li>
</ul>
<ul>
<li v-for="(member, index) of $t('members.dev')">
<a :href="$t(`members.dev[${index}].profile`)" target="_blank">
<span>{{ $t(`members.dev[${index}].name`) }}</span>
</a>
</li>
</ul>
</section>
</template>

View file

@ -1,14 +1,49 @@
export default {
de: {
members: {
polis: [
{ name: 'Susanne Zels', profile: 'https://google.de' },
{ name: 'Stephan', profile: 'https://google.de' },
{ name: 'Ben', profile: 'https://google.de' },
{ name: 'Johannes', profile: 'https://google.de' }
],
poe: [
{ name: 'Eva Podgorsek', profile: 'https://google.de' },
{ name: 'Peter Funk', profile: 'https://google.de' }
],
dev: [
{ name: 'Moritz Kröger', profile: 'https://google.de' }
]
},
about: {
headline: 'Über uns',
content: 'Einführung und Aufbau müssen noch definiert werden.'
headline: 'Wer steckt eigentlich hinter dem Euromat?',
content: [
'Als digitaler Wahl-Freund hat der Euromat zwar einiges auf dem Kasten. Dennoch besteht seine DNA vor allem aus Einsen und Nullen.',
'Für die richtige Zusammensetzung benötigte es daher ein engagiertes Team, dass Fragen erarbeitet, die Antworten der Parteien gesammelt und diese dann in kunstvoller Manier des Internets für Sie aufbereitet hat.',
'Dieses Team kam durch eine Kooperation zwischen dem Berliner Organisationsteam von Pulse of Europe e.V. und dem ebenfalls in Berlin ansässigem Think Tank Polis 180 zusammen.',
'Hier stellen sie sich vor:'
],
teamLabel: {
polis: 'Polis180',
poe: 'Pulse of Europe',
dev: 'Umsetzung und Design'
}
}
},
en: {
about: {
headline: 'About us',
content: 'Content to be written.'
headline: 'Whos behind Euromat?',
content: [
'As your digital election buddy the Euromat certainly has plenty of grey matter. However, its DNA still consists of mainly Ones and Zeros.',
'Yet, for the right composition it needs a dedicated team who works on the questions, collects the parties replies and then processes them for you in the artistic manner of the internet.',
'This team has been brought together by a collaboration between the Berlin organising team of Pulse of Europe e.V. and the likewise Berlin-based Think Tank Polis 180.',
'Meet the people behind Euromat:'
],
teamLabel: {
polis: 'Polis180',
poe: 'Pulse of Europe',
dev: 'Umsetzung und Design'
}
}
}
}

View file

@ -1,7 +1,9 @@
<template>
<section>
<h1>{{ $t('intro.headline') }}</h1>
<p>{{ $t('intro.content') }}</p>
<p v-for="txt of $t('intro.content')">
{{ txt }}
</p>
<router-link class="btn" :to="{ path: '/thesen' }">
{{ $t('intro.button') }}
</router-link>

View file

@ -1,15 +1,27 @@
export default {
de: {
intro: {
headline: 'Willkommen beim Euromat',
content: 'Einführung und Aufbau müssen noch definiert werden.',
headline: 'Willkommen beim Euromat zur Bundestagswahl 2017!',
content: [
'Sie fragen sich was ein Euromat ist? Der Euromat ist kein einfacher Wahlomat. Sondern Ihr digitaler Wahl-Freund, der Sie durch die europapolitischen Ausrichtungen der Parteien und ihrer Wahlprogramme navigiert.',
'Sie möchten erfahren, was die Parteien vor der Bundestagswahl ganz allgemein zu Europa und der Zukunft der EU zu sagen haben?',
'Wir haben für Sie nachgefragt und die Stimmen von CDU/CSU, SPD, Bündnis90/Die Grünen, FDP und AFD angehört. Ihre Antworten können Sie gesammelt hier wiederfinden und mit Ihrer eigenen Position vergleichen.',
'Mit welcher Partei haben Sie die größte Übereinstimmung bei Fragen zum Thema Europa? Finden Sie es heraus!',
'Zu guter Letzt: Wie immer Ihr Ergebnis ausfällt, Sie entscheiden natürlich selbst, wen Sie am 24. September wählen. Unser Euromat soll vor allem eines Ihnen vor der Wahl Spaß bereiten und dabei die wichtigsten Informationen zur Meinung der Parteien für die Europapolitik mit auf den Weg geben.'
],
button: 'Start'
}
},
en: {
intro: {
headline: 'Welcome to Euromat',
content: 'Content to be written.',
headline: 'Welcome! This is your Euromat for the German Federal Elections 2017!',
content: [
'Youre thinking: Whats a Euromat? The Euromat is not a regular voting advice application. On the contrary, it is your digital election buddy navigating you through the positions of the German parties with regard to European politics.',
'You want to know what the German parties say about Europe in general and the future of the EU in the run-up to this years Federal Elections?',
'We asked for you and listened to the voices of CDU/CSU, SPD, Bündnis90/Die Grünen, FDP and AFD. You can find their answers right here and compare them with your own views.',
'With which party do you agree the most on questions regarding Europe? Dont hesitate, find out now!',
'Last but not least: Whatever your result, you make the final choice who to vote on 24. September. Our Euromat focuses mainly on one thing making your voting experience fun while providing you with all essential information on the German parties stance towards European politics.'
],
button: 'Start'
}
}

View file

@ -2,6 +2,9 @@
<section>
<h1>{{ $t('press.headline') }}</h1>
<p>{{ $t('press.content') }}</p>
<i18n path="press.contact" tag="p">
<a :href="`mailto:${$t('press.email')}`">{{ $t('press.email') }}</a>
</i18n>
</section>
</template>

View file

@ -1,14 +1,18 @@
export default {
de: {
press: {
headline: 'Presse',
content: 'Presseinhalte müssen noch definiert werden.'
headline: 'Kontakt',
content: 'Sie sind Journalist, oder einfach ein/e interessierte/r BürgerIn? Dann treten Sie gern mit uns in Kontakt!',
contact: 'Schicken Sie uns eine Email an {0}',
email: 'hello@euromat.info'
}
},
en: {
press: {
headline: 'Press',
content: 'Press to be written.'
headline: 'Get in touch!',
content: 'Whether youre a journalist or an interested citizen, feel free to reach out to us at any time.',
contact: 'Send a message to {0}',
email: 'hello@euromat.info'
}
}
}