add missing sourcecode

This commit is contained in:
thilo 2020-03-21 17:11:07 +01:00
commit de12ea3f4b
4 changed files with 110 additions and 0 deletions

32
src/views/Home.vue Normal file
View file

@ -0,0 +1,32 @@
<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>
</div>
</template>
<script>
// @ is an alias to /src
// import HelloWorld from '@/components/HelloWorld.vue'
export default {
name: 'Home',
components: {
// HelloWorld
}
}
</script>
<style>
.home {
display: flex;
flex-flow: column;
justify-content: center;
padding: 0.5em;
}
</style>

16
src/views/Warning.vue Normal file
View file

@ -0,0 +1,16 @@
<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>
.number {
font-family: sans-serif;
color: #E94A47;
font-size: 1.6em;
}
</style>