mirror of
https://github.com/PhaseII-eAmusement-Network/PhaseWeb3-Vue.git
synced 2026-09-27 19:26:34 -05:00
Clean up mobile game showcase cards
This commit is contained in:
@@ -59,7 +59,7 @@ function loadGamePage() {
|
||||
|
||||
const selectedGame = getGameInfo(props.game);
|
||||
const cardStyle = `
|
||||
background-image: linear-gradient(to left, transparent, rgba(0, 0, 0, 1)),
|
||||
background-image: linear-gradient(to top, transparent, rgba(0, 0, 0, .6)),
|
||||
url('${selectedGame.cardBG}');
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
@@ -68,7 +68,7 @@ const cardStyle = `
|
||||
|
||||
<template>
|
||||
<button
|
||||
class="flex rounded-2xl hover:scale-[1.01] hover:shadow-xl hover:outline outline-blue-500/50 hover:bg-slate-500 hover:dark:bg-slate-950 transition-all duration-10"
|
||||
class="flex rounded-2xl hover:scale-[1.01] hover:shadow-xl hover:outline outline-blue-500/50 hover:bg-slate-500 hover:dark:bg-slate-950 transition-all duration-1"
|
||||
:style="cardStyle"
|
||||
@click="loadGamePage()"
|
||||
>
|
||||
@@ -78,12 +78,15 @@ const cardStyle = `
|
||||
<CardBoxComponentBody>
|
||||
<BaseLevel>
|
||||
<BaseLevel type="justify-start">
|
||||
<GameIcon class="md:mr-6" :path="selectedGame.icon" />
|
||||
<GameIcon
|
||||
class="md:mr-6 scale-110 md:scale-100"
|
||||
:path="selectedGame.icon"
|
||||
/>
|
||||
<div class="text-center space-y-1 md:text-left md:mr-6">
|
||||
<h2 class="text-xl sr-only sm:not-sr-only">
|
||||
{{ selectedGame.name }}
|
||||
</h2>
|
||||
<h2 class="text-xl font-semibold not-sr-only sm:sr-only">
|
||||
<h2 class="text-xl font-semibold not-sr-only sm:sr-only -my-2">
|
||||
{{
|
||||
selectedGame.shortName
|
||||
? selectedGame.shortName
|
||||
|
||||
@@ -108,7 +108,6 @@ export const useMainStore = defineStore("main", {
|
||||
|
||||
// Start loading after the specified delay
|
||||
startLoading();
|
||||
console.log(this.loadingPool);
|
||||
|
||||
const baseHeaders = {
|
||||
"App-Auth-Key": apiKey,
|
||||
|
||||
Reference in New Issue
Block a user