-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eca6336
commit 54742e7
Showing
16 changed files
with
217 additions
and
158 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<template> | ||
<q-header reveal elevated style=" width: 100vw"> | ||
<q-toolbar class="flex justify-between bg-primary text-white"> | ||
<router-link to="/"> | ||
<q-toolbar-title class="row" > | ||
<div class="row items-baseline justify-start"> | ||
<div class="font-h65 text-white" style="flex: 1">Computational Biology - UM</div> | ||
</div> | ||
</q-toolbar-title> | ||
</router-link> | ||
<div> | ||
</div> | ||
<div class="flex items-end gt-sm q-mr-lg"> | ||
<q-btn flat to="/vpatch" target="_blank" :label="$t('vpatch')"/> | ||
<q-btn flat to="/github" target="_blank" :label="$t('github')"/> | ||
<q-btn flat to="/contact" target="_blank" :label="$t('contact')"/> | ||
</div> | ||
|
||
<div class="lt-md"> | ||
<q-btn-dropdown dropdown-icon="change_history"> | ||
<q-list class="bg-primary text-white"> | ||
|
||
<q-item clickable v-close-popup to="/vpatch"> | ||
<q-item-section> | ||
<q-item-label>{{ $t('vpatch') }}</q-item-label> | ||
</q-item-section> | ||
</q-item> | ||
|
||
<q-item clickable v-close-popup to="/github"> | ||
<q-item-section> | ||
<q-item-label>{{ $t('github') }}</q-item-label> | ||
</q-item-section> | ||
</q-item> | ||
|
||
<q-item clickable v-close-popup to="/contact"> | ||
<q-item-section> | ||
<q-item-label>{{ $t('contact') }}</q-item-label> | ||
</q-item-section> | ||
</q-item> | ||
|
||
</q-list> | ||
</q-btn-dropdown> | ||
</div> | ||
|
||
</q-toolbar> | ||
</q-header> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "LandHeader", | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
a { | ||
text-decoration: none; | ||
} | ||
.q-item.q-router-link--active, .q-item--active { | ||
color: white; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
// app global css in SCSS form | ||
h1,h2,h3,h4,h5,h6, p{ | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.margins{ | ||
max-width: 1920px; | ||
margin: 0 auto; | ||
} | ||
a{ | ||
text-decoration: none; | ||
color: inherit; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,106 +1,32 @@ | ||
<template> | ||
<q-layout view="lHh Lpr lFf"> | ||
<q-header elevated> | ||
<q-toolbar> | ||
<q-btn | ||
flat | ||
dense | ||
round | ||
icon="menu" | ||
aria-label="Menu" | ||
@click="toggleLeftDrawer" | ||
/> | ||
<q-layout class=""> | ||
<LandHeader/> | ||
<div class="flex column no-wrap" style="height: 100vh"> | ||
<q-page-container> | ||
<router-view/> | ||
</q-page-container> | ||
</div> | ||
|
||
<q-toolbar-title> | ||
Quasar App | ||
</q-toolbar-title> | ||
|
||
<div>Quasar v{{ $q.version }}</div> | ||
</q-toolbar> | ||
</q-header> | ||
|
||
<q-drawer | ||
v-model="leftDrawerOpen" | ||
show-if-above | ||
bordered | ||
> | ||
<q-list> | ||
<q-item-label | ||
header | ||
> | ||
Essential Links | ||
</q-item-label> | ||
|
||
<EssentialLink | ||
v-for="link in linksList" | ||
:key="link.title" | ||
v-bind="link" | ||
/> | ||
</q-list> | ||
</q-drawer> | ||
|
||
<q-page-container> | ||
<router-view /> | ||
</q-page-container> | ||
</q-layout> | ||
|
||
</template> | ||
|
||
<script setup> | ||
import { ref } from 'vue' | ||
import EssentialLink from 'components/EssentialLink.vue' | ||
<script> | ||
import {defineComponent, onMounted} from 'vue'; | ||
import LandHeader from "components/LandHeader.vue"; | ||
defineOptions({ | ||
name: 'MainLayout' | ||
}) | ||
const linksList = [ | ||
{ | ||
title: 'Docs', | ||
caption: 'quasar.dev', | ||
icon: 'school', | ||
link: 'https://quasar.dev' | ||
export default defineComponent({ | ||
name: 'MainLayout', components: { | ||
LandHeader | ||
}, | ||
{ | ||
title: 'Github', | ||
caption: 'github.com/quasarframework', | ||
icon: 'code', | ||
link: 'https://github.com/quasarframework' | ||
data() { | ||
return { | ||
drawerLeft: true | ||
} | ||
}, | ||
{ | ||
title: 'Discord Chat Channel', | ||
caption: 'chat.quasar.dev', | ||
icon: 'chat', | ||
link: 'https://chat.quasar.dev' | ||
setup() { | ||
return {} | ||
}, | ||
{ | ||
title: 'Forum', | ||
caption: 'forum.quasar.dev', | ||
icon: 'record_voice_over', | ||
link: 'https://forum.quasar.dev' | ||
}, | ||
{ | ||
title: 'Twitter', | ||
caption: '@quasarframework', | ||
icon: 'rss_feed', | ||
link: 'https://twitter.quasar.dev' | ||
}, | ||
{ | ||
title: 'Facebook', | ||
caption: '@QuasarFramework', | ||
icon: 'public', | ||
link: 'https://facebook.quasar.dev' | ||
}, | ||
{ | ||
title: 'Quasar Awesome', | ||
caption: 'Community Quasar projects', | ||
icon: 'favorite', | ||
link: 'https://awesome.quasar.dev' | ||
} | ||
] | ||
const leftDrawerOpen = ref(false) | ||
function toggleLeftDrawer () { | ||
leftDrawerOpen.value = !leftDrawerOpen.value | ||
} | ||
}); | ||
</script> |
Oops, something went wrong.