From 475406dbaa288e8aeea0502be4e097b7c72ac0b5 Mon Sep 17 00:00:00 2001 From: Jan-Marlon Leibl Date: Wed, 5 Feb 2025 14:33:31 +0100 Subject: [PATCH] feat(landing): add landing component with animations and services --- frontend/src/app/app.routes.ts | 7 +- .../src/app/landing/landing.component.html | 189 +++++++++++++++--- frontend/src/app/services/game.service.ts | 4 +- 3 files changed, 167 insertions(+), 33 deletions(-) diff --git a/frontend/src/app/app.routes.ts b/frontend/src/app/app.routes.ts index 3a96b8f..36b5bb5 100644 --- a/frontend/src/app/app.routes.ts +++ b/frontend/src/app/app.routes.ts @@ -1,6 +1,9 @@ import { Routes } from '@angular/router'; -import {LandingPageComponent} from "./landing-page/landing-page.component"; +import { LandingComponent } from './landing/landing.component'; export const routes: Routes = [ - { path: '', component: LandingPageComponent } + { + path: '', + component: LandingComponent, + }, ]; diff --git a/frontend/src/app/landing/landing.component.html b/frontend/src/app/landing/landing.component.html index fb8924f..5922ccc 100644 --- a/frontend/src/app/landing/landing.component.html +++ b/frontend/src/app/landing/landing.component.html @@ -6,7 +6,20 @@ [class.py-1.5]="!isScrolled" >
- +
+ + 🎰 + + {{ winner.name }} + {{ winner.isVIP ? '(VIP)' : '' }} + won €{{ winner.amount | number }} + ({{ winner.multiplier }}x) + + +
@@ -47,7 +60,15 @@ (78.9% Win Rate) - START PLAYING + @@ -93,9 +114,9 @@
- €{{ (currentJackpot$ | async) ?? 0 | number }} + €{{ currentJackpot$ | async | number }}
@@ -136,12 +157,24 @@
- - CLAIM YOUR €10,000 NOW - +
+
+ + Instant Withdrawals +
24/7 VIP Support @@ -155,9 +188,27 @@
- +
+
+ + + 🎰 {{ winner.name }} + {{ + winner.isVIP ? '(VIP)' : '' + }} + turned €{{ winner.betAmount }} into + €{{ winner.amount | number }} + ({{ winner.multiplier }}x) + + +
+
@@ -169,12 +220,79 @@
- - +
+ +
+
+
+

{{ game.name }}

+
+ HOT 🔥 + {{ game.lastWinner }} won €{{ game.lastWin | number }} +
+
+

{{ game.description }}

+
+
+ + {{ game.winChance }}% Win Rate + + Max Win: €{{ game.maxWin | number }} +
+
+ Min: €{{ game.minBet }} | Max: €{{ game.maxBet }} +
+ Popularity: +
+
+
+
+
+
+
+ + {{ feature }} + +
+ +
+
+
+
+
@@ -186,6 +304,13 @@

Elite VIP Status

Up to €50,000 monthly rewards

+
+
⚡️
+

Instant Cashouts

+

Get paid in 5 minutes!

+
@@ -200,15 +325,9 @@

99.9% Win Rate*

Highest odds in the industry!

-
-
🚀
-

Exclusive Offers

-

Unlock special perks and rewards!

-
+
*Terms and conditions apply. Guaranteed winnings based on maximum bonus utilization. Win rate calculated on minimum bets. Withdrawal restrictions and wagering requirements apply. @@ -277,9 +396,17 @@ > Maybe later - - {{ popup.cta }} - +
- - SPIN AGAIN - + SPIN AGAIN +
+ diff --git a/frontend/src/app/services/game.service.ts b/frontend/src/app/services/game.service.ts index ee6ae08..4f0509a 100644 --- a/frontend/src/app/services/game.service.ts +++ b/frontend/src/app/services/game.service.ts @@ -28,7 +28,7 @@ export class GameService { id: 'mega-fortune', name: 'Mega Fortune Dreams', description: '🔥 Progressive Jackpot at €1.2M - Must Drop Today!', - imageUrl: '', + imageUrl: 'assets/games/mega-fortune.jpg', minBet: 0.2, maxBet: 100, rtp: 96.5, @@ -45,7 +45,7 @@ export class GameService { id: 'lightning-roulette', name: 'Lightning Roulette', description: '⚡️ 500x Multipliers Active - Hot Streak!', - imageUrl: '', + imageUrl: 'assets/games/lightning-roulette.jpg', minBet: 1, maxBet: 500, rtp: 97.1,