Updated CSS to work on phones
Homescreen adjusted Warning adjusted Question component (not Questionnaire) adjusted Fixed questionmaire typo
This commit is contained in:
parent
de12ea3f4b
commit
fecbba5b0b
8 changed files with 108 additions and 44 deletions
src/views
|
|
@ -1,12 +1,47 @@
|
|||
<style scoped>
|
||||
.home {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
justify-content: center;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
#welcome-image {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
p {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
#information {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
padding: 5%;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
#title {
|
||||
font-size: 1.2em;
|
||||
color: #23286B;
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<div class="home">
|
||||
<img alt="Vue logo" src="../assets/welcome.png">
|
||||
<!-- <HelloWorld msg="Welcome to Your Vue.js App"/> -->
|
||||
<h1>COVIDassist</h1>
|
||||
<p>Die COVID-19 Verhaltensdiagnose, die Ihre Daten respektiert.</p>
|
||||
<router-link to="/warning"><button>Selbsttest starten</button></router-link>
|
||||
<a href="/">Informationen zu COVID-19</a>
|
||||
<small><a href="/">Imprint</a></small>
|
||||
<img id="welcome-image" alt="Welcome" src="../assets/welcome.png">
|
||||
<div>
|
||||
<p id="title"><b>COVID</b>assist</p>
|
||||
<p>Die COVID-19 Verhaltensdiagnose, die keine Daten speichert.</p>
|
||||
<router-link style="text-decoration:none" to="/warning"><button>Infektionsrisiko ermitteln</button></router-link>
|
||||
</div>
|
||||
|
||||
<a id="information" href="https://www.rki.de/SharedDocs/FAQ/NCOV2019/FAQ_Liste.html"><b>Informationen zu COVID-19</b></a>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
@ -21,12 +56,3 @@ export default {
|
|||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.home {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
justify-content: center;
|
||||
padding: 0.5em;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="questionmaire">
|
||||
<div class="questionnaire">
|
||||
<Question v-bind:question="$store.state.questions[$store.state.currentQuestion].question"
|
||||
v-bind:answers="$store.state.questions[$store.state.currentQuestion].answers"></Question>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,16 +1,29 @@
|
|||
<template>
|
||||
<div class="about">
|
||||
<h1>Warnhinweis</h1>
|
||||
<p>Dieser Test geht auf Ihr Verhalten ein und gibt Ihnen Tipps, wie Sie eine Infektion vermeiden können. Wenn Sie vermuten, dass Sie bereits infiziert sind, rufen Sie den ärztlichen Bereitschaftsdienst an:</p>
|
||||
<p class="number">116117</p>
|
||||
<router-link to="/questionmaire"><button>Fortfahren</button></router-link>
|
||||
</div>
|
||||
</template>
|
||||
<style scoped>
|
||||
.warning {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
justify-content: center;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
<style>
|
||||
.number {
|
||||
font-family: sans-serif;
|
||||
color: #E94A47;
|
||||
font-size: 1.6em;
|
||||
h1, p {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<div class="warning">
|
||||
<div>
|
||||
<h1>Hinweis</h1>
|
||||
<p>
|
||||
Dieser Test geht auf Ihr Verhalten ein und gibt Ihnen Tipps,
|
||||
wie Sie eine Infektion vermeiden können. Wenn Sie vermuten,
|
||||
dass Sie bereits infiziert sind, rufen Sie den ärztlichen
|
||||
Bereitschaftsdienst unter 116117 an.
|
||||
</p>
|
||||
</div>
|
||||
<router-link style="text-decoration:none" to="/questionnaire"><button>Ich möchte weiter zum Test</button></router-link>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue