Skip to content
Snippets Groups Projects
Commit 951bb788 authored by David Mendez's avatar David Mendez
Browse files

Use proper layout for search results

parent 9098c911
1 merge request!80Add multiplex data visualisation
<template> <template>
<v-app> <v-app>
<Notifications /> <Notifications />
<MainAppBar :permanently-pinned="true"> <EubopenAppBar />
<template #logo> <v-main class="main-app-content">
<Logo /> <v-container fluid>
</template> <nuxt />
</MainAppBar> </v-container>
<v-main class="lowered">
<nuxt />
</v-main> </v-main>
<Footer /> <Footer />
<DataProtectionBanner /> <DataProtectionBanner />
...@@ -15,24 +13,22 @@ ...@@ -15,24 +13,22 @@
</template> </template>
<script> <script>
import MainAppBar from '~/web-components-submodule/components/common/Masthead/MainAppBar.vue' import EubopenAppBar from '~/components/Masthead/EubopenAppBar.vue'
import Footer from '~/components/footer/Footer.vue' import Footer from '~/components/footer/Footer.vue'
import Notifications from '~/web-components-submodule/components/common/Notifications.vue' import Notifications from '~/web-components-submodule/components/common/Notifications.vue'
import Logo from '~/components/Logo.vue'
import DataProtectionBanner from '~/components/DataProtectionBanner.vue' import DataProtectionBanner from '~/components/DataProtectionBanner.vue'
export default { export default {
components: { components: {
MainAppBar, EubopenAppBar,
Footer, Footer,
Notifications, Notifications,
Logo,
DataProtectionBanner, DataProtectionBanner,
}, },
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.lowered { .main-app-content {
margin-top: 80px; min-height: 70vh;
} }
</style> </style>
This diff is collapsed.
...@@ -14,7 +14,7 @@ export default { ...@@ -14,7 +14,7 @@ export default {
components: { components: {
FreeTextResults, FreeTextResults,
}, },
layout: 'default', layout: 'searchResults',
computed: { computed: {
searchTerm() { searchTerm() {
let searchTerm = this.$route.params.term let searchTerm = this.$route.params.term
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment