generated from VLADIMIR/template_frontend
add first page
This commit is contained in:
+24
-2
@@ -1,9 +1,31 @@
|
||||
<script setup lang="ts">
|
||||
import TheWelcome from '../components/TheWelcome.vue'
|
||||
import MainPage from '@/components/MainPage.vue';
|
||||
</script>
|
||||
|
||||
<!-- Главная страница -->
|
||||
<template>
|
||||
<header class="header">
|
||||
<router-link to="/login" class="btn-login">Войти</router-link>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<TheWelcome />
|
||||
<MainPage />
|
||||
</main>
|
||||
</template>
|
||||
|
||||
<style lang="css">
|
||||
.header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.btn-login {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
padding: 8px 14px;
|
||||
color: #ffffff
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user