@@ -5,32 +5,33 @@ import { useAppContext } from "../../../../../apps/pyconkr/src/contexts/app_cont
5
5
import PyCon2025MobileLogoImage from "../../assets/pyconkr2025_main_cover_image.png" ;
6
6
import PyCon2025MobileLogoTitle from "../../assets/pyconkr2025_main_cover_title.png" ;
7
7
8
- const MobileImage : React . FC = ( ) => {
8
+ export const MobileCover : React . FC = ( ) => {
9
9
const { language } = useAppContext ( ) ;
10
10
const buttonTitle = language === "ko" ? "티켓 구매하기" : "Buy Ticket" ;
11
11
12
12
return (
13
- < Stack sx = { { flexDirection : "column" , position : "relative" } } >
14
- < Stack sx = { { zIndex : 1 , position : "absolute" , top : 0 , left : 0 } } >
15
- < img src = { PyCon2025MobileLogoImage } alt = "Pycon 2025 Mobile Image" style = { { objectFit : "contain " } } />
13
+ < Stack sx = { { display : "flex" , flexDirection : "column" , position : "relative" , width : "100vw" , height : "100vh" , overflow : "hidden " } } >
14
+ < Stack sx = { { zIndex : 1 , position : "absolute" , top : 0 , left : 0 , flex : 1 , display : "flex" , width : "100%" } } >
15
+ < img src = { PyCon2025MobileLogoImage } alt = "Pycon 2025 Mobile Image" style = { { flex : 1 , objectFit : "cover " } } />
16
16
</ Stack >
17
- < Stack sx = { { zIndex : 2 , position : "absolute" , top : 0 , left : 0 } } >
17
+ < Stack sx = { { zIndex : 2 , position : "absolute" , top : 96 , left : 46 } } >
18
18
< img src = { PyCon2025MobileLogoTitle } alt = "Pycon 2025 Mobile Title" style = { { objectFit : "contain" } } />
19
19
</ Stack >
20
- < Stack sx = { { zIndex : 3 , position : "absolute" , top : "3rem" , left : 0 } } >
21
- < ButtonBase sx = { { flexDirection : "row" , backgroundColor : "white" , borderRadius : "10px" , boxShadow : "0 4px 4px 0px rgba(0, 0, 0, 0.15)" } } >
22
- < Typography > { buttonTitle } </ Typography >
23
- < ArrowForwardIcon />
20
+ < Stack sx = { { zIndex : 3 , position : "absolute" , top : 351 , left : 48 } } >
21
+ < ButtonBase
22
+ sx = { {
23
+ flexDirection : "row" ,
24
+ backgroundColor : "white" ,
25
+ padding : "10px 20px" ,
26
+ gap : "10px" ,
27
+ borderRadius : "10px" ,
28
+ boxShadow : "0 4px 4px 0px rgba(0, 0, 0, 0.15)" ,
29
+ } }
30
+ >
31
+ < Typography sx = { { fontWeight : 600 , fontSize : "15px" } } > { buttonTitle } </ Typography >
32
+ < ArrowForwardIcon sx = { { height : "15px" } } />
24
33
</ ButtonBase >
25
34
</ Stack >
26
35
</ Stack >
27
36
) ;
28
37
} ;
29
-
30
- export const MobileCover : React . FC = ( ) => {
31
- return (
32
- < Stack >
33
- < MobileImage />
34
- </ Stack >
35
- ) ;
36
- } ;
0 commit comments