From 00033b9c686ccae2634ca1cd2ec983548445e73d Mon Sep 17 00:00:00 2001 From: Hafid Nur Date: Sun, 16 Mar 2025 07:11:06 +0700 Subject: [PATCH] feat: landing page for tablet viewport - change "scroll for gacha" to button to roulette page --- .../organisms/landing-page/landing-page.tsx | 62 +++++++++++++------ 1 file changed, 43 insertions(+), 19 deletions(-) diff --git a/libs/ui/src/organisms/landing-page/landing-page.tsx b/libs/ui/src/organisms/landing-page/landing-page.tsx index 82528a0..4adfbfe 100644 --- a/libs/ui/src/organisms/landing-page/landing-page.tsx +++ b/libs/ui/src/organisms/landing-page/landing-page.tsx @@ -1,11 +1,26 @@ import { ArrowDownOutlined } from '@ant-design/icons'; +import { Button } from '@imphnen-frontend-service/ui/atoms'; import { FC, ReactElement } from 'react'; export const LandingPage: FC = (): ReactElement => { + const scrollToRoulette = () => { + const rouletteSection = document.getElementById('roulette'); + if (rouletteSection) { + rouletteSection.scrollIntoView({ behavior: 'smooth' }); + } + }; + return ( -
-
- IMPHNEN Logo +
+
+ IMPHNEN Logo
@@ -17,51 +32,60 @@ export const LandingPage: FC = (): ReactElement => {
-
+

Let's Go Checkout Our Merch &

Gacha Your Prize Here

-
+
+
-
-
+
+
Merch 1
-
+
Official Merch IMPHNEN
-
~ 175k ~
+
+ ~ 175k ~ +
-
-
+
+
Merch 2
-
+
IMPHNEN Mini Merch
-
~ 90k ~
+
+ ~ 90k ~ +
);