add structure project

This commit is contained in:
2025-10-28 02:24:42 +05:00
parent 5b3c26d74e
commit 2a2475f13a
59 changed files with 74 additions and 101 deletions
@@ -0,0 +1,44 @@
<!-- pages/index.vue -->
<template>
<div class="container">
<h1>Добро пожаловать в мое приложение!</h1>
<div class="links">
<NuxtLink to="/register" class="btn">Регистрация</NuxtLink>
<NuxtLink to="/login" class="btn">Вход</NuxtLink>
<NuxtLink to="/profile" class="btn">Профиль</NuxtLink>
</div>
</div>
</template>
<script setup>
// Главная страница
</script>
<style scoped>
.container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}
.links {
margin-top: 2rem;
display: flex;
gap: 1rem;
justify-content: center;
}
.btn {
padding: 0.75rem 1.5rem;
background: #3b82f6;
color: white;
text-decoration: none;
border-radius: 0.5rem;
transition: background 0.3s;
}
.btn:hover {
background: #2563eb;
}
</style>