clean up for release

This commit is contained in:
Gamebrary 2022-05-03 15:44:35 -07:00
parent a6bac76319
commit c680fe5824
11 changed files with 73 additions and 63 deletions

BIN
public/bg-tile.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 929 B

View file

@ -12,18 +12,25 @@
if (window.location.origin.indexOf('localhost') === -1) {
window['_fs_debug'] = false;
window['_fs_host'] = 'fullstory.com';
window['_fs_org'] = 'HX3XV';
window['_fs_script'] = 'edge.fullstory.com/s/fs.js';
window['_fs_org'] = 'o-1A5M62-na1';
window['_fs_namespace'] = 'FS';
(function(m,n,e,t,l,o,g,y){
if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');} return;}
g=m[e]=function(a,b,s){g.q?g.q.push([a,b,s]):g._api(a,b,s);};g.q=[];
o=n.createElement(t);o.async=1;o.src='https://'+_fs_host+'/s/fs.js';
y=n.getElementsByTagName(t)[0];y.parentNode.insertBefore(o,y);
g.identify=function(i,v,s){g(l,{uid:i},s);if(v)g(l,v,s)};g.setUserVars=function(v,s){g(l,v,s)};g.event=function(i,v,s){g('event',{n:i,p:v},s)};
g.shutdown=function(){g("rec",!1)};g.restart=function(){g("rec",!0)};
g.consent=function(a){g("consent",!arguments.length||a)};
g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)};
g.clearUserCookie=function(){};
if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');} return;}
g=m[e]=function(a,b,s){g.q?g.q.push([a,b,s]):g._api(a,b,s);};g.q=[];
o=n.createElement(t);o.async=1;o.crossOrigin='anonymous';o.src='https://'+_fs_script;
y=n.getElementsByTagName(t)[0];y.parentNode.insertBefore(o,y);
g.identify=function(i,v,s){g(l,{uid:i},s);if(v)g(l,v,s)};g.setUserVars=function(v,s){g(l,v,s)};g.event=function(i,v,s){g('event',{n:i,p:v},s)};
g.anonymize=function(){g.identify(!!0)};
g.shutdown=function(){g("rec",!1)};g.restart=function(){g("rec",!0)};
g.log = function(a,b){g("log",[a,b])};
g.consent=function(a){g("consent",!arguments.length||a)};
g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)};
g.clearUserCookie=function(){};
g.setVars=function(n, p){g('setVars',[n,p]);};
g._w={};y='XMLHttpRequest';g._w[y]=m[y];y='fetch';g._w[y]=m[y];
if(m[y])m[y]=function(){return g._w[y].apply(this,arguments)};
g._v="1.3.0";
})(window,document,window['_fs_namespace'],'script','user');
}
</script>

View file

@ -2,27 +2,27 @@
<div>
<b-alert show variant="secondary" class="game-details">
<div v-if="gameModes">
<strong>{{ $t('board.gameModal.gameModes') }}:</strong>
<strong>{{ $t('board.gameModal.gameModes') }}: </strong>
<span class="text-wrap">{{ gameModes }}</span>
</div>
<div v-if="gameDevelopers">
<strong>{{ $t('board.gameModal.developers') }}:</strong>
<strong>{{ $t('board.gameModal.developers') }}: </strong>
<span class="text-wrap">{{ gameDevelopers }}</span>
</div>
<div v-if="gamePublishers">
<strong>{{ $t('board.gameModal.publishers') }}:</strong>
<strong>{{ $t('board.gameModal.publishers') }}: </strong>
<span class="text-wrap">{{ gamePublishers }}</span>
</div>
<div v-if="playerPerspectives">
<strong>{{ $t('board.gameModal.perspective') }}:</strong>
<strong>{{ $t('board.gameModal.perspective') }}: </strong>
<span class="text-wrap">{{ playerPerspectives }}</span>
</div>
<ul class="timeline" v-if="releaseDates">
<!-- TODO: add timeline -->
<!-- <ul class="timeline" v-if="releaseDates">
{{ $t('board.gameModal.releaseDate') }}
<li
v-for="{ id, platform, date } in releaseDates"
@ -31,7 +31,7 @@
>
{{ date }} - {{ platform || 'N/A' }}
</li>
</ul>
</ul> -->
</b-alert>
</div>
</template>

View file

@ -23,22 +23,22 @@
</div>
</div>
<b-skeleton-img
<!-- <b-skeleton-img
v-if="loading"
width="100px"
height="100px"
/>
/> -->
<template v-else>
<!-- <game-videos :videos="game.videos" v-if="game.videos" /> -->
</template>
<!-- <template v-else>
<game-videos :videos="game.videos" v-if="game.videos" />
</template> -->
<game-websites :game="game" class="d-none d-md-inline" />
<game-notes />
<b-button variant="info" @click="openGameNews">
<!-- <b-badge>3</b-badge> -->
<!-- <b-button variant="info" @click="openGameNews">
<b-badge>3</b-badge>
News about {{ game.name }}
</b-button>
</b-button> -->
<!-- <pre>{{ game.genres.map(({ id }) => id) }}</pre> -->
<!-- TODO: add bundles to game detail? -->
<!-- {{ game.bundles ? `Found in ${game.bundles.length} compilations.` : null }} -->

View file

@ -26,9 +26,9 @@
<div class="global-actions">
<portal-target name="headerActions" />
<b-button v-if="user" class="mr-2" variant="success" :to="{ name: 'upgrade' }">
<!-- <b-button v-if="user" class="mr-2" variant="success" :to="{ name: 'upgrade' }">
Upgrade
</b-button>
</b-button> -->
<search-box class="d-none d-md-block" />

View file

@ -37,6 +37,3 @@ export default {
},
};
</script>
<style lang="scss" rel="stylesheet/scss" scoped>
</style>

View file

@ -6,8 +6,8 @@
<b-button
@click="session_signOut"
variant="secondary"
class="mb-2 mt-2"
variant="light"
class="mb-2 mt-2 mr-2"
>
{{ $t('global.signOut') }}
</b-button>

View file

@ -1,5 +1,5 @@
<template lang="html">
<b-container>
<div class="auth-page d-flex align-items-start">
<b-alert
class="mt-2 mx-auto text-center"
:show="showExpiredAlert"
@ -9,8 +9,10 @@
Session expired
</b-alert>
<section id="auth" class="mt-3" />
</b-container>
<b-card class="mx-auto mt-5">
<section id="auth" />
</b-card>
</div>
</template>
<script>
@ -156,3 +158,10 @@ export default {
},
};
</script>
<style lang="scss" rel="stylesheet/scss" scoped>
.auth-page {
background-image: url('~/public/bg-tile.png');
height: calc(100vh - 46px);
}
</style>

View file

@ -1,7 +1,7 @@
<template lang="html">
<b-container fluid>
<page-title title="General settings" />
<game-detail-settings />
<!-- <game-detail-settings /> -->
<!-- <dock-settings /> -->
<language-settings />
</b-container>
@ -10,12 +10,12 @@
<script>
// import DockSettings from '@/components/Settings/DockSettings';
import LanguageSettings from '@/components/Settings/LanguageSettings';
import GameDetailSettings from '@/components/Settings/GameDetailSettings';
// import GameDetailSettings from '@/components/Settings/GameDetailSettings';
export default {
components: {
// DockSettings,
GameDetailSettings,
// GameDetailSettings,
LanguageSettings,
},
};

View file

@ -4,68 +4,68 @@
<b-col cols="4" sm="3" lg="2">
<b-list-group>
<b-list-group-item exact exact-active-class="bg-primary text-white" :to="{ name: 'general-settings' }">
<i class="fas fa-sliders-h fa-fw" aria-hidden />
<i class="mr-2 fas fa-sliders-h fa-fw" aria-hidden />
<small>General</small>
</b-list-group-item>
<b-list-group-item exact exact-active-class="bg-primary text-white" :to="{ name: 'wallpapers-settings' }">
<i class="fa-solid fa-images fa-fw" aria-hidden />
<i class="mr-2 fa-solid fa-images fa-fw" aria-hidden />
<small>Wallpapers</small>
</b-list-group-item>
<b-list-group-item exact exact-active-class="bg-primary text-white" :to="{ name: 'profile-settings' }">
<i class="fa-solid fa-user fa-fw" aria-hidden />
<!-- <b-list-group-item exact exact-active-class="bg-primary text-white" :to="{ name: 'profile-settings' }">
<i class="mr-2 fa-solid fa-user fa-fw" aria-hidden />
<small>Profile</small>
</b-list-group-item>
</b-list-group-item> -->
<b-list-group-item exact exact-active-class="bg-primary text-white" :to="{ name: 'notes-settings' }">
<i class="fa-solid fa-note-sticky fa-fw" aria-hidden />
<i class="mr-2 fa-solid fa-note-sticky fa-fw" aria-hidden />
<small>Notes</small>
</b-list-group-item>
<b-list-group-item exact exact-active-class="bg-primary text-white" :to="{ name: 'tags-settings' }">
<i class="fa-solid fa-tags fa-fw" aria-hidden />
<i class="mr-2 fa-solid fa-tags fa-fw" aria-hidden />
<small>Tags</small>
</b-list-group-item>
<b-list-group-item exact exact-active-class="bg-primary text-white" :to="{ name: 'account-settings' }">
<i class="fa-solid fa-user-shield fa-fw" aria-hidden />
<i class="mr-2 fa-solid fa-user-shield fa-fw" aria-hidden />
<small>Account</small>
</b-list-group-item>
<b-list-group-item exact exact-active-class="bg-primary text-white" :to="{ name: 'steam-settings' }">
<i class="fab fa-steam fa-fw" aria-hidden></i>
<!-- <b-list-group-item exact exact-active-class="bg-primary text-white" :to="{ name: 'steam-settings' }">
<i class="mr-2 fab fa-steam fa-fw" aria-hidden></i>
<small>Steam</small>
</b-list-group-item>
</b-list-group-item> -->
<b-list-group-item exact exact-active-class="bg-primary text-white" :to="{ name: 'releases' }">
<i class="fas fa-rocket fa-fw" aria-hidden></i>
<i class="mr-2 fas fa-rocket fa-fw" aria-hidden></i>
<small>Releases</small>
</b-list-group-item>
<hr />
<!-- <hr /> -->
<b-list-group-item :to="{ name: 'profiles' }">
<i class="fa-solid fa-people-group fa-fw" aria-hidden />
<!-- <b-list-group-item :to="{ name: 'profiles' }">
<i class="mr-2 fa-solid fa-people-group fa-fw" aria-hidden />
<small>Profiles</small>
</b-list-group-item>
</b-list-group-item> -->
<b-list-group-item :to="{ name: 'dev-tools' }">
<i class="fa-solid fa-code fa-fw" aria-hidden />
<!-- <b-list-group-item :to="{ name: 'dev-tools' }">
<i class="mr-2 fa-solid fa-code fa-fw" aria-hidden />
<small>Dev tools</small>
</b-list-group-item>
</b-list-group-item> -->
<!-- <a
href="https://github.com/romancm/gamebrary"
target="_blank"
>
<i class="fab fa-github"></i>
<i class="mr-2 fab fa-github"></i>
</a> -->
<small class="my-2">
<!-- <small class="my-2">
<a v-b-modal.keyboard-shortcuts>Keyboard shortcuts</a>
</small>
</small> -->
<!-- {{ $t('global.donateMessage') }} -->
<!-- <a href="https://www.paypal.me/RomanCervantes/5" target="_blank">
@ -111,6 +111,3 @@ export default {
},
};
</script>
<style lang="scss" rel="stylesheet/scss" scoped>
</style>