mirror of
https://github.com/romancm/gamebrary
synced 2024-11-23 19:53:14 +00:00
clean up for release
This commit is contained in:
parent
a6bac76319
commit
c680fe5824
11 changed files with 73 additions and 63 deletions
BIN
public/bg-tile.png
Normal file
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 |
|
@ -12,18 +12,25 @@
|
||||||
if (window.location.origin.indexOf('localhost') === -1) {
|
if (window.location.origin.indexOf('localhost') === -1) {
|
||||||
window['_fs_debug'] = false;
|
window['_fs_debug'] = false;
|
||||||
window['_fs_host'] = 'fullstory.com';
|
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';
|
window['_fs_namespace'] = 'FS';
|
||||||
(function(m,n,e,t,l,o,g,y){
|
(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;}
|
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=[];
|
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';
|
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);
|
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.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.anonymize=function(){g.identify(!!0)};
|
||||||
g.consent=function(a){g("consent",!arguments.length||a)};
|
g.shutdown=function(){g("rec",!1)};g.restart=function(){g("rec",!0)};
|
||||||
g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)};
|
g.log = function(a,b){g("log",[a,b])};
|
||||||
g.clearUserCookie=function(){};
|
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');
|
})(window,document,window['_fs_namespace'],'script','user');
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -2,27 +2,27 @@
|
||||||
<div>
|
<div>
|
||||||
<b-alert show variant="secondary" class="game-details">
|
<b-alert show variant="secondary" class="game-details">
|
||||||
<div v-if="gameModes">
|
<div v-if="gameModes">
|
||||||
<strong>{{ $t('board.gameModal.gameModes') }}:</strong>
|
<strong>{{ $t('board.gameModal.gameModes') }}: </strong>
|
||||||
<span class="text-wrap">{{ gameModes }}</span>
|
<span class="text-wrap">{{ gameModes }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="gameDevelopers">
|
<div v-if="gameDevelopers">
|
||||||
<strong>{{ $t('board.gameModal.developers') }}:</strong>
|
<strong>{{ $t('board.gameModal.developers') }}: </strong>
|
||||||
<span class="text-wrap">{{ gameDevelopers }}</span>
|
<span class="text-wrap">{{ gameDevelopers }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="gamePublishers">
|
<div v-if="gamePublishers">
|
||||||
<strong>{{ $t('board.gameModal.publishers') }}:</strong>
|
<strong>{{ $t('board.gameModal.publishers') }}: </strong>
|
||||||
<span class="text-wrap">{{ gamePublishers }}</span>
|
<span class="text-wrap">{{ gamePublishers }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="playerPerspectives">
|
<div v-if="playerPerspectives">
|
||||||
<strong>{{ $t('board.gameModal.perspective') }}:</strong>
|
<strong>{{ $t('board.gameModal.perspective') }}: </strong>
|
||||||
<span class="text-wrap">{{ playerPerspectives }}</span>
|
<span class="text-wrap">{{ playerPerspectives }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- TODO: add timeline -->
|
||||||
<ul class="timeline" v-if="releaseDates">
|
<!-- <ul class="timeline" v-if="releaseDates">
|
||||||
{{ $t('board.gameModal.releaseDate') }}
|
{{ $t('board.gameModal.releaseDate') }}
|
||||||
<li
|
<li
|
||||||
v-for="{ id, platform, date } in releaseDates"
|
v-for="{ id, platform, date } in releaseDates"
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
>
|
>
|
||||||
{{ date }} - {{ platform || 'N/A' }}
|
{{ date }} - {{ platform || 'N/A' }}
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul> -->
|
||||||
</b-alert>
|
</b-alert>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -23,22 +23,22 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<b-skeleton-img
|
<!-- <b-skeleton-img
|
||||||
v-if="loading"
|
v-if="loading"
|
||||||
width="100px"
|
width="100px"
|
||||||
height="100px"
|
height="100px"
|
||||||
/>
|
/> -->
|
||||||
|
|
||||||
<template v-else>
|
<!-- <template v-else>
|
||||||
<!-- <game-videos :videos="game.videos" v-if="game.videos" /> -->
|
<game-videos :videos="game.videos" v-if="game.videos" />
|
||||||
</template>
|
</template> -->
|
||||||
|
|
||||||
<game-websites :game="game" class="d-none d-md-inline" />
|
<game-websites :game="game" class="d-none d-md-inline" />
|
||||||
<game-notes />
|
<game-notes />
|
||||||
<b-button variant="info" @click="openGameNews">
|
<!-- <b-button variant="info" @click="openGameNews">
|
||||||
<!-- <b-badge>3</b-badge> -->
|
<b-badge>3</b-badge>
|
||||||
News about {{ game.name }}
|
News about {{ game.name }}
|
||||||
</b-button>
|
</b-button> -->
|
||||||
<!-- <pre>{{ game.genres.map(({ id }) => id) }}</pre> -->
|
<!-- <pre>{{ game.genres.map(({ id }) => id) }}</pre> -->
|
||||||
<!-- TODO: add bundles to game detail? -->
|
<!-- TODO: add bundles to game detail? -->
|
||||||
<!-- {{ game.bundles ? `Found in ${game.bundles.length} compilations.` : null }} -->
|
<!-- {{ game.bundles ? `Found in ${game.bundles.length} compilations.` : null }} -->
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
<div class="global-actions">
|
<div class="global-actions">
|
||||||
<portal-target name="headerActions" />
|
<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
|
Upgrade
|
||||||
</b-button>
|
</b-button> -->
|
||||||
|
|
||||||
<search-box class="d-none d-md-block" />
|
<search-box class="d-none d-md-block" />
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,3 @@ export default {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" rel="stylesheet/scss" scoped>
|
|
||||||
</style>
|
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
<b-button
|
<b-button
|
||||||
@click="session_signOut"
|
@click="session_signOut"
|
||||||
variant="secondary"
|
variant="light"
|
||||||
class="mb-2 mt-2"
|
class="mb-2 mt-2 mr-2"
|
||||||
>
|
>
|
||||||
{{ $t('global.signOut') }}
|
{{ $t('global.signOut') }}
|
||||||
</b-button>
|
</b-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template lang="html">
|
<template lang="html">
|
||||||
<b-container>
|
<div class="auth-page d-flex align-items-start">
|
||||||
<b-alert
|
<b-alert
|
||||||
class="mt-2 mx-auto text-center"
|
class="mt-2 mx-auto text-center"
|
||||||
:show="showExpiredAlert"
|
:show="showExpiredAlert"
|
||||||
|
@ -9,8 +9,10 @@
|
||||||
Session expired
|
Session expired
|
||||||
</b-alert>
|
</b-alert>
|
||||||
|
|
||||||
<section id="auth" class="mt-3" />
|
<b-card class="mx-auto mt-5">
|
||||||
</b-container>
|
<section id="auth" />
|
||||||
|
</b-card>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -156,3 +158,10 @@ export default {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" rel="stylesheet/scss" scoped>
|
||||||
|
.auth-page {
|
||||||
|
background-image: url('~/public/bg-tile.png');
|
||||||
|
height: calc(100vh - 46px);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template lang="html">
|
<template lang="html">
|
||||||
<b-container fluid>
|
<b-container fluid>
|
||||||
<page-title title="General settings" />
|
<page-title title="General settings" />
|
||||||
<game-detail-settings />
|
<!-- <game-detail-settings /> -->
|
||||||
<!-- <dock-settings /> -->
|
<!-- <dock-settings /> -->
|
||||||
<language-settings />
|
<language-settings />
|
||||||
</b-container>
|
</b-container>
|
||||||
|
@ -10,12 +10,12 @@
|
||||||
<script>
|
<script>
|
||||||
// import DockSettings from '@/components/Settings/DockSettings';
|
// import DockSettings from '@/components/Settings/DockSettings';
|
||||||
import LanguageSettings from '@/components/Settings/LanguageSettings';
|
import LanguageSettings from '@/components/Settings/LanguageSettings';
|
||||||
import GameDetailSettings from '@/components/Settings/GameDetailSettings';
|
// import GameDetailSettings from '@/components/Settings/GameDetailSettings';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
// DockSettings,
|
// DockSettings,
|
||||||
GameDetailSettings,
|
// GameDetailSettings,
|
||||||
LanguageSettings,
|
LanguageSettings,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,68 +4,68 @@
|
||||||
<b-col cols="4" sm="3" lg="2">
|
<b-col cols="4" sm="3" lg="2">
|
||||||
<b-list-group>
|
<b-list-group>
|
||||||
<b-list-group-item exact exact-active-class="bg-primary text-white" :to="{ name: 'general-settings' }">
|
<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>
|
<small>General</small>
|
||||||
</b-list-group-item>
|
</b-list-group-item>
|
||||||
|
|
||||||
<b-list-group-item exact exact-active-class="bg-primary text-white" :to="{ name: 'wallpapers-settings' }">
|
<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>
|
<small>Wallpapers</small>
|
||||||
</b-list-group-item>
|
</b-list-group-item>
|
||||||
|
|
||||||
<b-list-group-item exact exact-active-class="bg-primary text-white" :to="{ name: 'profile-settings' }">
|
<!-- <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 />
|
<i class="mr-2 fa-solid fa-user fa-fw" aria-hidden />
|
||||||
<small>Profile</small>
|
<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' }">
|
<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>
|
<small>Notes</small>
|
||||||
</b-list-group-item>
|
</b-list-group-item>
|
||||||
|
|
||||||
<b-list-group-item exact exact-active-class="bg-primary text-white" :to="{ name: 'tags-settings' }">
|
<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>
|
<small>Tags</small>
|
||||||
</b-list-group-item>
|
</b-list-group-item>
|
||||||
|
|
||||||
<b-list-group-item exact exact-active-class="bg-primary text-white" :to="{ name: 'account-settings' }">
|
<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>
|
<small>Account</small>
|
||||||
</b-list-group-item>
|
</b-list-group-item>
|
||||||
|
|
||||||
<b-list-group-item exact exact-active-class="bg-primary text-white" :to="{ name: 'steam-settings' }">
|
<!-- <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>
|
<i class="mr-2 fab fa-steam fa-fw" aria-hidden></i>
|
||||||
<small>Steam</small>
|
<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' }">
|
<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>
|
<small>Releases</small>
|
||||||
</b-list-group-item>
|
</b-list-group-item>
|
||||||
|
|
||||||
<hr />
|
<!-- <hr /> -->
|
||||||
|
|
||||||
<b-list-group-item :to="{ name: 'profiles' }">
|
<!-- <b-list-group-item :to="{ name: 'profiles' }">
|
||||||
<i class="fa-solid fa-people-group fa-fw" aria-hidden />
|
<i class="mr-2 fa-solid fa-people-group fa-fw" aria-hidden />
|
||||||
<small>Profiles</small>
|
<small>Profiles</small>
|
||||||
</b-list-group-item>
|
</b-list-group-item> -->
|
||||||
|
|
||||||
<b-list-group-item :to="{ name: 'dev-tools' }">
|
<!-- <b-list-group-item :to="{ name: 'dev-tools' }">
|
||||||
<i class="fa-solid fa-code fa-fw" aria-hidden />
|
<i class="mr-2 fa-solid fa-code fa-fw" aria-hidden />
|
||||||
|
|
||||||
<small>Dev tools</small>
|
<small>Dev tools</small>
|
||||||
</b-list-group-item>
|
</b-list-group-item> -->
|
||||||
|
|
||||||
<!-- <a
|
<!-- <a
|
||||||
href="https://github.com/romancm/gamebrary"
|
href="https://github.com/romancm/gamebrary"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<i class="fab fa-github"></i>
|
<i class="mr-2 fab fa-github"></i>
|
||||||
</a> -->
|
</a> -->
|
||||||
|
|
||||||
<small class="my-2">
|
<!-- <small class="my-2">
|
||||||
<a v-b-modal.keyboard-shortcuts>Keyboard shortcuts</a>
|
<a v-b-modal.keyboard-shortcuts>Keyboard shortcuts</a>
|
||||||
</small>
|
</small> -->
|
||||||
|
|
||||||
<!-- {{ $t('global.donateMessage') }} -->
|
<!-- {{ $t('global.donateMessage') }} -->
|
||||||
<!-- <a href="https://www.paypal.me/RomanCervantes/5" target="_blank">
|
<!-- <a href="https://www.paypal.me/RomanCervantes/5" target="_blank">
|
||||||
|
@ -111,6 +111,3 @@ export default {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" rel="stylesheet/scss" scoped>
|
|
||||||
</style>
|
|
||||||
|
|
Loading…
Reference in a new issue