From 5832384d94d27fbca00930fd641ea63befbb77c7 Mon Sep 17 00:00:00 2001 From: Kostya Date: Wed, 15 Nov 2023 22:02:16 +0300 Subject: [PATCH] added bg for each id elem from array and change placed id in template, homepage --- luckydiamond/src/pages/HomePage.vue | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/luckydiamond/src/pages/HomePage.vue b/luckydiamond/src/pages/HomePage.vue index 7d8ae8e..a93b345 100644 --- a/luckydiamond/src/pages/HomePage.vue +++ b/luckydiamond/src/pages/HomePage.vue @@ -27,26 +27,24 @@
-
  • - {{ mode.title }} +
    + {{ mode.title }} +
-
  • -
    +
    {{ mode.title }}
  • @@ -57,9 +55,8 @@
  • -
    +
    {{ mode.title }}
  • @@ -204,4 +201,19 @@ export default { height: 212px; background: #d5d5d5; } +.gamemode__main #maincard-1 { + background: url("../assets/bg-gamemode/bg-main.png"); +} +.gamemode__line--first #linefirst-2 { + background: url("../assets/bg-gamemode/bg-dg.png"); +} +.gamemode__line--first #linefirst-3 { + background: url("../assets/bg-gamemode/bg-cg.png"); +} +.gamemode__line--two #linetwo-4 { + background: url("../assets/bg-gamemode/bg-jg.png"); +} +.gamemode__line--two #linetwo-5 { + background: url("../assets/bg-gamemode/bg-mg.png"); +} \ No newline at end of file