diff --git a/app.go b/app.go index 0d0e6f3..79c976f 100644 --- a/app.go +++ b/app.go @@ -1,6 +1,7 @@ package main import ( + "conjure-os/lib/models" "context" "fmt" @@ -37,6 +38,6 @@ func (a *App) Greet(name string) string { func (a *App) SelectGame(id string) { } -func (a *App) LoadGames() []provider.Game { - return provider.ObtainConjureGameInfo() +func (a *App) LoadGames() []models.Game { + return provider.GetConjureGameInfo() } diff --git a/frontend/package.json.md5 b/frontend/package.json.md5 index 3dd94f5..7f01a6d 100755 --- a/frontend/package.json.md5 +++ b/frontend/package.json.md5 @@ -1 +1 @@ -1f77c5bc2ac4189b53ca32c331845b25 \ No newline at end of file +0439ac4c00128949ad585ea9e2f68e8e \ No newline at end of file diff --git a/frontend/src/App.vue b/frontend/src/App.vue index bdced78..fdb39e6 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -50,7 +50,7 @@ const optionsOpen = ref(false); onMounted(async () => { games.value = await fetchGames(); - tags.value = [...new Set(games.value.flatMap(game => game.tags))]; + tags.value = [...new Set(games.value.flatMap(game => game.Genres))]; selectedTag.value = tags.value[0]; selectedGame.value = store.filteredGames[0]; }); diff --git a/frontend/src/components/GameCarousel.vue b/frontend/src/components/GameCarousel.vue index 2465388..93bf1c2 100644 --- a/frontend/src/components/GameCarousel.vue +++ b/frontend/src/components/GameCarousel.vue @@ -4,17 +4,17 @@
@@ -33,7 +33,9 @@