Move .main-content container from the search view to App.vue

This commit is contained in:
2026-05-07 21:10:55 +02:00
parent 41500560f3
commit 6e7e512a9b
2 changed files with 26 additions and 24 deletions
+13
View File
@@ -6,7 +6,20 @@ import Footer from './features/footer/components/Footer.vue';
<template>
<Navbar />
<div class="main-content">
<router-view />
</div>
<Footer />
</template>
<style scoped>
.main-content {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
gap: 60px;
flex-grow: 1;
}
</style>
-11
View File
@@ -3,7 +3,6 @@ import Searchbar from '../features/search/components/Searchbar.vue'
</script>
<template>
<div class="main-content">
<header class="global-header">
<h1>Seekra</h1>
<span class="slogan">
@@ -14,19 +13,9 @@ import Searchbar from '../features/search/components/Searchbar.vue'
<form id="search-form">
<Searchbar />
</form>
</div>
</template>
<style scoped>
.main-content {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
gap: 60px;
flex-grow: 1;
}
.global-header {
text-align: center;
display: flex;