From e5e47ff96e60eb2c85b5ff7847be6d731bac15fc Mon Sep 17 00:00:00 2001 From: Phan Huy Tran Date: Wed, 4 Jun 2025 11:17:36 +0200 Subject: [PATCH] feat: improve game grid --- .../src/app/feature/home/home.component.html | 60 ++++++++++++++----- frontend/src/styles.css | 6 +- 2 files changed, 49 insertions(+), 17 deletions(-) diff --git a/frontend/src/app/feature/home/home.component.html b/frontend/src/app/feature/home/home.component.html index 54f9e7a..c195acf 100644 --- a/frontend/src/app/feature/home/home.component.html +++ b/frontend/src/app/feature/home/home.component.html @@ -18,24 +18,52 @@
-
-
-
- -
+
+ +
+
+
+
-

{{ game.name }}

- +
+

{{ game.name }}

+ +
+
+
+
+
+ + +
+
+
+ +
+
+

{{ game.name }}

+ +
diff --git a/frontend/src/styles.css b/frontend/src/styles.css index 57a0f6a..43d7156 100644 --- a/frontend/src/styles.css +++ b/frontend/src/styles.css @@ -52,7 +52,7 @@ a { } .slider-grid { - @apply min-w-full grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4; + @apply min-w-full grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4; } .welcome-bonus { @@ -71,6 +71,10 @@ a { @apply font-bold text-text-primary text-sm mb-2; } +.game-heading { + @apply font-bold text-text-primary text-lg mb-2; +} + .game-heading-xl { @apply font-bold text-text-primary text-xl mb-2; }