-
-
-
+
+ You may also like:
-
-
+ no-body
+ class="overflow-hidden mb-2"
+ >
+
+
+
+
+
+
+ {{ game.name }}
+
+
+
@@ -84,7 +93,7 @@ export default {
this.similarGames = this.similarGameIds ?
this.similarGameIds
- .filter(game => this.games && this.games[game])
+ .filter(game => this.games && this.games[game] && this.games[game].cover)
.map(game => this.games && this.games[game])
: [];
},
@@ -93,11 +102,4 @@ export default {
diff --git a/src/components/Shared/HomeButton.vue b/src/components/Shared/HomeButton.vue
index 0beccc69..2981c334 100644
--- a/src/components/Shared/HomeButton.vue
+++ b/src/components/Shared/HomeButton.vue
@@ -1,15 +1,15 @@
-
-
+
@@ -40,7 +40,4 @@ export default {
diff --git a/src/constants.js b/src/constants.js
index 3c9b95cf..37380b07 100644
--- a/src/constants.js
+++ b/src/constants.js
@@ -47,6 +47,105 @@ export const LINKS_CATEGORIES = {
18: { id: 'discord', svg: true },
};
+export const GENRE_ICONS = {
+ 2: 'fa-solid fa-computer-mouse',
+ 4: 'fa-solid fa-hand-fist',
+ 5: 'fa-solid fa-person-rifle',
+ 7: 'fa-solid fa-music',
+ 8: 'fa-solid fa-person-running',
+ 9: 'fa-solid fa-puzzle-piece',
+ 10: 'fa-solid fa-flag-checkered',
+ 12: 'fa-solid fa-shield',
+ 13: 'fa-solid fa-cube',
+ 14: 'fa-solid fa-futbol',
+ 15: 'fa-solid fa-chess',
+ 16: 'fa-solid fa-arrows-turn-to-dots',
+ 24: 'fa-solid fa-user-ninja',
+ 26: 'fa-solid fa-person-circle-question',
+ 30: 'fa-solid fa-table-tennis-paddle-ball',
+ 31: 'fa-solid fa-mountain-sun',
+ 32: 'fa-solid fa-gamepad',
+ 33: 'fa-solid fa-asterisk',
+ 35: 'fa-solid fa-chess-board',
+ 34: 'fa-solid fa-comments',
+ 36: 'fa-solid fa-network-wired',
+};
+
+// 1.4 Beat 'em up games
+// 3.4 Interactive movie
+// 3.5 Real-time 3D adventures
+// 4 Puzzle
+// 4.1 Breakout clone game
+// 4.2 Logical game
+// 4.2.1 Physics game
+// 4.2.2 Coding game
+// 4.3 Trial-and-error / exploration
+// 4.4 Hidden object game
+// 4.5 Reveal the picture game
+// 4.6 Tile-matching game
+// 4.7 Traditional puzzle game
+// 5 Role-playing
+// 5.1 Action RPG
+// 5.2 MMORPG
+// 5.3 Roguelikes
+// 5.4 Tactical RPG
+// 5.5 Sandbox RPG
+// 5.6 First-person party-based RPG
+// 5.7 JRPG
+// 5.8 Monster Tamer
+// 6 Simulation
+// 6.1 Construction and management simulation
+// 6.2 Life simulation
+// 6.3 Vehicle simulation
+// 7 Strategy
+// 7.1 4X game
+// 7.2 Artillery game
+// 7.3 Auto battler (Auto chess)
+// 7.4 Multiplayer online battle arena (MOBA)
+// 7.5 Real-time strategy (RTS)
+// 7.6 Real-time tactics (RTT)
+// 7.7 Tower defense
+// 7.8 Turn-based strategy (TBS)
+// 7.9 Turn-based tactics (TBT)
+// 7.10 Wargame
+// 7.11 Grand strategy wargame
+// 8 Sports
+// 8.1 Racing
+// 8.2 Sports game
+// 8.3 Competitive
+// 8.4 Sports-based fighting
+// 9 MMO
+// 10 Other notable genres
+// 10.1 Board game or card game
+// 10.2 Casino game
+// 10.3 Casual games
+// 10.4 Digital collectible card game
+// 10.5 Gacha game
+// 10.6 Horror game
+// 10.7 Idle game
+// 10.8 Logic game
+// 10.9 Party game
+// 10.10 Photography game
+// 10.11 Programming game
+// 10.12 Social deduction game
+// 10.13 Trivia game
+// 10.14 Typing game
+// 11 Video game genres by purpose
+// 11.1 Advergame
+// 11.2 Art game
+// 11.3 Casual game
+// 11.4 Christian game
+// 11.5 Educational game
+// 11.6 Esports
+// 11.7 Exergame
+// 11.8 Personalized game
+// 11.9 Serious game
+// 12 Sandbox / open world games
+// 12.1 Sandbox
+// 12.2 Creative
+// 12.3 Open world
+// 13
+
export const KEYBOARD_SHORTCUTS = {
'MODAL_keyboard-shortcuts': ['shift', '?'],
'MODAL_create-board': ['shift', 'c'],
diff --git a/src/pages/GamePage.vue b/src/pages/GamePage.vue
index c3ef7890..a7b5adbe 100644
--- a/src/pages/GamePage.vue
+++ b/src/pages/GamePage.vue
@@ -52,6 +52,8 @@ export default {
mounted() {
this.loadGame();
+
+ this.$store.dispatch('IGDB', { path: 'game_modes', data: 'fields *;' });
},
methods: {
diff --git a/src/pages/game/GameMediaPage.vue b/src/pages/game/GameMediaPage.vue
index cc1f74e4..b00d8dfc 100644
--- a/src/pages/game/GameMediaPage.vue
+++ b/src/pages/game/GameMediaPage.vue
@@ -1,4 +1,5 @@
+
diff --git a/src/store/actions.js b/src/store/actions.js
index 7229713c..51517285 100644
--- a/src/store/actions.js
+++ b/src/store/actions.js
@@ -68,7 +68,7 @@ export default {
LOAD_STEAM_GAME(context, steamGameId) {
return new Promise((resolve, reject) => {
// axios.get(`${API_BASE}/steam-game?gameId=${steamGameId}`)
- axios.get(`http://localhost:5001/gamebrary-8c736/us-central1/steam-game?gameId=${steamGameId}`)
+ axios.get(`${API_BASE}/steam-game?gameId=${steamGameId}`)
.then(({ data }) => {
const steamGameData = data[steamGameId];
@@ -478,7 +478,7 @@ export default {
LOAD_GOG_GAME(context, search) {
return new Promise((resolve, reject) => {
- axios.get(`http://localhost:5001/gamebrary-8c736/us-central1/gog?search=${search}`)
+ axios.get(`${API_BASE}/gog?search=${search}`)
.then(({ data }) => {
const game = data.totalGamesFound
? data.products[0]
diff --git a/src/styles/template.scss b/src/styles/template.scss
index 3ff0c65b..645c2762 100644
--- a/src/styles/template.scss
+++ b/src/styles/template.scss
@@ -223,7 +223,7 @@ $container-max-widths: (
// Set the number of columns and specify the width of the gutters.
$grid-columns: 12 !default;
-$grid-gutter-width: 30px !default;
+$grid-gutter-width: 8px !default;
$grid-row-columns: 6 !default;
diff --git a/static/logo.png b/static/logo.png
new file mode 100644
index 00000000..52f64083
Binary files /dev/null and b/static/logo.png differ