76 lines
1.3 KiB
Vue
76 lines
1.3 KiB
Vue
<template>
|
|
<div class="login-container">
|
|
<h2>Smurf Habits</h2>
|
|
<form @submit.prevent>
|
|
<div class="form-group">
|
|
<label for="email">Email</label>
|
|
<input type="email" id="email" placeholder="papa@smurf.village" />
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="password">Password</label>
|
|
<input type="password" id="password" />
|
|
</div>
|
|
<button type="submit">Login</button>
|
|
</form>
|
|
<div class="register-link">
|
|
<p>No account? <a href="#">Register</a></p>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
definePageMeta({
|
|
layout: 'login',
|
|
});
|
|
</script>
|
|
|
|
<style scoped>
|
|
.login-container {
|
|
width: 100%;
|
|
max-width: 350px;
|
|
padding: 20px;
|
|
background-color: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
text-align: center;
|
|
}
|
|
|
|
h2 {
|
|
color: #4a90e2;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 15px;
|
|
text-align: left;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
input {
|
|
width: 100%;
|
|
padding: 10px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
button {
|
|
width: 100%;
|
|
padding: 10px;
|
|
background-color: #4a90e2;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.register-link {
|
|
margin-top: 20px;
|
|
}
|
|
</style>
|