modified: main_dc/yalarba/easySite/easySite/app/components/layout/Header.vue

modified:   main_dc/yalarba/easySite/easySite/app/pages/index.vue
set main page tite
This commit is contained in:
2025-10-30 06:01:31 +05:00
parent 0a45141f1f
commit 3a138924c3
2 changed files with 34 additions and 18 deletions
@@ -14,6 +14,7 @@
<div class="hamburger-nav"> <div class="hamburger-nav">
<HamburgerMenu /> <HamburgerMenu />
</div> </div>
</div> </div>
</div> </div>
</header> </header>
@@ -89,16 +90,16 @@ import HamburgerMenu from '~/components/layout/HamburgerMenu.vue'
.header-content { .header-content {
padding: 0.75rem 0; padding: 0.75rem 0;
} }
.logo-name { .logo-name {
font-size: 1.25rem; font-size: 1.25rem;
} }
.logo-icon { .logo-icon {
width: 2rem; width: 2rem;
height: 2rem; height: 2rem;
} }
.logo-text { .logo-text {
font-size: 1rem; font-size: 1rem;
} }
@@ -8,10 +8,10 @@
<div class="container"> <div class="container">
<div class="hero-content"> <div class="hero-content">
<div class="hero-text"> <div class="hero-text">
<h1 class="hero-title">Создавай аккаунт</h1> <h1 class="hero-title T1">аккаунт</h1>
<h1 class="hero-title">Добавляй услуги</h1> <h1 class="hero-title T2">услуги</h1>
<h1 class="hero-title">Получи сайт</h1> <h1 class="hero-title T3">сайт</h1>
<p class="hero-subtitle">Диджитал присутвие в интернете легко и доступно</p> <p class="hero-subtitle T4">легко и доступно</p>
</div> </div>
</div> </div>
</div> </div>
@@ -26,15 +26,6 @@
import Header from '~/components/layout/Header.vue' import Header from '~/components/layout/Header.vue'
import Footer from '~/components/layout/Footer.vue' import Footer from '~/components/layout/Footer.vue'
const searchQuery = ref('')
const handleSearch = () => {
if (searchQuery.value.trim()) {
navigateTo(`/objects?search=${encodeURIComponent(searchQuery.value)}`)
} else {
navigateTo('/objects')
}
}
</script> </script>
<style scoped> <style scoped>
@@ -79,9 +70,17 @@ const handleSearch = () => {
.hero-text { .hero-text {
max-width: 800px; max-width: 800px;
margin: 0 auto; min-width: 350px;
text-align: center; display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
gap: 1rem;
width: 100%; width: 100%;
border: 1px solid #ffffff50;
border-radius: 1rem;
padding: 2rem;
box-shadow: 2px 2px 4px #638370;
} }
.hero-title { .hero-title {
@@ -91,6 +90,22 @@ const handleSearch = () => {
line-height: 1.2; line-height: 1.2;
} }
.T1 {
margin-right: auto;
}
.T2 {
margin: 0 auto;
}
.T3 {
margin-left: auto;
}
.T4 {
margin: 0 auto;
}
.hero-subtitle { .hero-subtitle {
font-size: 1.25rem; font-size: 1.25rem;
opacity: 0.9; opacity: 0.9;