Add search form submit #32 #45

Merged
jakob.scheid merged 20 commits from feature/search-form-submit into main 2026-05-14 11:29:19 +02:00
2 changed files with 18 additions and 13 deletions
Showing only changes of commit e3117110e9 - Show all commits
-4
View File
@@ -31,11 +31,7 @@ import Footer from './features/footer/components/Footer.vue';
<style scoped> <style scoped>
.main-content { .main-content {
display: flex;
flex-direction: column;
align-items: center;
width: 100%; width: 100%;
gap: 60px;
flex-grow: 1; flex-grow: 1;
} }
</style> </style>
+9
View File
@@ -33,6 +33,7 @@ const submitSearch = function () {
</script> </script>
<template> <template>
<div class="search-content">
<header class="global-header"> <header class="global-header">
<h1>Seekra</h1> <h1>Seekra</h1>
<span class="slogan"> <span class="slogan">
@@ -43,9 +44,17 @@ const submitSearch = function () {
<form class="search-form" @submit.prevent="submitSearch"> <form class="search-form" @submit.prevent="submitSearch">
<Searchbar v-model="searchQuery" ref="searchbar" /> <Searchbar v-model="searchQuery" ref="searchbar" />
</form> </form>
</div>
</template> </template>
<style scoped> <style scoped>
.search-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 60px;
}
.global-header { .global-header {
text-align: center; text-align: center;
display: flex; display: flex;