Changed dashboard backdrop style

This commit is contained in:
Gamebrary 2020-09-16 17:27:03 -07:00
parent eca57748a9
commit 4a86eb2921

View file

@ -1,19 +1,16 @@
<template lang="html"> <template lang="html">
<div> <div :style="`
<b-jumbotron background-image: linear-gradient(transparent, #222 50%), url(${ coverScreenshot });
header="Welcome to Gamebrary" background-size: 100%;
text-variant="white" background-repeat: no-repeat;
header-level="4"
class="text-center rounded-0"
lead="The open source video game collection management tool."
:style="`
background-image: url('${ coverScreenshot }');
background-size: cover;
height: 50vh;
`" `"
> >
<div class="hero text-center py-5 my-5">
<h3>Welcome to Gamebrary</h3>
<p class="lead">The open source video game collection management tool.</p>
<small v-if="coverGame">Screenshot from <strong>{{ coverGame.name }}</strong></small> <small v-if="coverGame">Screenshot from <strong>{{ coverGame.name }}</strong></small>
</b-jumbotron> </div>
<div class="container dashboard"> <div class="container dashboard">
<b-tabs <b-tabs
@ -34,17 +31,9 @@
<b-tab title-link-class="p-2 px-5" title="Settings"> <b-tab title-link-class="p-2 px-5" title="Settings">
<h5 class="mb-2">Settings</h5> <h5 class="mb-2">Settings</h5>
<b-form-row>
<b-col
class="d-flex mt-2"
cols="12"
sm="6"
md="4"
lg="3"
>
<b-card <b-card
v-b-modal:tags-settings v-b-modal:tags-settings
class="clickable w-100" class="clickable w-100 mb-3"
> >
<template v-slot:header> <template v-slot:header>
<b-icon icon="tags" /> <b-icon icon="tags" />
@ -54,73 +43,36 @@
<p>Tags are a great way to organize and manage your video game collection. <p>Tags are a great way to organize and manage your video game collection.
Add, edit or delete tags.</p> Add, edit or delete tags.</p>
</b-card> </b-card>
</b-col>
<b-col
class="d-flex mt-2"
cols="12"
sm="6"
md="4"
lg="3"
>
<b-card <b-card
v-b-modal:wallpapers v-b-modal:wallpapers
header="Wallpapers" header="Wallpapers"
class="clickable w-100" class="clickable w-100 mb-3"
> >
<b-card-text> <b-card-text>
Manage board wallpapers Manage board wallpapers
</b-card-text> </b-card-text>
</b-card> </b-card>
</b-col>
<b-col
class="d-flex mt-2"
cols="12"
sm="6"
md="4"
lg="3"
>
<b-card <b-card
v-b-modal:language v-b-modal:language
header="Language" header="Language"
class="clickable w-100" class="clickable w-100 mb-3"
> >
<b-card-text> <b-card-text>
Change language Change language
</b-card-text> </b-card-text>
</b-card> </b-card>
</b-col>
<b-col
class="d-flex mt-2"
cols="12"
sm="6"
md="4"
lg="3"
>
<b-card <b-card
v-b-modal:themes v-b-modal:themes
header="Theme" header="Theme"
class="clickable w-100" class="clickable w-100 mb-3"
> >
<b-card-text> <b-card-text>
Change UI theme Change UI theme
</b-card-text> </b-card-text>
</b-card> </b-card>
</b-col>
</b-form-row>
</b-tab>
<b-tab title-link-class="p-2 px-5" lazy>
<template v-slot:title>
Releases <b-badge variant="success" v-if="notification">New!</b-badge>
</template>
<h5 class="mb-2">Releases</h5>
<p>An archive of every release weve done that we have a record of.</p>
<releases />
</b-tab> </b-tab>
<b-tab title-link-class="p-2 px-5" title="Account" lazy> <b-tab title-link-class="p-2 px-5" title="Account" lazy>
@ -140,7 +92,6 @@ import PageFooter from '@/components/PageFooter';
import Account from '@/components/Settings/Account'; import Account from '@/components/Settings/Account';
import Releases from '@/components/Settings/Releases'; import Releases from '@/components/Settings/Releases';
import Boards from '@/components/Boards'; import Boards from '@/components/Boards';
import { mapState } from 'vuex';
export default { export default {
components: { components: {
@ -158,8 +109,6 @@ export default {
}, },
computed: { computed: {
...mapState(['notification']),
coverScreenshot() { coverScreenshot() {
const baseUrl = 'https://images.igdb.com/igdb/image/upload/t_1080p_2x/'; const baseUrl = 'https://images.igdb.com/igdb/image/upload/t_1080p_2x/';
return this.coverGame && this.coverGame.screenshots.length return this.coverGame && this.coverGame.screenshots.length
@ -179,7 +128,7 @@ export default {
</script> </script>
<style lang="scss" rel="stylesheet/scss" scoped> <style lang="scss" rel="stylesheet/scss" scoped>
.jumbotron { .hero {
text-shadow: 2px 3px 5px rgba(0,0,0,0.5); text-shadow: 2px 3px 5px rgba(0,0,0,0.5);
} }
</style> </style>