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

EUbOPEN: finish changing layout of masthead and navigators to comply to IMI guidelines

parent 4d1d7878
No related branches found
No related tags found
1 merge request!27Change layout to comply with IMI communication guidelines
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
<MatheadLogos /> <MatheadLogos />
</v-col> </v-col>
<v-col cols="12"> <v-col cols="12">
<Toolbar /> <Sticky>
<Toolbar class="eubopen-toolbar" />
</Sticky>
</v-col> </v-col>
</v-row> </v-row>
</template> </template>
...@@ -12,12 +14,16 @@ ...@@ -12,12 +14,16 @@
<script> <script>
import MatheadLogos from '~/components/Masthead/MatheadLogos.vue' import MatheadLogos from '~/components/Masthead/MatheadLogos.vue'
import Toolbar from '~/components/Masthead/Toolbar.vue' import Toolbar from '~/components/Masthead/Toolbar.vue'
import Sticky from '~/web-components-submodule/components/common/Utils/Sticky.vue'
export default { export default {
components: { components: {
MatheadLogos, MatheadLogos,
Toolbar, Toolbar,
Sticky,
}, },
} }
</script> </script>
<style></style> <style lang="scss" scoped></style>
<template> <template>
<v-app> <v-app>
<Notifications /> <Notifications />
<EubopenAppBar> <EubopenAppBar />
<template #logo>
<Logo />
</template>
</EubopenAppBar>
<v-main class="main-app-content"> <v-main class="main-app-content">
<v-container> <v-container>
<nuxt /> <nuxt />
...@@ -19,14 +15,12 @@ ...@@ -19,14 +15,12 @@
import EubopenAppBar from '~/components/Masthead/EubopenAppBar.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'
export default { export default {
components: { components: {
EubopenAppBar, EubopenAppBar,
Footer, Footer,
Notifications, Notifications,
Logo,
}, },
} }
</script> </script>
......
<template> <template>
<v-app> <v-app>
<Notifications /> <Notifications />
<MainAppBar :permanently-pinned="true"> <EubopenAppBar />
<template #logo> <v-main>
<Logo />
</template>
</MainAppBar>
<v-main class="lowered">
<nuxt /> <nuxt />
</v-main> </v-main>
<Footer /> <Footer />
...@@ -14,17 +10,15 @@ ...@@ -14,17 +10,15 @@
</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'
export default { export default {
components: { components: {
MainAppBar, EubopenAppBar,
Footer, Footer,
Notifications, Notifications,
Logo,
}, },
} }
</script> </script>
......
<template> <template>
<v-app class="the-app"> <v-app class="the-app">
<Notifications /> <Notifications />
<MainAppBar :permanently-pinned="true" :search-term="searchTerm"> <EubopenAppBar />
<template #logo> <nuxt />
<Logo />
</template>
</MainAppBar>
<v-main class="lowered">
<nuxt />
</v-main>
<Footer /> <Footer />
</v-app> </v-app>
</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'
export default { export default {
components: { components: {
MainAppBar, EubopenAppBar,
Footer, Footer,
Notifications, Notifications,
Logo,
}, },
computed: { computed: {
searchTerm() { searchTerm() {
...@@ -33,8 +26,4 @@ export default { ...@@ -33,8 +26,4 @@ export default {
}, },
} }
</script> </script>
<style scoped> <style scoped></style>
.lowered {
margin-top: 80px;
}
</style>
...@@ -11,7 +11,7 @@ export default { ...@@ -11,7 +11,7 @@ export default {
components: { components: {
ChemicalProbeReportCard, ChemicalProbeReportCard,
}, },
layout: 'default', layout: 'reportCard',
async asyncData({ $axios, error, params }) { async asyncData({ $axios, error, params }) {
try { try {
const docSource = ['pref_name'] const docSource = ['pref_name']
......
...@@ -9,7 +9,7 @@ export default { ...@@ -9,7 +9,7 @@ export default {
components: { components: {
EBCompoundsBrowser, EBCompoundsBrowser,
}, },
layout: 'default', layout: 'entityBrowser',
data() { data() {
return { return {
isEmbedded: false, isEmbedded: false,
......
...@@ -11,7 +11,7 @@ export default { ...@@ -11,7 +11,7 @@ export default {
components: { components: {
TargetReportCard, TargetReportCard,
}, },
layout: 'default', layout: 'reportCard',
async asyncData({ $axios, error, params }) { async asyncData({ $axios, error, params }) {
try { try {
const docSource = ['pref_name'] const docSource = ['pref_name']
......
...@@ -8,7 +8,7 @@ export default { ...@@ -8,7 +8,7 @@ export default {
components: { components: {
EBTargetsBrowser, EBTargetsBrowser,
}, },
layout: 'default', layout: 'entityBrowser',
data() { data() {
return { return {
isEmbedded: false, isEmbedded: false,
......
Subproject commit 9bfa659425ce30739e6404a67d38a55249df8729 Subproject commit b3cc0c893a74ec4555438fa271f7958d160ed6ef
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