This repository has been archived on 2021-09-06. You can view files and clone it, but cannot push or open issues or pull requests.
vuejs_course/2021-03-19_axios-01-start/src/components/welcome/welcome.vue

49 lines
878 B
Vue

<template>
<div id="welcome">
<h1>Time to learn something new!</h1>
<p>You found the best place to learn - and now you're just one sign in (or sign up) away from it!</p>
<div class="cta">
<router-link to="/signup">Sign Up</router-link>
<router-link to="/signin">Sign In</router-link>
</div>
</div>
</template>
<style scoped>
#welcome {
width: 80%;
margin: auto;
}
h1 {
text-align: center;
}
p {
text-align: center;
}
.cta {
width: 300px;
margin: auto;
text-align: center;
}
.cta a {
margin: 10px;
text-decoration: none;
display: inline-block;
border: 1px solid #521751;
border-radius: 3px;
width: 100px;
padding: 10px;
box-sizing: border-box;
color: #521751;
}
.cta a:hover,
.cta a:active {
background-color: #521751;
color: white;
}
</style>