@@ -5,32 +5,33 @@ import { useAppContext } from "../../../../../apps/pyconkr/src/contexts/app_cont
55import PyCon2025MobileLogoImage from "../../assets/pyconkr2025_main_cover_image.png" ;
66import PyCon2025MobileLogoTitle from "../../assets/pyconkr2025_main_cover_title.png" ;
77
8- const MobileImage : React . FC = ( ) => {
8+ export const MobileCover : React . FC = ( ) => {
99 const { language } = useAppContext ( ) ;
1010 const buttonTitle = language === "ko" ? "티켓 구매하기" : "Buy Ticket" ;
1111
1212 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 " } } />
1616 </ Stack >
17- < Stack sx = { { zIndex : 2 , position : "absolute" , top : 0 , left : 0 } } >
17+ < Stack sx = { { zIndex : 2 , position : "absolute" , top : 96 , left : 46 } } >
1818 < img src = { PyCon2025MobileLogoTitle } alt = "Pycon 2025 Mobile Title" style = { { objectFit : "contain" } } />
1919 </ 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" } } />
2433 </ ButtonBase >
2534 </ Stack >
2635 </ Stack >
2736 ) ;
2837} ;
29-
30- export const MobileCover : React . FC = ( ) => {
31- return (
32- < Stack >
33- < MobileImage />
34- </ Stack >
35- ) ;
36- } ;
0 commit comments