This commit is contained in:
valitovgaziz
2025-01-08 12:34:40 +05:00
parent bc1fce8ae3
commit 9da6dfe09d
4 changed files with 17 additions and 8 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 11 KiB

+6 -1
View File
@@ -1,4 +1,9 @@
html, body {
html {
padding: 0;
margin: 5px;
}
body {
padding: 0;
margin: 0;
}
+7 -7
View File
@@ -11,7 +11,7 @@
<ul v-show="isOpen" class="menu-list">
<li v-for="item in menuItems" :key="item.id">
<router-link :to="item.tooo">{{ item.id }} - {{ item.title }}</router-link>
<router-link :to="item.to">{{ item.id }} - {{ item.title }}</router-link>
</li>
</ul>
</div>
@@ -25,12 +25,12 @@
return {
isOpen: false,
menuItems: [
{ id: 1, title: 'Главная', tooo: 'home' },
{ id: 2, title: 'О нас', tooo: 'about' },
{ id: 3, title: 'Услуги', tooo: 'home' },
{ id: 4, title: 'Контакты', tooo: 'home' },
{ id: 5, title: 'Блог', tooo: 'home' },
{ id: 6, title: 'SignUp', tooo: 'signup' }
{ id: 1, title: 'Главная', to: '#' },
{ id: 2, title: 'О нас', to: '/about' },
{ id: 3, title: 'Услуги', to: '#' },
{ id: 4, title: 'Контакты', to: '#' },
{ id: 5, title: 'Блог', to: '#' },
{ id: 6, title: 'SignUp', to: '#' }
]
};
}
+4
View File
@@ -1,8 +1,12 @@
<script setup>
import Header from '../components/Header.vue'
import About from '../components/AboutC.vue'
import Footer from '../components/Footer.vue'
</script>
<template>
<Header />
<About />
<Footer />
</template>