@dcl/landing-site 0.5.1-24667963662.commit-e7db321 → 0.5.1-24669266119.commit-23c4409
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/{AnimatedBackground-DBObVbM7.js → AnimatedBackground-v0nFaIeE.js} +2 -2
- package/assets/{AnimatedBackground-DBObVbM7.js.map → AnimatedBackground-v0nFaIeE.js.map} +1 -1
- package/assets/{AnimatedSection-Dy2CqHWv.js → AnimatedSection-r9u-L-Kd.js} +1 -1
- package/assets/{AnimatedSection-Dy2CqHWv.js.map → AnimatedSection-r9u-L-Kd.js.map} +1 -1
- package/assets/{ArrowBackIosNew-ClpqCBiA.js → ArrowBackIosNew-DanFB5mV.js} +1 -1
- package/assets/{ArrowBackIosNew-ClpqCBiA.js.map → ArrowBackIosNew-DanFB5mV.js.map} +1 -1
- package/assets/{AuthorPage-pJ7qR6DU.js → AuthorPage-N9rjAr3T.js} +1 -1
- package/assets/{AuthorPage-pJ7qR6DU.js.map → AuthorPage-N9rjAr3T.js.map} +1 -1
- package/assets/{Badges-DLM7WLac.js → Badges-CalLpw-o.js} +1 -1
- package/assets/{Badges-DLM7WLac.js.map → Badges-CalLpw-o.js.map} +1 -1
- package/assets/{BlogLayout-DdVPRVwT.js → BlogLayout-C2ESbsrN.js} +1 -1
- package/assets/{BlogLayout-DdVPRVwT.js.map → BlogLayout-C2ESbsrN.js.map} +1 -1
- package/assets/{BlogPage-DJ5seXTi.js → BlogPage-9l9Bchs5.js} +1 -1
- package/assets/{BlogPage-DJ5seXTi.js.map → BlogPage-9l9Bchs5.js.map} +1 -1
- package/assets/{CTAButton-G_F6A2kc.js → CTAButton-BdBEyGrc.js} +1 -1
- package/assets/{CTAButton-G_F6A2kc.js.map → CTAButton-BdBEyGrc.js.map} +1 -1
- package/assets/{CardContent--XD8e3JI.js → CardContent-06_PBx5V.js} +1 -1
- package/assets/{CardContent--XD8e3JI.js.map → CardContent-06_PBx5V.js.map} +1 -1
- package/assets/{CardMedia-DlGw2npC.js → CardMedia-BiZFYaC9.js} +1 -1
- package/assets/{CardMedia-DlGw2npC.js.map → CardMedia-BiZFYaC9.js.map} +1 -1
- package/assets/{Carousel-GdhNbXzm.js → Carousel-LVw3za2b.js} +1 -1
- package/assets/{Carousel-GdhNbXzm.js.map → Carousel-LVw3za2b.js.map} +1 -1
- package/assets/{CategoryPage-DahoLfHy.js → CategoryPage-CU_rFjJD.js} +1 -1
- package/assets/{CategoryPage-DahoLfHy.js.map → CategoryPage-CU_rFjJD.js.map} +1 -1
- package/assets/{CircleAndArrow-C6RrImNk.js → CircleAndArrow-uOScDJwu.js} +1 -1
- package/assets/{CircleAndArrow-C6RrImNk.js.map → CircleAndArrow-uOScDJwu.js.map} +1 -1
- package/assets/{CircularProgress-DcmGIHDk.js → CircularProgress-CWegCeA4.js} +1 -1
- package/assets/{CircularProgress-DcmGIHDk.js.map → CircularProgress-CWegCeA4.js.map} +1 -1
- package/assets/{ContentCopy-DZXGXqqg.js → ContentCopy-n0DGJTXe.js} +1 -1
- package/assets/{ContentCopy-DZXGXqqg.js.map → ContentCopy-n0DGJTXe.js.map} +1 -1
- package/assets/{CreateEventPage-CLt56AWQ.js → CreateEventPage-BiWH7WlW.js} +1 -1
- package/assets/{CreateEventPage-CLt56AWQ.js.map → CreateEventPage-BiWH7WlW.js.map} +1 -1
- package/assets/{CreatorHubDownload-C7cTzZ_n.js → CreatorHubDownload-C5qCDKau.js} +1 -1
- package/assets/{CreatorHubDownload-C7cTzZ_n.js.map → CreatorHubDownload-C5qCDKau.js.map} +1 -1
- package/assets/{CreatorHubDownloadSuccess-DipAyW_h.js → CreatorHubDownloadSuccess-DytyWfXI.js} +1 -1
- package/assets/{CreatorHubDownloadSuccess-DipAyW_h.js.map → CreatorHubDownloadSuccess-DytyWfXI.js.map} +1 -1
- package/assets/DappsShell-Cn_taRHD.js +1 -0
- package/assets/DappsShell-Cn_taRHD.js.map +1 -0
- package/assets/{DownloadSuccessLayout-Di5Qa-ZM.js → DownloadSuccessLayout-CxdUn5d6.js} +1 -1
- package/assets/{DownloadSuccessLayout-Di5Qa-ZM.js.map → DownloadSuccessLayout-CxdUn5d6.js.map} +1 -1
- package/assets/{Grow-BmtKtm1i.js → Grow-Cqs06bGo.js} +1 -1
- package/assets/{Grow-BmtKtm1i.js.map → Grow-Cqs06bGo.js.map} +1 -1
- package/assets/{HomePage-BWbNRRBq.js → HomePage-BONPWCk-.js} +2 -2
- package/assets/{HomePage-BWbNRRBq.js.map → HomePage-BONPWCk-.js.map} +1 -1
- package/assets/{InviteFaqs-4RRixgP-.js → InviteFaqs-B1dIroE1.js} +1 -1
- package/assets/{InviteFaqs-4RRixgP-.js.map → InviteFaqs-B1dIroE1.js.map} +1 -1
- package/assets/{InvitePage-CtNmz2y6.js → InvitePage-IYFtBAKh.js} +2 -2
- package/assets/{InvitePage-CtNmz2y6.js.map → InvitePage-IYFtBAKh.js.map} +1 -1
- package/assets/{JumpInIcon-DGqWIU4o.js → JumpInIcon-BTRfkQBk.js} +1 -1
- package/assets/{JumpInIcon-DGqWIU4o.js.map → JumpInIcon-BTRfkQBk.js.map} +1 -1
- package/assets/{LegalPageLayout-l-OS4ZYa.js → LegalPageLayout-CvH1vyCG.js} +1 -1
- package/assets/{LegalPageLayout-l-OS4ZYa.js.map → LegalPageLayout-CvH1vyCG.js.map} +1 -1
- package/assets/{Link-B-065zLP.js → Link-sc_TyiuL.js} +1 -1
- package/assets/{Link-B-065zLP.js.map → Link-sc_TyiuL.js.map} +1 -1
- package/assets/{MenuItem-ChXNXZTb.js → MenuItem-DK-keFYO.js} +1 -1
- package/assets/{MenuItem-ChXNXZTb.js.map → MenuItem-DK-keFYO.js.map} +1 -1
- package/assets/{Paper-BJ-Nl60w.js → Paper-hHcHhb1t.js} +1 -1
- package/assets/{Paper-BJ-Nl60w.js.map → Paper-hHcHhb1t.js.map} +1 -1
- package/assets/{PostCard-DajPpr0c.js → PostCard-ioniC7XT.js} +1 -1
- package/assets/{PostCard-DajPpr0c.js.map → PostCard-ioniC7XT.js.map} +1 -1
- package/assets/{PostPage-DIcWHUae.js → PostPage-Dc4aUnxt.js} +1 -1
- package/assets/{PostPage-DIcWHUae.js.map → PostPage-Dc4aUnxt.js.map} +1 -1
- package/assets/{PostPage.styled-COnewpe7.js → PostPage.styled-D3idXg20.js} +3 -3
- package/assets/{PostPage.styled-COnewpe7.js.map → PostPage.styled-D3idXg20.js.map} +1 -1
- package/assets/{PreviewPage-Cn2WEC12.js → PreviewPage-XekhJ7kv.js} +1 -1
- package/assets/{PreviewPage-Cn2WEC12.js.map → PreviewPage-XekhJ7kv.js.map} +1 -1
- package/assets/{SEO-DlSMNiIG.js → SEO-CaSTvFLH.js} +1 -1
- package/assets/{SEO-DlSMNiIG.js.map → SEO-CaSTvFLH.js.map} +1 -1
- package/assets/{SearchPage-BsXG81Nf.js → SearchPage-1G1Zn054.js} +1 -1
- package/assets/{SearchPage-BsXG81Nf.js.map → SearchPage-1G1Zn054.js.map} +1 -1
- package/assets/{SignInRedirect-Q4rx62U6.js → SignInRedirect-Boltljuo.js} +1 -1
- package/assets/{SignInRedirect-Q4rx62U6.js.map → SignInRedirect-Boltljuo.js.map} +1 -1
- package/assets/{SignInRedirect-D3cos3JN.js → SignInRedirect-_TcOhM02.js} +1 -1
- package/assets/{SignInRedirect-D3cos3JN.js.map → SignInRedirect-_TcOhM02.js.map} +1 -1
- package/assets/{Skeleton-D8JfGaaX.js → Skeleton-BFr5by7S.js} +1 -1
- package/assets/{Skeleton-D8JfGaaX.js.map → Skeleton-BFr5by7S.js.map} +1 -1
- package/assets/{TwitterEmbed-DeMZkX3S.js → TwitterEmbed-CIF7N2Ei.js} +1 -1
- package/assets/{TwitterEmbed-DeMZkX3S.js.map → TwitterEmbed-CIF7N2Ei.js.map} +1 -1
- package/assets/{Video-CiAQnrOo.js → Video-mEo8KcLo.js} +1 -1
- package/assets/{Video-CiAQnrOo.js.map → Video-mEo8KcLo.js.map} +1 -1
- package/assets/WearablePreview-DQWvqzHf.js +4 -0
- package/assets/{WearablePreview-CFkTJn9i.js.map → WearablePreview-DQWvqzHf.js.map} +1 -1
- package/assets/{auto-track-_HUtnguT.js → auto-track-15TB5jyQ.js} +1 -1
- package/assets/{auto-track-_HUtnguT.js.map → auto-track-15TB5jyQ.js.map} +1 -1
- package/assets/{ccip-DNbAsZz-.js → ccip-_tibjp78.js} +1 -1
- package/assets/{ccip-DNbAsZz-.js.map → ccip-_tibjp78.js.map} +1 -1
- package/assets/{createSvgIcon-BLdKozgH.js → createSvgIcon-Dl36XeJq.js} +1 -1
- package/assets/{createSvgIcon-BLdKozgH.js.map → createSvgIcon-Dl36XeJq.js.map} +1 -1
- package/assets/{download-oFyIG5OP.js → download-By4aLm91.js} +2 -2
- package/assets/{download-oFyIG5OP.js.map → download-By4aLm91.js.map} +1 -1
- package/assets/{downloadWithIdentity-BYnQvFTU.js → downloadWithIdentity-DLhTP3oE.js} +1 -1
- package/assets/{downloadWithIdentity-BYnQvFTU.js.map → downloadWithIdentity-DLhTP3oE.js.map} +1 -1
- package/assets/{events.client-LWw5jd-t.js → events.client-CJHaQfLZ.js} +1 -1
- package/assets/{events.client-LWw5jd-t.js.map → events.client-CJHaQfLZ.js.map} +1 -1
- package/assets/{index-B9J5C5eN.js → index-0hD8AKYU.js} +1 -1
- package/assets/{index-B9J5C5eN.js.map → index-0hD8AKYU.js.map} +1 -1
- package/assets/{index-g0lykA2w.js → index-0oAMKUvQ.js} +1 -1
- package/assets/{index-g0lykA2w.js.map → index-0oAMKUvQ.js.map} +1 -1
- package/assets/{index-BrJrrR0-.js → index-9Gjt6A3P.js} +1 -1
- package/assets/{index-BrJrrR0-.js.map → index-9Gjt6A3P.js.map} +1 -1
- package/assets/{index-Bs8_TMuc.js → index-B0OYEV0b.js} +1 -1
- package/assets/{index-Bs8_TMuc.js.map → index-B0OYEV0b.js.map} +1 -1
- package/assets/{index-C5I7_h2M.js → index-BDz5wgwp.js} +1 -1
- package/assets/{index-C5I7_h2M.js.map → index-BDz5wgwp.js.map} +1 -1
- package/assets/{index-BLczpcuT.js → index-BIWd7jP-.js} +1 -1
- package/assets/{index-BLczpcuT.js.map → index-BIWd7jP-.js.map} +1 -1
- package/assets/{index-DbaTk9pY.js → index-BOQQaMoU.js} +1 -1
- package/assets/{index-DbaTk9pY.js.map → index-BOQQaMoU.js.map} +1 -1
- package/assets/{index-8P9wWk_Z.js → index-BRaHzCrQ.js} +1 -1
- package/assets/{index-8P9wWk_Z.js.map → index-BRaHzCrQ.js.map} +1 -1
- package/assets/{index-Czi9R2pR.js → index-BSriKKfj.js} +2 -2
- package/assets/{index-Czi9R2pR.js.map → index-BSriKKfj.js.map} +1 -1
- package/assets/{index-ZDIYW364.js → index-BWa-ffBq.js} +1 -1
- package/assets/{index-ZDIYW364.js.map → index-BWa-ffBq.js.map} +1 -1
- package/assets/{index-BqLCay_i.js → index-BcNj-NtQ.js} +1 -1
- package/assets/{index-BqLCay_i.js.map → index-BcNj-NtQ.js.map} +1 -1
- package/assets/{index-C6h0Y6Bf.js → index-Bd6EO6y1.js} +1 -1
- package/assets/{index-C6h0Y6Bf.js.map → index-Bd6EO6y1.js.map} +1 -1
- package/assets/{index-58xN71Vu.js → index-BhAHefqX.js} +1 -1
- package/assets/{index-58xN71Vu.js.map → index-BhAHefqX.js.map} +1 -1
- package/assets/{index-CXRPJhvA.js → index-ByQWiIzI.js} +1 -1
- package/assets/{index-CXRPJhvA.js.map → index-ByQWiIzI.js.map} +1 -1
- package/assets/{index-DfT-Sjnk.js → index-C-HqANf4.js} +1 -1
- package/assets/{index-DfT-Sjnk.js.map → index-C-HqANf4.js.map} +1 -1
- package/assets/{index-B7Bs_7eg.js → index-CHJY8SH_.js} +1 -1
- package/assets/{index-B7Bs_7eg.js.map → index-CHJY8SH_.js.map} +1 -1
- package/assets/{index-C8kkckun.js → index-Cfne_Tlk.js} +1 -1
- package/assets/{index-C8kkckun.js.map → index-Cfne_Tlk.js.map} +1 -1
- package/assets/{index-Ct6j5i60.js → index-CgzFr3s1.js} +1 -1
- package/assets/{index-Ct6j5i60.js.map → index-CgzFr3s1.js.map} +1 -1
- package/assets/{index-TaLrFo1W.js → index-DA6JoVsl.js} +4 -4
- package/assets/{index-TaLrFo1W.js.map → index-DA6JoVsl.js.map} +1 -1
- package/assets/{index-DVTinPKV.js → index-DIFFGElz.js} +1 -1
- package/assets/{index-DVTinPKV.js.map → index-DIFFGElz.js.map} +1 -1
- package/assets/index-DMW4Y79P.js +1 -0
- package/assets/{index-BqTu8LQP.js.map → index-DMW4Y79P.js.map} +1 -1
- package/assets/{index-CREsCA81.js → index-DWo3lVJu.js} +1 -1
- package/assets/{index-CREsCA81.js.map → index-DWo3lVJu.js.map} +1 -1
- package/assets/{index-BeEdEvw9.js → index-DX_MLBND.js} +1 -1
- package/assets/{index-BeEdEvw9.js.map → index-DX_MLBND.js.map} +1 -1
- package/assets/{index-CM5Uohwh.js → index-Dnm8nMuk.js} +1 -1
- package/assets/{index-CM5Uohwh.js.map → index-Dnm8nMuk.js.map} +1 -1
- package/assets/{index-BCgaMgYt.js → index-DrgqKIJq.js} +1 -1
- package/assets/{index-BCgaMgYt.js.map → index-DrgqKIJq.js.map} +1 -1
- package/assets/{index-u4hJejM4.js → index-LKGxOqbu.js} +1 -1
- package/assets/{index-u4hJejM4.js.map → index-LKGxOqbu.js.map} +1 -1
- package/assets/{index-BQ4lI5xX.js → index-R7i610Pj.js} +3 -3
- package/assets/{index-BQ4lI5xX.js.map → index-R7i610Pj.js.map} +1 -1
- package/assets/{index-lCIXH0YF.js → index-WmIyQCxV.js} +1 -1
- package/assets/{index-lCIXH0YF.js.map → index-WmIyQCxV.js.map} +1 -1
- package/assets/{index-Dpp1tkiC.js → index-h_Pxp7I8.js} +1 -1
- package/assets/{index-Dpp1tkiC.js.map → index-h_Pxp7I8.js.map} +1 -1
- package/assets/{index-B5OoPTnM.js → index-sYOEuyjh.js} +1 -1
- package/assets/{index-B5OoPTnM.js.map → index-sYOEuyjh.js.map} +1 -1
- package/assets/{index-HZ_h_54S.js → index-unat-leD.js} +3 -3
- package/assets/{index-HZ_h_54S.js.map → index-unat-leD.js.map} +1 -1
- package/assets/{index-C1oFIVjZ.js → index-wMr7yC4J.js} +1 -1
- package/assets/{index-C1oFIVjZ.js.map → index-wMr7yC4J.js.map} +1 -1
- package/assets/{profile.client-Dv7yHizc.js → profile.client-BgoL9BmP.js} +1 -1
- package/assets/{profile.client-Dv7yHizc.js.map → profile.client-BgoL9BmP.js.map} +1 -1
- package/assets/{shared.styled-DZDSiscg.js → shared.styled-budlhvzl.js} +1 -1
- package/assets/{shared.styled-DZDSiscg.js.map → shared.styled-budlhvzl.js.map} +1 -1
- package/assets/{store-DytzPwIW.js → store-BOMaqNb5.js} +1 -1
- package/assets/{store-DytzPwIW.js.map → store-BOMaqNb5.js.map} +1 -1
- package/assets/{url-CwO7t7Da.js → url-Bw4jp_Z_.js} +1 -1
- package/assets/{url-CwO7t7Da.js.map → url-Bw4jp_Z_.js.map} +1 -1
- package/assets/{useAuthIdentity-BJka2D_h.js → useAuthIdentity-ByRQog26.js} +1 -1
- package/assets/{useAuthIdentity-BJka2D_h.js.map → useAuthIdentity-ByRQog26.js.map} +1 -1
- package/assets/{useCreatorHubDownload-htSWq2gm.js → useCreatorHubDownload-j5seSO3Q.js} +1 -1
- package/assets/{useCreatorHubDownload-htSWq2gm.js.map → useCreatorHubDownload-j5seSO3Q.js.map} +1 -1
- package/assets/{useInfiniteBlogPosts-b1i6T88U.js → useInfiniteBlogPosts-BCDQmShN.js} +1 -1
- package/assets/{useInfiniteBlogPosts-b1i6T88U.js.map → useInfiniteBlogPosts-BCDQmShN.js.map} +1 -1
- package/assets/{useSlot-DcCKMoK9.js → useSlot-CPFcl8VB.js} +1 -1
- package/assets/{useSlot-DcCKMoK9.js.map → useSlot-CPFcl8VB.js.map} +1 -1
- package/assets/{utils-DyplVMyL.js → utils-DttV5ozq.js} +1 -1
- package/assets/{utils-DyplVMyL.js.map → utils-DttV5ozq.js.map} +1 -1
- package/index.html +17 -17
- package/package.json +3 -3
- package/assets/DappsShell-Bq4UFy3b.js +0 -1
- package/assets/DappsShell-Bq4UFy3b.js.map +0 -1
- package/assets/WearablePreview-CFkTJn9i.js +0 -4
- package/assets/index-BqTu8LQP.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as i,v as a,a as r,w as g,j as e}from"./index-
|
|
1
|
+
import{s as i,v as a,a as r,w as g,j as e}from"./index-R7i610Pj.js";import{r as s}from"./vendor-router-D_36sTKu.js";import{C as m}from"./Carousel-LVw3za2b.js";import{A as h}from"./AnimatedSection-r9u-L-Kd.js";import{c as x}from"./index-unat-leD.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";import"./useCreatorHubDownload-j5seSO3Q.js";import"./file-Cr_gl9BS.js";import"./url-Bw4jp_Z_.js";import"./index-0oAMKUvQ.js";import"./useLatestGithubRelease-lPlpQBOj.js";import"./CTAButton-BdBEyGrc.js";import"./CircularProgress-CWegCeA4.js";import"./Video-mEo8KcLo.js";const f=i("section")(({theme:t})=>({display:"flex",flexDirection:"column",gap:"1em",width:"100%",marginTop:40,marginBottom:40,padding:0,position:"relative",[t.breakpoints.down("sm")]:{paddingLeft:t.spacing(4),paddingRight:t.spacing(4),overflow:"hidden"}})),b=i(a)(({theme:t})=>({textAlign:"center",fontSize:48,fontWeight:600,lineHeight:"77px",color:"#fcfcfc",marginTop:0,marginBottom:32,maxWidth:"80vw",marginLeft:"auto",marginRight:"auto","& span":{background:"linear-gradient(244deg, #ff2d55 -11.67%, #ffbc5b 88.23%)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},[t.breakpoints.down("sm")]:{fontSize:32,lineHeight:"40px",letterSpacing:"-0.64px"}})),u=i(r)(({theme:t})=>({display:"flex",flexDirection:"row",background:"#242129",borderRadius:24,width:"100%",height:"100%",padding:32,alignItems:"center",[t.breakpoints.down("md")]:{flexDirection:"column",height:"auto",width:"100%",padding:0}})),k=i(r,{shouldForwardProp:t=>t!=="bgImage"})(({theme:t,bgImage:o})=>({height:"100%",flexShrink:0,backgroundImage:`url(${o})`,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"cover",marginRight:24,width:"35%",minHeight:530,borderRadius:16,transition:"transform 0.3s ease-in-out","& img":{width:"100%",height:"100%",objectFit:"contain"},"@media (hover: hover)":{"&:hover":{transform:"scale(1.05)"}},[t.breakpoints.down("md")]:{height:223,minHeight:223,width:"100%",backgroundSize:"100%",borderRadius:"24px 24px 0 0",marginRight:0,position:"relative",overflow:"hidden","& img":{width:"auto",height:"100%",transform:"translate(-50%, -50%)",position:"absolute",left:"50%",top:"50%"}}})),j=i(r)(({theme:t})=>({display:"flex",flexDirection:"column",justifyContent:"flex-start",width:"calc(65% - 24px)",[t.breakpoints.down("md")]:{padding:"32px 0",margin:"0 8px 8px",width:"calc(100% - 16px)"}})),C=i(a)(({theme:t})=>({fontSize:24,fontWeight:600,lineHeight:"30px",marginBottom:8,[t.breakpoints.down("lg")]:{fontSize:20,lineHeight:"16px"}})),w=i(a)(({theme:t})=>({color:"#a09ba8",fontSize:18,fontWeight:400,lineHeight:"24px",marginBottom:16,marginTop:0,[t.breakpoints.down("lg")]:{fontSize:16}})),S=i(r)({display:"flex",flexDirection:"column"}),B=i(r)(({theme:t})=>({display:"flex",borderBottom:"none",height:24,marginBottom:24,[t.breakpoints.down("sm")]:{justifyContent:"center",marginBottom:24}})),c=i("button",{shouldForwardProp:t=>t!=="isActive"})(({theme:t,isActive:o})=>({background:"none",border:"none",borderBottom:o?"2px solid #fff":"2px solid transparent",color:o?"#fff":"#716b7c",textTransform:"uppercase",fontSize:14,lineHeight:"16px",padding:"0 0 8px",marginRight:24,fontWeight:o?600:500,cursor:"pointer",outline:"none","&:focus-visible":{outline:`2px solid ${t.palette.primary.main}`,outlineOffset:2},[t.breakpoints.down("sm")]:{padding:"8px 0 0",fontSize:16,marginRight:16}})),l=i(r)({borderRadius:16,background:"#43404a80",padding:"16px 24px",marginBottom:8,"&:last-child":{marginBottom:0}}),d=i(a)({fontSize:18,lineHeight:"20px",fontWeight:500,marginBottom:12}),T=i(a)({color:"#cfcdd4",fontSize:18,fontWeight:400,lineHeight:"24px",marginBottom:0}),v=i(r)({display:"flex",flexWrap:"wrap"}),y=i(r)({padding:"8px 16px",borderRadius:16,marginRight:8,marginBottom:8,background:"#43404a",fontSize:13,fontWeight:600,lineHeight:"normal",textTransform:"uppercase"}),z=i(r)(({theme:t})=>({display:"flex",flexWrap:"wrap",flexDirection:"row",[t.breakpoints.down("md")]:{flexDirection:"column"}})),R=i("a")({fontSize:16,lineHeight:"24px",fontWeight:500,textDecorationLine:"underline",color:"#ffa25a",width:"50%",marginBottom:8,display:"block","&:hover, &:active, &:visited, &:focus":{color:"#ffa25a"}}),p=s.memo(({tab:t})=>{const o=g();return e.jsxs(e.Fragment,{children:[e.jsxs(l,{children:[e.jsx(d,{children:t.descriptionTitle}),e.jsx(T,{children:t.descriptionSubTitle})]}),e.jsxs(l,{children:[e.jsx(d,{children:o("component.creators_landing.create.tab.required_skills")}),e.jsx(v,{children:t.skills.map(n=>e.jsx(y,{children:n},n))})]}),e.jsxs(l,{children:[e.jsx(d,{children:o("component.creators_landing.create.tab.useful_links")}),e.jsx(z,{children:t.links.map(n=>e.jsx(R,{href:n.url,target:"_blank",rel:"noopener noreferrer",children:n.label},n.url))})]})]})}),W=s.memo(({card:t})=>{const[o,n]=s.useState(t.tab1.title);return e.jsxs(u,{children:[e.jsx(k,{bgImage:t.imageBackground,children:e.jsx("img",{src:t.image,alt:t.title})}),e.jsxs(j,{children:[e.jsx(C,{children:t.title}),e.jsx(w,{children:t.description}),e.jsxs(S,{children:[t.tab2&&e.jsxs(B,{children:[e.jsx(c,{isActive:o===t.tab1.title,onClick:()=>n(t.tab1.title),children:t.tab1.title}),e.jsx(c,{isActive:o===t.tab2.title,onClick:()=>n(t.tab2.title),children:t.tab2.title})]}),o===t.tab1.title&&e.jsx(p,{tab:t.tab1}),t.tab2&&o===t.tab2.title&&e.jsx(p,{tab:t.tab2})]})]})]})}),H=t=>e.jsx(W,{card:t}),I=t=>t.id,X=s.memo(()=>{const t=g();return e.jsx(h,{children:e.jsxs(f,{children:[e.jsxs(b,{children:[t("component.creators_landing.create.title"),e.jsx("span",{children:t("component.creators_landing.create.title_highlight")}),t("component.creators_landing.create.title_second_part")]}),e.jsx(m,{items:x,renderItem:H,keyExtractor:I,slideWidth:1200,autoplayDelay:0})]})})});export{X as CreatorsCreate};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-B9J5C5eN.js","sources":["../../src/components/Create/CreateCards/CreateCards.styled.ts","../../src/components/Create/CreateCards/CreateCards.tsx"],"sourcesContent":["import { Box, Typography, styled } from 'decentraland-ui2'\n\nconst CreateSection = styled('section')(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n gap: '1em',\n width: '100%',\n marginTop: 40,\n marginBottom: 40,\n padding: 0,\n position: 'relative',\n [theme.breakpoints.down('sm')]: {\n paddingLeft: theme.spacing(4),\n paddingRight: theme.spacing(4),\n overflow: 'hidden'\n }\n}))\n\nconst CreateTitle = styled(Typography)(({ theme }) => ({\n textAlign: 'center',\n fontSize: 48,\n fontWeight: 600,\n lineHeight: '77px',\n color: '#fcfcfc',\n marginTop: 0,\n marginBottom: 32,\n maxWidth: '80vw',\n marginLeft: 'auto',\n marginRight: 'auto',\n ['& span']: {\n background: 'linear-gradient(244deg, #ff2d55 -11.67%, #ffbc5b 88.23%)',\n backgroundClip: 'text',\n ['WebkitBackgroundClip' as string]: 'text',\n ['WebkitTextFillColor' as string]: 'transparent'\n },\n [theme.breakpoints.down('sm')]: {\n fontSize: 32,\n lineHeight: '40px',\n letterSpacing: '-0.64px'\n }\n}))\n\nconst CreateCardContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexDirection: 'row',\n background: '#242129',\n borderRadius: 24,\n width: '100%',\n height: '100%',\n padding: 32,\n alignItems: 'center',\n [theme.breakpoints.down('md')]: {\n flexDirection: 'column',\n height: 'auto',\n width: '100%',\n padding: 0\n }\n}))\n\nconst CreateCardImage = styled(Box, {\n shouldForwardProp: prop => prop !== 'bgImage'\n})<{ bgImage: string }>(({ theme, bgImage }) => ({\n height: '100%',\n flexShrink: 0,\n backgroundImage: `url(${bgImage})`,\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center',\n backgroundSize: 'cover',\n marginRight: 24,\n width: '35%',\n minHeight: 530,\n borderRadius: 16,\n transition: 'transform 0.3s ease-in-out',\n ['& img']: {\n width: '100%',\n height: '100%',\n objectFit: 'contain'\n },\n ['@media (hover: hover)']: {\n ['&:hover']: {\n transform: 'scale(1.05)'\n }\n },\n [theme.breakpoints.down('md')]: {\n height: 223,\n minHeight: 223,\n width: '100%',\n backgroundSize: '100%',\n borderRadius: '24px 24px 0 0',\n marginRight: 0,\n position: 'relative',\n overflow: 'hidden',\n ['& img']: {\n width: 'auto',\n height: '100%',\n transform: 'translate(-50%, -50%)',\n position: 'absolute',\n left: '50%',\n top: '50%'\n }\n }\n}))\n\nconst CreateCardInfo = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'flex-start',\n width: 'calc(65% - 24px)',\n [theme.breakpoints.down('md')]: {\n padding: '32px 0',\n margin: '0 8px 8px',\n width: 'calc(100% - 16px)'\n }\n}))\n\nconst CreateCardTitle = styled(Typography)(({ theme }) => ({\n fontSize: 24,\n fontWeight: 600,\n lineHeight: '30px',\n marginBottom: 8,\n [theme.breakpoints.down('lg')]: {\n fontSize: 20,\n lineHeight: '16px'\n }\n}))\n\nconst CreateCardDescription = styled(Typography)(({ theme }) => ({\n color: '#a09ba8',\n fontSize: 18,\n fontWeight: 400,\n lineHeight: '24px',\n marginBottom: 16,\n marginTop: 0,\n [theme.breakpoints.down('lg')]: {\n fontSize: 16\n }\n}))\n\nconst TabContainer = styled(Box)({\n display: 'flex',\n flexDirection: 'column'\n})\n\nconst TabButtons = styled(Box)(({ theme }) => ({\n display: 'flex',\n borderBottom: 'none',\n height: 24,\n marginBottom: 24,\n [theme.breakpoints.down('sm')]: {\n justifyContent: 'center',\n marginBottom: 24\n }\n}))\n\nconst TabButton = styled('button', {\n shouldForwardProp: prop => prop !== 'isActive'\n})<{ isActive: boolean }>(({ theme, isActive }) => ({\n background: 'none',\n border: 'none',\n borderBottom: isActive ? '2px solid #fff' : '2px solid transparent',\n color: isActive ? '#fff' : '#716b7c',\n textTransform: 'uppercase',\n fontSize: 14,\n lineHeight: '16px',\n padding: '0 0 8px',\n marginRight: 24,\n fontWeight: isActive ? 600 : 500,\n cursor: 'pointer',\n outline: 'none',\n ['&:focus-visible']: {\n outline: `2px solid ${theme.palette.primary.main}`,\n outlineOffset: 2\n },\n [theme.breakpoints.down('sm')]: {\n padding: '8px 0 0',\n fontSize: 16,\n marginRight: 16\n }\n}))\n\nconst TabInfoBlock = styled(Box)({\n borderRadius: 16,\n background: '#43404a80',\n padding: '16px 24px',\n marginBottom: 8,\n ['&:last-child']: {\n marginBottom: 0\n }\n})\n\nconst TabInfoTitle = styled(Typography)({\n fontSize: 18,\n lineHeight: '20px',\n fontWeight: 500,\n marginBottom: 12\n})\n\nconst TabInfoSubtitle = styled(Typography)({\n color: '#cfcdd4',\n fontSize: 18,\n fontWeight: 400,\n lineHeight: '24px',\n marginBottom: 0\n})\n\nconst SkillsContainer = styled(Box)({\n display: 'flex',\n flexWrap: 'wrap'\n})\n\nconst SkillBadge = styled(Box)({\n padding: '8px 16px',\n borderRadius: 16,\n marginRight: 8,\n marginBottom: 8,\n background: '#43404a',\n fontSize: 13,\n fontWeight: 600,\n lineHeight: 'normal',\n textTransform: 'uppercase'\n})\n\nconst LinksContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexWrap: 'wrap',\n flexDirection: 'row',\n [theme.breakpoints.down('md')]: {\n flexDirection: 'column'\n }\n}))\n\nconst LinkItem = styled('a')({\n fontSize: 16,\n lineHeight: '24px',\n fontWeight: 500,\n textDecorationLine: 'underline',\n color: '#ffa25a',\n width: '50%',\n marginBottom: 8,\n display: 'block',\n ['&:hover, &:active, &:visited, &:focus']: {\n color: '#ffa25a'\n }\n})\n\nexport {\n CreateCardContainer,\n CreateCardDescription,\n CreateCardImage,\n CreateCardInfo,\n CreateCardTitle,\n CreateSection,\n CreateTitle,\n LinkItem,\n LinksContainer,\n SkillBadge,\n SkillsContainer,\n TabButton,\n TabButtons,\n TabContainer,\n TabInfoBlock,\n TabInfoSubtitle,\n TabInfoTitle\n}\n","import { memo, useState } from 'react'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { Carousel } from '../../Carousel'\nimport { AnimatedSection } from '../AnimatedSection'\nimport { createCards } from '../data'\nimport type { CreateCardData, CreateCardTab } from '../data'\nimport {\n CreateCardContainer,\n CreateCardDescription,\n CreateCardImage,\n CreateCardInfo,\n CreateCardTitle,\n CreateSection,\n CreateTitle,\n LinkItem,\n LinksContainer,\n SkillBadge,\n SkillsContainer,\n TabButton,\n TabButtons,\n TabContainer,\n TabInfoBlock,\n TabInfoSubtitle,\n TabInfoTitle\n} from './CreateCards.styled'\n\ntype CreateTabContentProps = {\n tab: CreateCardTab\n}\n\nconst CreateTabContent = memo(({ tab }: CreateTabContentProps) => {\n const l = useFormatMessage()\n\n return (\n <>\n <TabInfoBlock>\n <TabInfoTitle>{tab.descriptionTitle}</TabInfoTitle>\n <TabInfoSubtitle>{tab.descriptionSubTitle}</TabInfoSubtitle>\n </TabInfoBlock>\n <TabInfoBlock>\n <TabInfoTitle>{l('component.creators_landing.create.tab.required_skills')}</TabInfoTitle>\n <SkillsContainer>\n {tab.skills.map(skill => (\n <SkillBadge key={skill}>{skill}</SkillBadge>\n ))}\n </SkillsContainer>\n </TabInfoBlock>\n <TabInfoBlock>\n <TabInfoTitle>{l('component.creators_landing.create.tab.useful_links')}</TabInfoTitle>\n <LinksContainer>\n {tab.links.map(link => (\n <LinkItem key={link.url} href={link.url} target=\"_blank\" rel=\"noopener noreferrer\">\n {link.label}\n </LinkItem>\n ))}\n </LinksContainer>\n </TabInfoBlock>\n </>\n )\n})\n\ntype CreateCardProps = {\n card: CreateCardData\n}\n\nconst CreateCard = memo(({ card }: CreateCardProps) => {\n const [activeTab, setActiveTab] = useState(card.tab1.title)\n\n return (\n <CreateCardContainer>\n <CreateCardImage bgImage={card.imageBackground}>\n <img src={card.image} alt={card.title} />\n </CreateCardImage>\n <CreateCardInfo>\n <CreateCardTitle>{card.title}</CreateCardTitle>\n <CreateCardDescription>{card.description}</CreateCardDescription>\n <TabContainer>\n {card.tab2 && (\n <TabButtons>\n <TabButton isActive={activeTab === card.tab1.title} onClick={() => setActiveTab(card.tab1.title)}>\n {card.tab1.title}\n </TabButton>\n <TabButton isActive={activeTab === card.tab2.title} onClick={() => setActiveTab(card.tab2!.title)}>\n {card.tab2.title}\n </TabButton>\n </TabButtons>\n )}\n {activeTab === card.tab1.title && <CreateTabContent tab={card.tab1} />}\n {card.tab2 && activeTab === card.tab2.title && <CreateTabContent tab={card.tab2} />}\n </TabContainer>\n </CreateCardInfo>\n </CreateCardContainer>\n )\n})\n\nconst renderCard = (card: CreateCardData) => <CreateCard card={card} />\nconst keyExtractor = (card: CreateCardData) => card.id\n\nconst CreatorsCreate = memo(() => {\n const l = useFormatMessage()\n return (\n <AnimatedSection>\n <CreateSection>\n <CreateTitle>\n {l('component.creators_landing.create.title')}\n <span>{l('component.creators_landing.create.title_highlight')}</span>\n {l('component.creators_landing.create.title_second_part')}\n </CreateTitle>\n <Carousel items={createCards} renderItem={renderCard} keyExtractor={keyExtractor} slideWidth={1200} autoplayDelay={0} />\n </CreateSection>\n </AnimatedSection>\n )\n})\n\nexport { CreatorsCreate }\n"],"names":["CreateSection","styled","theme","CreateTitle","Typography","CreateCardContainer","Box","CreateCardImage","prop","bgImage","CreateCardInfo","CreateCardTitle","CreateCardDescription","TabContainer","TabButtons","TabButton","isActive","TabInfoBlock","TabInfoTitle","TabInfoSubtitle","SkillsContainer","SkillBadge","LinksContainer","LinkItem","CreateTabContent","memo","tab","l","useFormatMessage","jsxs","Fragment","jsx","skill","link","CreateCard","card","activeTab","setActiveTab","useState","renderCard","keyExtractor","CreatorsCreate","AnimatedSection","Carousel","createCards"],"mappings":"qrBAEA,MAAMA,EAAgBC,EAAO,SAAS,EAAE,CAAC,CAAE,MAAAC,MAAa,CACtD,QAAS,OACT,cAAe,SACf,IAAK,MACL,MAAO,OACP,UAAW,GACX,aAAc,GACd,QAAS,EACT,SAAU,WACV,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,YAAaA,EAAM,QAAQ,CAAC,EAC5B,aAAcA,EAAM,QAAQ,CAAC,EAC7B,SAAU,QAAA,CAEd,EAAE,EAEIC,EAAcF,EAAOG,CAAU,EAAE,CAAC,CAAE,MAAAF,MAAa,CACrD,UAAW,SACX,SAAU,GACV,WAAY,IACZ,WAAY,OACZ,MAAO,UACP,UAAW,EACX,aAAc,GACd,SAAU,OACV,WAAY,OACZ,YAAa,OACZ,SAAW,CACV,WAAY,2DACZ,eAAgB,OACf,qBAAmC,OACnC,oBAAkC,aAAA,EAErC,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,SAAU,GACV,WAAY,OACZ,cAAe,SAAA,CAEnB,EAAE,EAEIG,EAAsBJ,EAAOK,CAAG,EAAE,CAAC,CAAE,MAAAJ,MAAa,CACtD,QAAS,OACT,cAAe,MACf,WAAY,UACZ,aAAc,GACd,MAAO,OACP,OAAQ,OACR,QAAS,GACT,WAAY,SACZ,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,cAAe,SACf,OAAQ,OACR,MAAO,OACP,QAAS,CAAA,CAEb,EAAE,EAEIK,EAAkBN,EAAOK,EAAK,CAClC,qBAA2BE,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A,IAAC,OAAA,CAAM,SAAAJ,EAAE,mDAAmD,CAAA,CAAE,EAC7DA,EAAE,qDAAqD,CAAA,EAC1D,EACAI,EAAAA,IAACY,EAAA,CAAS,MAAOC,EAAa,WAAYL,EAAY,aAAAC,EAA4B,WAAY,KAAM,cAAe,CAAA,CAAG,CAAA,CAAA,CACxH,CAAA,CACF,CAEJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index-0hD8AKYU.js","sources":["../../src/components/Create/CreateCards/CreateCards.styled.ts","../../src/components/Create/CreateCards/CreateCards.tsx"],"sourcesContent":["import { Box, Typography, styled } from 'decentraland-ui2'\n\nconst CreateSection = styled('section')(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n gap: '1em',\n width: '100%',\n marginTop: 40,\n marginBottom: 40,\n padding: 0,\n position: 'relative',\n [theme.breakpoints.down('sm')]: {\n paddingLeft: theme.spacing(4),\n paddingRight: theme.spacing(4),\n overflow: 'hidden'\n }\n}))\n\nconst CreateTitle = styled(Typography)(({ theme }) => ({\n textAlign: 'center',\n fontSize: 48,\n fontWeight: 600,\n lineHeight: '77px',\n color: '#fcfcfc',\n marginTop: 0,\n marginBottom: 32,\n maxWidth: '80vw',\n marginLeft: 'auto',\n marginRight: 'auto',\n ['& span']: {\n background: 'linear-gradient(244deg, #ff2d55 -11.67%, #ffbc5b 88.23%)',\n backgroundClip: 'text',\n ['WebkitBackgroundClip' as string]: 'text',\n ['WebkitTextFillColor' as string]: 'transparent'\n },\n [theme.breakpoints.down('sm')]: {\n fontSize: 32,\n lineHeight: '40px',\n letterSpacing: '-0.64px'\n }\n}))\n\nconst CreateCardContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexDirection: 'row',\n background: '#242129',\n borderRadius: 24,\n width: '100%',\n height: '100%',\n padding: 32,\n alignItems: 'center',\n [theme.breakpoints.down('md')]: {\n flexDirection: 'column',\n height: 'auto',\n width: '100%',\n padding: 0\n }\n}))\n\nconst CreateCardImage = styled(Box, {\n shouldForwardProp: prop => prop !== 'bgImage'\n})<{ bgImage: string }>(({ theme, bgImage }) => ({\n height: '100%',\n flexShrink: 0,\n backgroundImage: `url(${bgImage})`,\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center',\n backgroundSize: 'cover',\n marginRight: 24,\n width: '35%',\n minHeight: 530,\n borderRadius: 16,\n transition: 'transform 0.3s ease-in-out',\n ['& img']: {\n width: '100%',\n height: '100%',\n objectFit: 'contain'\n },\n ['@media (hover: hover)']: {\n ['&:hover']: {\n transform: 'scale(1.05)'\n }\n },\n [theme.breakpoints.down('md')]: {\n height: 223,\n minHeight: 223,\n width: '100%',\n backgroundSize: '100%',\n borderRadius: '24px 24px 0 0',\n marginRight: 0,\n position: 'relative',\n overflow: 'hidden',\n ['& img']: {\n width: 'auto',\n height: '100%',\n transform: 'translate(-50%, -50%)',\n position: 'absolute',\n left: '50%',\n top: '50%'\n }\n }\n}))\n\nconst CreateCardInfo = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'flex-start',\n width: 'calc(65% - 24px)',\n [theme.breakpoints.down('md')]: {\n padding: '32px 0',\n margin: '0 8px 8px',\n width: 'calc(100% - 16px)'\n }\n}))\n\nconst CreateCardTitle = styled(Typography)(({ theme }) => ({\n fontSize: 24,\n fontWeight: 600,\n lineHeight: '30px',\n marginBottom: 8,\n [theme.breakpoints.down('lg')]: {\n fontSize: 20,\n lineHeight: '16px'\n }\n}))\n\nconst CreateCardDescription = styled(Typography)(({ theme }) => ({\n color: '#a09ba8',\n fontSize: 18,\n fontWeight: 400,\n lineHeight: '24px',\n marginBottom: 16,\n marginTop: 0,\n [theme.breakpoints.down('lg')]: {\n fontSize: 16\n }\n}))\n\nconst TabContainer = styled(Box)({\n display: 'flex',\n flexDirection: 'column'\n})\n\nconst TabButtons = styled(Box)(({ theme }) => ({\n display: 'flex',\n borderBottom: 'none',\n height: 24,\n marginBottom: 24,\n [theme.breakpoints.down('sm')]: {\n justifyContent: 'center',\n marginBottom: 24\n }\n}))\n\nconst TabButton = styled('button', {\n shouldForwardProp: prop => prop !== 'isActive'\n})<{ isActive: boolean }>(({ theme, isActive }) => ({\n background: 'none',\n border: 'none',\n borderBottom: isActive ? '2px solid #fff' : '2px solid transparent',\n color: isActive ? '#fff' : '#716b7c',\n textTransform: 'uppercase',\n fontSize: 14,\n lineHeight: '16px',\n padding: '0 0 8px',\n marginRight: 24,\n fontWeight: isActive ? 600 : 500,\n cursor: 'pointer',\n outline: 'none',\n ['&:focus-visible']: {\n outline: `2px solid ${theme.palette.primary.main}`,\n outlineOffset: 2\n },\n [theme.breakpoints.down('sm')]: {\n padding: '8px 0 0',\n fontSize: 16,\n marginRight: 16\n }\n}))\n\nconst TabInfoBlock = styled(Box)({\n borderRadius: 16,\n background: '#43404a80',\n padding: '16px 24px',\n marginBottom: 8,\n ['&:last-child']: {\n marginBottom: 0\n }\n})\n\nconst TabInfoTitle = styled(Typography)({\n fontSize: 18,\n lineHeight: '20px',\n fontWeight: 500,\n marginBottom: 12\n})\n\nconst TabInfoSubtitle = styled(Typography)({\n color: '#cfcdd4',\n fontSize: 18,\n fontWeight: 400,\n lineHeight: '24px',\n marginBottom: 0\n})\n\nconst SkillsContainer = styled(Box)({\n display: 'flex',\n flexWrap: 'wrap'\n})\n\nconst SkillBadge = styled(Box)({\n padding: '8px 16px',\n borderRadius: 16,\n marginRight: 8,\n marginBottom: 8,\n background: '#43404a',\n fontSize: 13,\n fontWeight: 600,\n lineHeight: 'normal',\n textTransform: 'uppercase'\n})\n\nconst LinksContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexWrap: 'wrap',\n flexDirection: 'row',\n [theme.breakpoints.down('md')]: {\n flexDirection: 'column'\n }\n}))\n\nconst LinkItem = styled('a')({\n fontSize: 16,\n lineHeight: '24px',\n fontWeight: 500,\n textDecorationLine: 'underline',\n color: '#ffa25a',\n width: '50%',\n marginBottom: 8,\n display: 'block',\n ['&:hover, &:active, &:visited, &:focus']: {\n color: '#ffa25a'\n }\n})\n\nexport {\n CreateCardContainer,\n CreateCardDescription,\n CreateCardImage,\n CreateCardInfo,\n CreateCardTitle,\n CreateSection,\n CreateTitle,\n LinkItem,\n LinksContainer,\n SkillBadge,\n SkillsContainer,\n TabButton,\n TabButtons,\n TabContainer,\n TabInfoBlock,\n TabInfoSubtitle,\n TabInfoTitle\n}\n","import { memo, useState } from 'react'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { Carousel } from '../../Carousel'\nimport { AnimatedSection } from '../AnimatedSection'\nimport { createCards } from '../data'\nimport type { CreateCardData, CreateCardTab } from '../data'\nimport {\n CreateCardContainer,\n CreateCardDescription,\n CreateCardImage,\n CreateCardInfo,\n CreateCardTitle,\n CreateSection,\n CreateTitle,\n LinkItem,\n LinksContainer,\n SkillBadge,\n SkillsContainer,\n TabButton,\n TabButtons,\n TabContainer,\n TabInfoBlock,\n TabInfoSubtitle,\n TabInfoTitle\n} from './CreateCards.styled'\n\ntype CreateTabContentProps = {\n tab: CreateCardTab\n}\n\nconst CreateTabContent = memo(({ tab }: CreateTabContentProps) => {\n const l = useFormatMessage()\n\n return (\n <>\n <TabInfoBlock>\n <TabInfoTitle>{tab.descriptionTitle}</TabInfoTitle>\n <TabInfoSubtitle>{tab.descriptionSubTitle}</TabInfoSubtitle>\n </TabInfoBlock>\n <TabInfoBlock>\n <TabInfoTitle>{l('component.creators_landing.create.tab.required_skills')}</TabInfoTitle>\n <SkillsContainer>\n {tab.skills.map(skill => (\n <SkillBadge key={skill}>{skill}</SkillBadge>\n ))}\n </SkillsContainer>\n </TabInfoBlock>\n <TabInfoBlock>\n <TabInfoTitle>{l('component.creators_landing.create.tab.useful_links')}</TabInfoTitle>\n <LinksContainer>\n {tab.links.map(link => (\n <LinkItem key={link.url} href={link.url} target=\"_blank\" rel=\"noopener noreferrer\">\n {link.label}\n </LinkItem>\n ))}\n </LinksContainer>\n </TabInfoBlock>\n </>\n )\n})\n\ntype CreateCardProps = {\n card: CreateCardData\n}\n\nconst CreateCard = memo(({ card }: CreateCardProps) => {\n const [activeTab, setActiveTab] = useState(card.tab1.title)\n\n return (\n <CreateCardContainer>\n <CreateCardImage bgImage={card.imageBackground}>\n <img src={card.image} alt={card.title} />\n </CreateCardImage>\n <CreateCardInfo>\n <CreateCardTitle>{card.title}</CreateCardTitle>\n <CreateCardDescription>{card.description}</CreateCardDescription>\n <TabContainer>\n {card.tab2 && (\n <TabButtons>\n <TabButton isActive={activeTab === card.tab1.title} onClick={() => setActiveTab(card.tab1.title)}>\n {card.tab1.title}\n </TabButton>\n <TabButton isActive={activeTab === card.tab2.title} onClick={() => setActiveTab(card.tab2!.title)}>\n {card.tab2.title}\n </TabButton>\n </TabButtons>\n )}\n {activeTab === card.tab1.title && <CreateTabContent tab={card.tab1} />}\n {card.tab2 && activeTab === card.tab2.title && <CreateTabContent tab={card.tab2} />}\n </TabContainer>\n </CreateCardInfo>\n </CreateCardContainer>\n )\n})\n\nconst renderCard = (card: CreateCardData) => <CreateCard card={card} />\nconst keyExtractor = (card: CreateCardData) => card.id\n\nconst CreatorsCreate = memo(() => {\n const l = useFormatMessage()\n return (\n <AnimatedSection>\n <CreateSection>\n <CreateTitle>\n {l('component.creators_landing.create.title')}\n <span>{l('component.creators_landing.create.title_highlight')}</span>\n {l('component.creators_landing.create.title_second_part')}\n </CreateTitle>\n <Carousel items={createCards} renderItem={renderCard} keyExtractor={keyExtractor} slideWidth={1200} autoplayDelay={0} />\n </CreateSection>\n </AnimatedSection>\n )\n})\n\nexport { CreatorsCreate }\n"],"names":["CreateSection","styled","theme","CreateTitle","Typography","CreateCardContainer","Box","CreateCardImage","prop","bgImage","CreateCardInfo","CreateCardTitle","CreateCardDescription","TabContainer","TabButtons","TabButton","isActive","TabInfoBlock","TabInfoTitle","TabInfoSubtitle","SkillsContainer","SkillBadge","LinksContainer","LinkItem","CreateTabContent","memo","tab","l","useFormatMessage","jsxs","Fragment","jsx","skill","link","CreateCard","card","activeTab","setActiveTab","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,CACF,CAEJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ap as n,ac as t}from"./index-BQ4lI5xX.js";const _="https://wearable-preview.decentraland.zone",e="https://decentraland.zone/account",R="https://decentraland.zone/profile",a="https://decentraland.zone/marketplace",L="https://decentraland.zone/builder",o="https://decentraland.zone/dao",c="https://decentraland.zone/governance",s="https://decentraland.zone/events",d="https://decentraland.zone/places",E="https://decentraland.org/create/",U="https://docs.decentraland.org/player/",r="https://decentraland.zone/download/creator-hub/",O="https://decentraland.zone/download/",A="https://decentraland.zone/download_success/",T="ea2ybdmmn1kv",N="master",l="18g1DzIyBxvu0steSwKyQr",S="https://cms.decentraland.org",C="https://decentraland.zone/marketplace/names/claim",p="https://decentraland.zone/marketplace/lands",D="https://decentraland.zone/marketplace/account",I="https://decentraland.zone/create/",h="https://studios.decentraland.zone/",g="https://decentraland.zone/builder/collections",P="https://decentraland.zone/builder/names",$="https://decentraland.zone/builder/worlds?tab=dcl",i="https://decentraland.zone/builder/land",B="https://decentraland.zone/events/me/",m="https://decentraland.zone/places/favorites/",M="https://docs.decentraland.org/player/",V="https://docs.decentraland.org/creator/",G="https://decentraland.zone/blog/",y="https://docs.decentraland.org/contributor/",F="https://decentraland.zone/governance/transparency/",u="https://decentraland.zone/governance/proposals/",K="https://decentraland.zone/dao/grants/",Y="https://decentraland.zone/governance/projects/",b="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",v="https://decentraland.zone/marketplace/settings",z="https://dcl.gg/discord",f="https://reddit.com/r/decentraland",W="https://github.com/decentraland",w="https://x.com/decentraland",H="https://instagram.com/decentraland_foundation/",k="https://youtube.com/@decentraland_foundation",x="https://tiktok.com/@decentraland_fdn",j="https://linkedin.com/company/decentralandorg",Q="https://decentraland.zone/privacy",J="https://decentraland.zone/terms",X="https://decentraland.zone/content",q="https://decentraland.zone/ethics",Z="https://decentraland.org/help",tt="mailto:hello@decentraland.org",nt="https://docs.decentraland.org/faqs/decentraland-101",_t="https://docs.decentraland.org",et="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",Rt="https://download-gateway.decentraland.zone",at="https://decentraland.zone/top-scenes",Lt="https://testflight.apple.com/join/KF4r3jlU",ot="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",ct={WEARABLE_PREVIEW_URL:_,ACCOUNT_URL:e,PROFILE_URL:R,MARKETPLACE_URL:a,BUILDER_URL:L,DAO_URL:o,GOVERNANCE_URL:c,EVENTS_URL:s,PLACES_URL:d,CREATE_URL:E,LEARN_URL:U,CREATOR_HUB_URL:r,DOWNLOAD_URL:O,DOWNLOAD_SUCCESS_URL:A,CONTENTFUL_SPACE_ID:T,CONTENTFUL_ENV:N,CONTENTFUL_NAVBAR_ENTRY_ID:l,CONTENTFUL_CONTENTFUL_CDN_URL:S,MARKETPLACE_NAMES_URL:C,MARKETPLACE_LANDS_URL:p,MARKETPLACE_MY_ASSETS_URL:D,LANDING_CREATORS_URL:I,STUDIOS_URL:h,BUILDER_WEARABLE_EMOTES_URL:g,BUILDER_NAMES_URL:P,BUILDER_WORLDS_URL:$,BUILDER_LAND_URL:i,EVENTS_MY_EVENTS:B,PLACES_MY_FAVORITE_URL:m,DOCS_ABOUT_URL:M,DOCS_CREATORS_URL:V,BLOG_URL:G,DOCS_CONTRIBUTOR_URL:y,GOVERNANCE_TRANSPARENCY_URL:F,GOVERNANCE_PROPOSALS_URL:u,DAO_GRANTS_URL:K,GOVERNANCE_PROJECTS_URL:Y,DOCS_DAO_URL:b,MARKETPLACE_SETTINGS_URL:v,DISCORD_URL:z,REDDIT_URL:f,GITHUB_URL:W,X_URL:w,INSTAGRAM_URL:H,YOUTUBE_URL:k,TIKTOK_URL:x,LINKEDIN_URL:j,PRIVACY_POLICY_URL:Q,TERMS_OF_USE_URL:J,CONTENT_POLICY_URL:X,CODE_OF_ETHICS_URL:q,SUPPORT_URL:Z,EMAIL_HELLO_URL:tt,FAQ_URL:nt,DOCS_URL:_t,BEEHIV_SUBSCRIPTION_URL:et,AUTO_SIGNING_BASE_URL:Rt,TOP_SCENES_URL:at,IOS_STORE_URL:Lt,ANDROID_STORE_URL:ot},st="https://wearable-preview.decentraland.org",dt="https://decentraland.org/account",Et="https://decentraland.org/profile",Ut="https://decentraland.org/marketplace",rt="https://decentraland.org/builder",Ot="https://decentraland.org/dao",At="https://decentraland.org/governance",Tt="https://decentraland.org/events",Nt="https://decentraland.org/places",lt="https://decentraland.org/create/",St="https://docs.decentraland.org/player/",Ct="https://decentraland.org/download/creator-hub/",pt="https://decentraland.org/download/",Dt="https://decentraland.org/download_success/",It="ea2ybdmmn1kv",ht="master",gt="18g1DzIyBxvu0steSwKyQr",Pt="https://cms.decentraland.org",$t="https://decentraland.org/marketplace/names/claim",it="https://decentraland.org/marketplace/lands",Bt="https://decentraland.org/marketplace/account",mt="https://decentraland.org/create/",Mt="https://studios.decentraland.org/",Vt="https://decentraland.org/builder/collections",Gt="https://decentraland.org/builder/names",yt="https://decentraland.org/builder/worlds?tab=dcl",Ft="https://decentraland.org/builder/land",ut="https://decentraland.org/events/me/",Kt="https://decentraland.org/places/favorites/",Yt="https://docs.decentraland.org/player/",bt="https://docs.decentraland.org/creator/",vt="https://decentraland.org/blog/",zt="https://docs.decentraland.org/contributor/",ft="https://decentraland.org/governance/transparency/",Wt="https://decentraland.org/governance/proposals/",wt="https://decentraland.org/dao/grants/",Ht="https://decentraland.org/governance/projects/",kt="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",xt="https://decentraland.org/marketplace/settings",jt="https://dcl.gg/discord",Qt="https://reddit.com/r/decentraland",Jt="https://github.com/decentraland",Xt="https://x.com/decentraland",qt="https://instagram.com/decentraland_foundation/",Zt="https://youtube.com/@decentraland_foundation",tn="https://tiktok.com/@decentraland_fdn",nn="https://linkedin.com/company/decentralandorg",_n="https://decentraland.org/privacy",en="https://decentraland.org/terms",Rn="https://decentraland.org/content",an="https://decentraland.org/ethics",Ln="https://decentraland.org/help",on="mailto:hello@decentraland.org",cn="https://docs.decentraland.org/faqs/decentraland-101",sn="https://docs.decentraland.org",dn="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",En="https://download-gateway.decentraland.org",Un="https://decentraland.org/top-scenes",rn="https://testflight.apple.com/join/KF4r3jlU",On="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",An={WEARABLE_PREVIEW_URL:st,ACCOUNT_URL:dt,PROFILE_URL:Et,MARKETPLACE_URL:Ut,BUILDER_URL:rt,DAO_URL:Ot,GOVERNANCE_URL:At,EVENTS_URL:Tt,PLACES_URL:Nt,CREATE_URL:lt,LEARN_URL:St,CREATOR_HUB_URL:Ct,DOWNLOAD_URL:pt,DOWNLOAD_SUCCESS_URL:Dt,CONTENTFUL_SPACE_ID:It,CONTENTFUL_ENV:ht,CONTENTFUL_NAVBAR_ENTRY_ID:gt,CONTENTFUL_CONTENTFUL_CDN_URL:Pt,MARKETPLACE_NAMES_URL:$t,MARKETPLACE_LANDS_URL:it,MARKETPLACE_MY_ASSETS_URL:Bt,LANDING_CREATORS_URL:mt,STUDIOS_URL:Mt,BUILDER_WEARABLE_EMOTES_URL:Vt,BUILDER_NAMES_URL:Gt,BUILDER_WORLDS_URL:yt,BUILDER_LAND_URL:Ft,EVENTS_MY_EVENTS:ut,PLACES_MY_FAVORITE_URL:Kt,DOCS_ABOUT_URL:Yt,DOCS_CREATORS_URL:bt,BLOG_URL:vt,DOCS_CONTRIBUTOR_URL:zt,GOVERNANCE_TRANSPARENCY_URL:ft,GOVERNANCE_PROPOSALS_URL:Wt,DAO_GRANTS_URL:wt,GOVERNANCE_PROJECTS_URL:Ht,DOCS_DAO_URL:kt,MARKETPLACE_SETTINGS_URL:xt,DISCORD_URL:jt,REDDIT_URL:Qt,GITHUB_URL:Jt,X_URL:Xt,INSTAGRAM_URL:qt,YOUTUBE_URL:Zt,TIKTOK_URL:tn,LINKEDIN_URL:nn,PRIVACY_POLICY_URL:_n,TERMS_OF_USE_URL:en,CONTENT_POLICY_URL:Rn,CODE_OF_ETHICS_URL:an,SUPPORT_URL:Ln,EMAIL_HELLO_URL:on,FAQ_URL:cn,DOCS_URL:sn,BEEHIV_SUBSCRIPTION_URL:dn,AUTO_SIGNING_BASE_URL:En,TOP_SCENES_URL:Un,IOS_STORE_URL:rn,ANDROID_STORE_URL:On},Tn="https://wearable-preview.decentraland.today",Nn="https://decentraland.today/account",ln="https://decentraland.today/profile",Sn="https://decentraland.today/marketplace",Cn="https://decentraland.today/builder",pn="https://decentraland.today/dao",Dn="https://decentraland.today/governance",In="https://decentraland.zone/events",hn="https://decentraland.zone/places",gn="https://decentraland.today/create/",Pn="https://docs.decentraland.org/player/",$n="https://decentraland.today/download/creator-hub/",Bn="https://decentraland.today/download/",mn="https://decentraland.today/download_success/",Mn="ea2ybdmmn1kv",Vn="master",Gn="18g1DzIyBxvu0steSwKyQr",yn="https://cms.decentraland.org",Fn="https://decentraland.today/marketplace/names/claim",un="https://decentraland.today/marketplace/lands",Kn="https://decentraland.today/marketplace/account",Yn="https://decentraland.today/create/",bn="https://studios.decentraland.today/",vn="https://decentraland.today/builder/collections",zn="https://decentraland.today/builder/names",fn="https://decentraland.today/builder/worlds?tab=dcl",Wn="https://decentraland.today/builder/land",wn="https://decentraland.today/events/me/",Hn="https://decentraland.today/places/favorites/",kn="https://docs.decentraland.org/player/",xn="https://docs.decentraland.org/creator/",jn="https://decentraland.today/blog/",Qn="https://docs.decentraland.org/contributor/",Jn="https://decentraland.today/governance/transparency/",Xn="https://decentraland.today/governance/proposals/",qn="https://decentraland.today/dao/grants/",Zn="https://decentraland.today/governance/projects/",t_="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",n_="https://decentraland.today/marketplace/settings",__="https://dcl.gg/discord",e_="https://reddit.com/r/decentraland",R_="https://github.com/decentraland",a_="https://x.com/decentraland",L_="https://instagram.com/decentraland_foundation/",o_="https://youtube.com/@decentraland_foundation",c_="https://tiktok.com/@decentraland_fdn",s_="https://linkedin.com/company/decentralandorg",d_="https://decentraland.org/privacy",E_="https://decentraland.org/terms",U_="https://decentraland.org/content",r_="https://decentraland.org/ethics",O_="https://decentraland.org/help",A_="mailto:hello@decentraland.org",T_="https://docs.decentraland.org/faqs/decentraland-101",N_="https://docs.decentraland.org",l_="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",S_="https://download-gateway.decentraland.zone",C_="https://decentraland.zone/top-scenes",p_="https://testflight.apple.com/join/KF4r3jlU",D_="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",I_={WEARABLE_PREVIEW_URL:Tn,ACCOUNT_URL:Nn,PROFILE_URL:ln,MARKETPLACE_URL:Sn,BUILDER_URL:Cn,DAO_URL:pn,GOVERNANCE_URL:Dn,EVENTS_URL:In,PLACES_URL:hn,CREATE_URL:gn,LEARN_URL:Pn,CREATOR_HUB_URL:$n,DOWNLOAD_URL:Bn,DOWNLOAD_SUCCESS_URL:mn,CONTENTFUL_SPACE_ID:Mn,CONTENTFUL_ENV:Vn,CONTENTFUL_NAVBAR_ENTRY_ID:Gn,CONTENTFUL_CONTENTFUL_CDN_URL:yn,MARKETPLACE_NAMES_URL:Fn,MARKETPLACE_LANDS_URL:un,MARKETPLACE_MY_ASSETS_URL:Kn,LANDING_CREATORS_URL:Yn,STUDIOS_URL:bn,BUILDER_WEARABLE_EMOTES_URL:vn,BUILDER_NAMES_URL:zn,BUILDER_WORLDS_URL:fn,BUILDER_LAND_URL:Wn,EVENTS_MY_EVENTS:wn,PLACES_MY_FAVORITE_URL:Hn,DOCS_ABOUT_URL:kn,DOCS_CREATORS_URL:xn,BLOG_URL:jn,DOCS_CONTRIBUTOR_URL:Qn,GOVERNANCE_TRANSPARENCY_URL:Jn,GOVERNANCE_PROPOSALS_URL:Xn,DAO_GRANTS_URL:qn,GOVERNANCE_PROJECTS_URL:Zn,DOCS_DAO_URL:t_,MARKETPLACE_SETTINGS_URL:n_,DISCORD_URL:__,REDDIT_URL:e_,GITHUB_URL:R_,X_URL:a_,INSTAGRAM_URL:L_,YOUTUBE_URL:o_,TIKTOK_URL:c_,LINKEDIN_URL:s_,PRIVACY_POLICY_URL:d_,TERMS_OF_USE_URL:E_,CONTENT_POLICY_URL:U_,CODE_OF_ETHICS_URL:r_,SUPPORT_URL:O_,EMAIL_HELLO_URL:A_,FAQ_URL:T_,DOCS_URL:N_,BEEHIV_SUBSCRIPTION_URL:l_,AUTO_SIGNING_BASE_URL:S_,TOP_SCENES_URL:C_,IOS_STORE_URL:p_,ANDROID_STORE_URL:D_},g_=n({[t.DEVELOPMENT]:ct,[t.STAGING]:I_,[t.PRODUCTION]:An});export{g_ as c};
|
|
1
|
+
import{ap as n,ac as t}from"./index-R7i610Pj.js";const _="https://wearable-preview.decentraland.zone",e="https://decentraland.zone/account",R="https://decentraland.zone/profile",a="https://decentraland.zone/marketplace",L="https://decentraland.zone/builder",o="https://decentraland.zone/dao",c="https://decentraland.zone/governance",s="https://decentraland.zone/events",d="https://decentraland.zone/places",E="https://decentraland.org/create/",U="https://docs.decentraland.org/player/",r="https://decentraland.zone/download/creator-hub/",O="https://decentraland.zone/download/",A="https://decentraland.zone/download_success/",T="ea2ybdmmn1kv",N="master",l="18g1DzIyBxvu0steSwKyQr",S="https://cms.decentraland.org",C="https://decentraland.zone/marketplace/names/claim",p="https://decentraland.zone/marketplace/lands",D="https://decentraland.zone/marketplace/account",I="https://decentraland.zone/create/",h="https://studios.decentraland.zone/",g="https://decentraland.zone/builder/collections",P="https://decentraland.zone/builder/names",$="https://decentraland.zone/builder/worlds?tab=dcl",i="https://decentraland.zone/builder/land",B="https://decentraland.zone/events/me/",m="https://decentraland.zone/places/favorites/",M="https://docs.decentraland.org/player/",V="https://docs.decentraland.org/creator/",G="https://decentraland.zone/blog/",y="https://docs.decentraland.org/contributor/",F="https://decentraland.zone/governance/transparency/",u="https://decentraland.zone/governance/proposals/",K="https://decentraland.zone/dao/grants/",Y="https://decentraland.zone/governance/projects/",b="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",v="https://decentraland.zone/marketplace/settings",z="https://dcl.gg/discord",f="https://reddit.com/r/decentraland",W="https://github.com/decentraland",w="https://x.com/decentraland",H="https://instagram.com/decentraland_foundation/",k="https://youtube.com/@decentraland_foundation",x="https://tiktok.com/@decentraland_fdn",j="https://linkedin.com/company/decentralandorg",Q="https://decentraland.zone/privacy",J="https://decentraland.zone/terms",X="https://decentraland.zone/content",q="https://decentraland.zone/ethics",Z="https://decentraland.org/help",tt="mailto:hello@decentraland.org",nt="https://docs.decentraland.org/faqs/decentraland-101",_t="https://docs.decentraland.org",et="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",Rt="https://download-gateway.decentraland.zone",at="https://decentraland.zone/top-scenes",Lt="https://testflight.apple.com/join/KF4r3jlU",ot="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",ct={WEARABLE_PREVIEW_URL:_,ACCOUNT_URL:e,PROFILE_URL:R,MARKETPLACE_URL:a,BUILDER_URL:L,DAO_URL:o,GOVERNANCE_URL:c,EVENTS_URL:s,PLACES_URL:d,CREATE_URL:E,LEARN_URL:U,CREATOR_HUB_URL:r,DOWNLOAD_URL:O,DOWNLOAD_SUCCESS_URL:A,CONTENTFUL_SPACE_ID:T,CONTENTFUL_ENV:N,CONTENTFUL_NAVBAR_ENTRY_ID:l,CONTENTFUL_CONTENTFUL_CDN_URL:S,MARKETPLACE_NAMES_URL:C,MARKETPLACE_LANDS_URL:p,MARKETPLACE_MY_ASSETS_URL:D,LANDING_CREATORS_URL:I,STUDIOS_URL:h,BUILDER_WEARABLE_EMOTES_URL:g,BUILDER_NAMES_URL:P,BUILDER_WORLDS_URL:$,BUILDER_LAND_URL:i,EVENTS_MY_EVENTS:B,PLACES_MY_FAVORITE_URL:m,DOCS_ABOUT_URL:M,DOCS_CREATORS_URL:V,BLOG_URL:G,DOCS_CONTRIBUTOR_URL:y,GOVERNANCE_TRANSPARENCY_URL:F,GOVERNANCE_PROPOSALS_URL:u,DAO_GRANTS_URL:K,GOVERNANCE_PROJECTS_URL:Y,DOCS_DAO_URL:b,MARKETPLACE_SETTINGS_URL:v,DISCORD_URL:z,REDDIT_URL:f,GITHUB_URL:W,X_URL:w,INSTAGRAM_URL:H,YOUTUBE_URL:k,TIKTOK_URL:x,LINKEDIN_URL:j,PRIVACY_POLICY_URL:Q,TERMS_OF_USE_URL:J,CONTENT_POLICY_URL:X,CODE_OF_ETHICS_URL:q,SUPPORT_URL:Z,EMAIL_HELLO_URL:tt,FAQ_URL:nt,DOCS_URL:_t,BEEHIV_SUBSCRIPTION_URL:et,AUTO_SIGNING_BASE_URL:Rt,TOP_SCENES_URL:at,IOS_STORE_URL:Lt,ANDROID_STORE_URL:ot},st="https://wearable-preview.decentraland.org",dt="https://decentraland.org/account",Et="https://decentraland.org/profile",Ut="https://decentraland.org/marketplace",rt="https://decentraland.org/builder",Ot="https://decentraland.org/dao",At="https://decentraland.org/governance",Tt="https://decentraland.org/events",Nt="https://decentraland.org/places",lt="https://decentraland.org/create/",St="https://docs.decentraland.org/player/",Ct="https://decentraland.org/download/creator-hub/",pt="https://decentraland.org/download/",Dt="https://decentraland.org/download_success/",It="ea2ybdmmn1kv",ht="master",gt="18g1DzIyBxvu0steSwKyQr",Pt="https://cms.decentraland.org",$t="https://decentraland.org/marketplace/names/claim",it="https://decentraland.org/marketplace/lands",Bt="https://decentraland.org/marketplace/account",mt="https://decentraland.org/create/",Mt="https://studios.decentraland.org/",Vt="https://decentraland.org/builder/collections",Gt="https://decentraland.org/builder/names",yt="https://decentraland.org/builder/worlds?tab=dcl",Ft="https://decentraland.org/builder/land",ut="https://decentraland.org/events/me/",Kt="https://decentraland.org/places/favorites/",Yt="https://docs.decentraland.org/player/",bt="https://docs.decentraland.org/creator/",vt="https://decentraland.org/blog/",zt="https://docs.decentraland.org/contributor/",ft="https://decentraland.org/governance/transparency/",Wt="https://decentraland.org/governance/proposals/",wt="https://decentraland.org/dao/grants/",Ht="https://decentraland.org/governance/projects/",kt="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",xt="https://decentraland.org/marketplace/settings",jt="https://dcl.gg/discord",Qt="https://reddit.com/r/decentraland",Jt="https://github.com/decentraland",Xt="https://x.com/decentraland",qt="https://instagram.com/decentraland_foundation/",Zt="https://youtube.com/@decentraland_foundation",tn="https://tiktok.com/@decentraland_fdn",nn="https://linkedin.com/company/decentralandorg",_n="https://decentraland.org/privacy",en="https://decentraland.org/terms",Rn="https://decentraland.org/content",an="https://decentraland.org/ethics",Ln="https://decentraland.org/help",on="mailto:hello@decentraland.org",cn="https://docs.decentraland.org/faqs/decentraland-101",sn="https://docs.decentraland.org",dn="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",En="https://download-gateway.decentraland.org",Un="https://decentraland.org/top-scenes",rn="https://testflight.apple.com/join/KF4r3jlU",On="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",An={WEARABLE_PREVIEW_URL:st,ACCOUNT_URL:dt,PROFILE_URL:Et,MARKETPLACE_URL:Ut,BUILDER_URL:rt,DAO_URL:Ot,GOVERNANCE_URL:At,EVENTS_URL:Tt,PLACES_URL:Nt,CREATE_URL:lt,LEARN_URL:St,CREATOR_HUB_URL:Ct,DOWNLOAD_URL:pt,DOWNLOAD_SUCCESS_URL:Dt,CONTENTFUL_SPACE_ID:It,CONTENTFUL_ENV:ht,CONTENTFUL_NAVBAR_ENTRY_ID:gt,CONTENTFUL_CONTENTFUL_CDN_URL:Pt,MARKETPLACE_NAMES_URL:$t,MARKETPLACE_LANDS_URL:it,MARKETPLACE_MY_ASSETS_URL:Bt,LANDING_CREATORS_URL:mt,STUDIOS_URL:Mt,BUILDER_WEARABLE_EMOTES_URL:Vt,BUILDER_NAMES_URL:Gt,BUILDER_WORLDS_URL:yt,BUILDER_LAND_URL:Ft,EVENTS_MY_EVENTS:ut,PLACES_MY_FAVORITE_URL:Kt,DOCS_ABOUT_URL:Yt,DOCS_CREATORS_URL:bt,BLOG_URL:vt,DOCS_CONTRIBUTOR_URL:zt,GOVERNANCE_TRANSPARENCY_URL:ft,GOVERNANCE_PROPOSALS_URL:Wt,DAO_GRANTS_URL:wt,GOVERNANCE_PROJECTS_URL:Ht,DOCS_DAO_URL:kt,MARKETPLACE_SETTINGS_URL:xt,DISCORD_URL:jt,REDDIT_URL:Qt,GITHUB_URL:Jt,X_URL:Xt,INSTAGRAM_URL:qt,YOUTUBE_URL:Zt,TIKTOK_URL:tn,LINKEDIN_URL:nn,PRIVACY_POLICY_URL:_n,TERMS_OF_USE_URL:en,CONTENT_POLICY_URL:Rn,CODE_OF_ETHICS_URL:an,SUPPORT_URL:Ln,EMAIL_HELLO_URL:on,FAQ_URL:cn,DOCS_URL:sn,BEEHIV_SUBSCRIPTION_URL:dn,AUTO_SIGNING_BASE_URL:En,TOP_SCENES_URL:Un,IOS_STORE_URL:rn,ANDROID_STORE_URL:On},Tn="https://wearable-preview.decentraland.today",Nn="https://decentraland.today/account",ln="https://decentraland.today/profile",Sn="https://decentraland.today/marketplace",Cn="https://decentraland.today/builder",pn="https://decentraland.today/dao",Dn="https://decentraland.today/governance",In="https://decentraland.zone/events",hn="https://decentraland.zone/places",gn="https://decentraland.today/create/",Pn="https://docs.decentraland.org/player/",$n="https://decentraland.today/download/creator-hub/",Bn="https://decentraland.today/download/",mn="https://decentraland.today/download_success/",Mn="ea2ybdmmn1kv",Vn="master",Gn="18g1DzIyBxvu0steSwKyQr",yn="https://cms.decentraland.org",Fn="https://decentraland.today/marketplace/names/claim",un="https://decentraland.today/marketplace/lands",Kn="https://decentraland.today/marketplace/account",Yn="https://decentraland.today/create/",bn="https://studios.decentraland.today/",vn="https://decentraland.today/builder/collections",zn="https://decentraland.today/builder/names",fn="https://decentraland.today/builder/worlds?tab=dcl",Wn="https://decentraland.today/builder/land",wn="https://decentraland.today/events/me/",Hn="https://decentraland.today/places/favorites/",kn="https://docs.decentraland.org/player/",xn="https://docs.decentraland.org/creator/",jn="https://decentraland.today/blog/",Qn="https://docs.decentraland.org/contributor/",Jn="https://decentraland.today/governance/transparency/",Xn="https://decentraland.today/governance/proposals/",qn="https://decentraland.today/dao/grants/",Zn="https://decentraland.today/governance/projects/",t_="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",n_="https://decentraland.today/marketplace/settings",__="https://dcl.gg/discord",e_="https://reddit.com/r/decentraland",R_="https://github.com/decentraland",a_="https://x.com/decentraland",L_="https://instagram.com/decentraland_foundation/",o_="https://youtube.com/@decentraland_foundation",c_="https://tiktok.com/@decentraland_fdn",s_="https://linkedin.com/company/decentralandorg",d_="https://decentraland.org/privacy",E_="https://decentraland.org/terms",U_="https://decentraland.org/content",r_="https://decentraland.org/ethics",O_="https://decentraland.org/help",A_="mailto:hello@decentraland.org",T_="https://docs.decentraland.org/faqs/decentraland-101",N_="https://docs.decentraland.org",l_="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",S_="https://download-gateway.decentraland.zone",C_="https://decentraland.zone/top-scenes",p_="https://testflight.apple.com/join/KF4r3jlU",D_="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",I_={WEARABLE_PREVIEW_URL:Tn,ACCOUNT_URL:Nn,PROFILE_URL:ln,MARKETPLACE_URL:Sn,BUILDER_URL:Cn,DAO_URL:pn,GOVERNANCE_URL:Dn,EVENTS_URL:In,PLACES_URL:hn,CREATE_URL:gn,LEARN_URL:Pn,CREATOR_HUB_URL:$n,DOWNLOAD_URL:Bn,DOWNLOAD_SUCCESS_URL:mn,CONTENTFUL_SPACE_ID:Mn,CONTENTFUL_ENV:Vn,CONTENTFUL_NAVBAR_ENTRY_ID:Gn,CONTENTFUL_CONTENTFUL_CDN_URL:yn,MARKETPLACE_NAMES_URL:Fn,MARKETPLACE_LANDS_URL:un,MARKETPLACE_MY_ASSETS_URL:Kn,LANDING_CREATORS_URL:Yn,STUDIOS_URL:bn,BUILDER_WEARABLE_EMOTES_URL:vn,BUILDER_NAMES_URL:zn,BUILDER_WORLDS_URL:fn,BUILDER_LAND_URL:Wn,EVENTS_MY_EVENTS:wn,PLACES_MY_FAVORITE_URL:Hn,DOCS_ABOUT_URL:kn,DOCS_CREATORS_URL:xn,BLOG_URL:jn,DOCS_CONTRIBUTOR_URL:Qn,GOVERNANCE_TRANSPARENCY_URL:Jn,GOVERNANCE_PROPOSALS_URL:Xn,DAO_GRANTS_URL:qn,GOVERNANCE_PROJECTS_URL:Zn,DOCS_DAO_URL:t_,MARKETPLACE_SETTINGS_URL:n_,DISCORD_URL:__,REDDIT_URL:e_,GITHUB_URL:R_,X_URL:a_,INSTAGRAM_URL:L_,YOUTUBE_URL:o_,TIKTOK_URL:c_,LINKEDIN_URL:s_,PRIVACY_POLICY_URL:d_,TERMS_OF_USE_URL:E_,CONTENT_POLICY_URL:U_,CODE_OF_ETHICS_URL:r_,SUPPORT_URL:O_,EMAIL_HELLO_URL:A_,FAQ_URL:T_,DOCS_URL:N_,BEEHIV_SUBSCRIPTION_URL:l_,AUTO_SIGNING_BASE_URL:S_,TOP_SCENES_URL:C_,IOS_STORE_URL:p_,ANDROID_STORE_URL:D_},g_=n({[t.DEVELOPMENT]:ct,[t.STAGING]:I_,[t.PRODUCTION]:An});export{g_ as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-0oAMKUvQ.js","sources":["../../node_modules/decentraland-ui2/dist/config/index.js"],"sourcesContent":["import { Env, createConfig } from '@dcl/ui-env';\nimport dev from './env/dev.json';\nimport prod from './env/prod.json';\nimport stg from './env/stg.json';\nexport const config = createConfig({\n [Env.DEVELOPMENT]: dev,\n [Env.STAGING]: stg,\n [Env.PRODUCTION]: prod\n});\n//# sourceMappingURL=index.js.map"],"names":["config","createConfig","Env","dev","stg","prod"],"mappings":"mrWAIaA,GAASC,EAAa,CAC/B,CAACC,EAAI,WAAW,EAAGC,GACnB,CAACD,EAAI,OAAO,EAAGE,GACf,CAACF,EAAI,UAAU,EAAGG,EACtB,CAAC","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as e,v as r,a as o,w as s,j as i}from"./index-
|
|
1
|
+
import{s as e,v as r,a as o,w as s,j as i}from"./index-R7i610Pj.js";import{r as d}from"./vendor-router-D_36sTKu.js";import{A as l}from"./AnimatedSection-r9u-L-Kd.js";import{w as m}from"./index-unat-leD.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";import"./useCreatorHubDownload-j5seSO3Q.js";import"./file-Cr_gl9BS.js";import"./url-Bw4jp_Z_.js";import"./index-0oAMKUvQ.js";import"./useLatestGithubRelease-lPlpQBOj.js";import"./CTAButton-BdBEyGrc.js";import"./CircularProgress-CWegCeA4.js";import"./Video-mEo8KcLo.js";const p=e("section")(({theme:t})=>({display:"flex",flexDirection:"column",gap:"1em",width:"100%",paddingBottom:100,[t.breakpoints.down("sm")]:{paddingBottom:40,paddingLeft:t.spacing(4),paddingRight:t.spacing(4),overflow:"hidden"}})),g=e(r)(({theme:t})=>({textAlign:"center",fontSize:48,fontWeight:600,color:"#fcfcfc",marginTop:0,marginBottom:32,maxWidth:"80vw",marginLeft:"auto",marginRight:"auto","& span":{background:"linear-gradient(244deg, #ff2d55 -11.67%, #ffbc5b 88.23%)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},[t.breakpoints.down("sm")]:{fontSize:32,fontWeight:700,lineHeight:"40px",letterSpacing:"-0.64px"}})),c=e(o)(({theme:t})=>({display:"flex",flexDirection:"row",justifyContent:"center",[t.breakpoints.down("sm")]:{flexDirection:"column",gap:20}})),a={join:"linear-gradient(206deg, #c640cd 2.47%, #691fa9 98.81%)",create:"radial-gradient(2917.83% 156.44% at 16.06% 114.57%, #ff4f57 13.42%, #ffa25a 100%)",benefit:"linear-gradient(208deg, #ff2d55 13.94%, #c640cd 80.96%)"},h=e(o,{shouldForwardProp:t=>t!=="cardId"})(({theme:t,cardId:n})=>({opacity:1,maxWidth:450,flexShrink:0,borderRadius:24,marginRight:24,flex:1,background:a[n]||a.join,"&:last-child":{marginRight:0},[t.breakpoints.down("sm")]:{width:"100%",maxWidth:"100%",marginRight:0}})),f=e(o)(({theme:t})=>({justifyContent:"space-between",alignItems:"center",height:"100%",display:"flex",flexDirection:"column",padding:"24px 24px 32px",position:"relative",borderRadius:20,overflow:"hidden",flex:1,transition:"transform 0.3s ease-in-out","@media (hover: hover)":{"&:hover":{transform:"scale(1.05)"}},[t.breakpoints.down("sm")]:{padding:"26px 24px",justifyContent:"flex-start"}})),x=e(o)(({theme:t})=>({borderRadius:16,width:"100%",marginBottom:24,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden","& img":{flex:"1 1 auto",minHeight:0,objectFit:"contain",maxWidth:"100%"},[t.breakpoints.down("sm")]:{height:138,minHeight:138,marginBottom:16,"& img":{maxWidth:"none",minHeight:"100%",minWidth:"100%"}}})),y=e(o)({alignSelf:"flex-start",flex:1,display:"flex",flexDirection:"column",justifyContent:"flex-start"}),u=e(r)(({theme:t})=>({fontSize:24,lineHeight:"30px",fontWeight:600,marginBottom:8,paddingLeft:10,paddingRight:10,[t.breakpoints.down("sm")]:{fontWeight:700,fontSize:20,lineHeight:"28px"}})),w=e(r)(({theme:t})=>({fontSize:18,lineHeight:"24px",fontWeight:400,marginTop:0,paddingLeft:10,paddingRight:10,[t.breakpoints.down("sm")]:{color:"#fff"}})),_=d.memo(()=>{const t=s();return i.jsx(l,{children:i.jsxs(p,{children:[i.jsxs(g,{children:[i.jsx("span",{children:t("component.creators_landing.why.title_highlight")})," ",t("component.creators_landing.why.title")]}),i.jsx(c,{children:m.map(n=>i.jsx(h,{cardId:n.id,children:i.jsxs(f,{children:[i.jsx(x,{children:i.jsx("img",{src:n.image,alt:n.title})}),i.jsxs(y,{children:[i.jsx(u,{children:n.title}),i.jsx(w,{children:n.description})]})]})},n.id))})]})})});export{_ as CreatorsWhy};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-9Gjt6A3P.js","sources":["../../src/components/Create/Why/Why.styled.ts","../../src/components/Create/Why/Why.tsx"],"sourcesContent":["import { Box, Typography, styled } from 'decentraland-ui2'\n\nconst WhySection = styled('section')(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n gap: '1em',\n width: '100%',\n paddingBottom: 100,\n [theme.breakpoints.down('sm')]: {\n paddingBottom: 40,\n paddingLeft: theme.spacing(4),\n paddingRight: theme.spacing(4),\n overflow: 'hidden'\n }\n}))\n\nconst WhyTitle = styled(Typography)(({ theme }) => ({\n textAlign: 'center',\n fontSize: 48,\n fontWeight: 600,\n color: '#fcfcfc',\n marginTop: 0,\n marginBottom: 32,\n maxWidth: '80vw',\n marginLeft: 'auto',\n marginRight: 'auto',\n ['& span']: {\n background: 'linear-gradient(244deg, #ff2d55 -11.67%, #ffbc5b 88.23%)',\n backgroundClip: 'text',\n ['WebkitBackgroundClip' as string]: 'text',\n ['WebkitTextFillColor' as string]: 'transparent'\n },\n [theme.breakpoints.down('sm')]: {\n fontSize: 32,\n fontWeight: 700,\n lineHeight: '40px',\n letterSpacing: '-0.64px'\n }\n}))\n\nconst WhyGrid = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'center',\n [theme.breakpoints.down('sm')]: {\n flexDirection: 'column',\n gap: 20\n }\n}))\n\nconst cardGradients: Record<string, string> = {\n join: 'linear-gradient(206deg, #c640cd 2.47%, #691fa9 98.81%)',\n create: 'radial-gradient(2917.83% 156.44% at 16.06% 114.57%, #ff4f57 13.42%, #ffa25a 100%)',\n benefit: 'linear-gradient(208deg, #ff2d55 13.94%, #c640cd 80.96%)'\n}\n\nconst WhyCard = styled(Box, {\n shouldForwardProp: prop => prop !== 'cardId'\n})<{ cardId: string }>(({ theme, cardId }) => ({\n opacity: 1,\n maxWidth: 450,\n flexShrink: 0,\n borderRadius: 24,\n marginRight: 24,\n flex: 1,\n background: cardGradients[cardId] || cardGradients.join,\n ['&:last-child']: {\n marginRight: 0\n },\n [theme.breakpoints.down('sm')]: {\n width: '100%',\n maxWidth: '100%',\n marginRight: 0\n }\n}))\n\nconst WhyCardInner = styled(Box)(({ theme }) => ({\n justifyContent: 'space-between',\n alignItems: 'center',\n height: '100%',\n display: 'flex',\n flexDirection: 'column',\n padding: '24px 24px 32px',\n position: 'relative',\n borderRadius: 20,\n overflow: 'hidden',\n flex: 1,\n transition: 'transform 0.3s ease-in-out',\n ['@media (hover: hover)']: {\n ['&:hover']: {\n transform: 'scale(1.05)'\n }\n },\n [theme.breakpoints.down('sm')]: {\n padding: '26px 24px',\n justifyContent: 'flex-start'\n }\n}))\n\nconst WhyCardImageContainer = styled(Box)(({ theme }) => ({\n borderRadius: 16,\n width: '100%',\n marginBottom: 24,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n overflow: 'hidden',\n ['& img']: {\n flex: '1 1 auto',\n minHeight: 0,\n objectFit: 'contain',\n maxWidth: '100%'\n },\n [theme.breakpoints.down('sm')]: {\n height: 138,\n minHeight: 138,\n marginBottom: 16,\n ['& img']: {\n maxWidth: 'none',\n minHeight: '100%',\n minWidth: '100%'\n }\n }\n}))\n\nconst WhyCardText = styled(Box)({\n alignSelf: 'flex-start',\n flex: 1,\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'flex-start'\n})\n\nconst WhyCardTitle = styled(Typography)(({ theme }) => ({\n fontSize: 24,\n lineHeight: '30px',\n fontWeight: 600,\n marginBottom: 8,\n paddingLeft: 10,\n paddingRight: 10,\n [theme.breakpoints.down('sm')]: {\n fontWeight: 700,\n fontSize: 20,\n lineHeight: '28px'\n }\n}))\n\nconst WhyCardDescription = styled(Typography)(({ theme }) => ({\n fontSize: 18,\n lineHeight: '24px',\n fontWeight: 400,\n marginTop: 0,\n paddingLeft: 10,\n paddingRight: 10,\n [theme.breakpoints.down('sm')]: {\n color: '#fff'\n }\n}))\n\nexport { WhyCard, WhyCardDescription, WhyCardImageContainer, WhyCardInner, WhyCardText, WhyCardTitle, WhyGrid, WhySection, WhyTitle }\n","import { memo } from 'react'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { AnimatedSection } from '../AnimatedSection'\nimport { whyCards } from '../data'\nimport {\n WhyCard,\n WhyCardDescription,\n WhyCardImageContainer,\n WhyCardInner,\n WhyCardText,\n WhyCardTitle,\n WhyGrid,\n WhySection,\n WhyTitle\n} from './Why.styled'\n\nconst CreatorsWhy = memo(() => {\n const l = useFormatMessage()\n return (\n <AnimatedSection>\n <WhySection>\n <WhyTitle>\n <span>{l('component.creators_landing.why.title_highlight')}</span> {l('component.creators_landing.why.title')}\n </WhyTitle>\n <WhyGrid>\n {whyCards.map(card => (\n <WhyCard key={card.id} cardId={card.id}>\n <WhyCardInner>\n <WhyCardImageContainer>\n <img src={card.image} alt={card.title} />\n </WhyCardImageContainer>\n <WhyCardText>\n <WhyCardTitle>{card.title}</WhyCardTitle>\n <WhyCardDescription>{card.description}</WhyCardDescription>\n </WhyCardText>\n </WhyCardInner>\n </WhyCard>\n ))}\n </WhyGrid>\n </WhySection>\n </AnimatedSection>\n )\n})\n\nexport { CreatorsWhy }\n"],"names":["WhySection","styled","theme","WhyTitle","Typography","WhyGrid","Box","cardGradients","WhyCard","prop","cardId","WhyCardInner","WhyCardImageContainer","WhyCardText","WhyCardTitle","WhyCardDescription","CreatorsWhy","memo","l","useFormatMessage","jsx","AnimatedSection","jsxs","whyCards","card"],"mappings":"0oBAEA,MAAMA,EAAaC,EAAO,SAAS,EAAE,CAAC,CAAE,MAAAC,MAAa,CACnD,QAAS,OACT,cAAe,SACf,IAAK,MACL,MAAO,OACP,cAAe,IACf,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,cAAe,GACf,YAAaA,EAAM,QAAQ,CA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CAAA,CAAE,EAAO,IAAEA,EAAE,sCAAsC,CAAA,EAC9G,EACAE,EAAAA,IAACf,EAAA,CACE,SAAAkB,EAAS,IAAIC,GACZJ,EAAAA,IAACZ,EAAA,CAAsB,OAAQgB,EAAK,GAClC,SAAAF,OAACX,EAAA,CACC,SAAA,CAAAS,EAAAA,IAACR,EAAA,CACC,eAAC,MAAA,CAAI,IAAKY,EAAK,MAAO,IAAKA,EAAK,KAAA,CAAO,CAAA,CACzC,SACCX,EAAA,CACC,SAAA,CAAAO,EAAAA,IAACN,EAAA,CAAc,WAAK,KAAA,CAAM,EAC1BM,EAAAA,IAACL,EAAA,CAAoB,SAAAS,EAAK,WAAA,CAAY,CAAA,CAAA,CACxC,CAAA,CAAA,CACF,CAAA,EATYA,EAAK,EAUnB,CACD,CAAA,CACH,CAAA,CAAA,CACF,CAAA,CACF,CAEJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e,s as n,v as s,a as o,w as c,B as l}from"./index-
|
|
1
|
+
import{j as e,s as n,v as s,a as o,w as c,B as l}from"./index-R7i610Pj.js";import{r as a}from"./vendor-router-D_36sTKu.js";import{A as p}from"./AnimatedSection-r9u-L-Kd.js";import{l as h}from"./index-unat-leD.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";import"./useCreatorHubDownload-j5seSO3Q.js";import"./file-Cr_gl9BS.js";import"./url-Bw4jp_Z_.js";import"./index-0oAMKUvQ.js";import"./useLatestGithubRelease-lPlpQBOj.js";import"./CTAButton-BdBEyGrc.js";import"./CircularProgress-CWegCeA4.js";import"./Video-mEo8KcLo.js";const m=a.memo(t=>{const i=a.useId();return e.jsxs("svg",{...t,className:"play-icon",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("g",{filter:`url(#${i})`,children:e.jsx("path",{d:"M60 16C37.9167 16 20 33.9167 20 56C20 78.0833 37.9167 96 60 96C82.0833 96 100 78.0833 100 56C100 33.9167 82.0833 16 60 16ZM76.9983 59.4183L53.665 73.0833C53.0009 73.334 52.3336 73.5 51.6663 73.5C50.9991 73.5 50.3317 73.4154 49.749 72.9987C48.5837 72.3314 47.8317 70.9154 47.8317 69.5807V42.3349C47.8317 40.8342 48.5804 39.5842 49.749 38.9169C50.9143 38.2496 52.4997 38.2496 53.665 38.9169L76.9983 52.5819C78.1637 53.3306 78.9157 54.4992 78.9157 55.9999C78.9157 57.5005 78.167 58.751 76.9983 59.4183Z",fill:"white"})}),e.jsx("defs",{children:e.jsxs("filter",{id:i,x:"0",y:"0",width:"120",height:"120",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dy:"4"}),e.jsx("feGaussianBlur",{stdDeviation:"10"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0"}),e.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),e.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]})})]})}),g=n("section")({position:"relative",overflow:"hidden",width:"100%",backgroundRepeat:"no-repeat",backgroundPosition:"center",paddingLeft:0,paddingRight:0}),x=n(s)(({theme:t})=>({textAlign:"center",fontSize:48,fontWeight:600,color:"#fcfcfc",marginTop:97,marginBottom:62,maxWidth:"80vw",marginLeft:"auto",marginRight:"auto","& span":{background:"linear-gradient(244deg, #ff2d55 -11.67%, #ffbc5b 88.23%)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},[t.breakpoints.down("sm")]:{fontSize:36,lineHeight:"40px"}})),f=n(o)(({theme:t})=>({display:"flex",overflowX:"auto",gap:20,paddingLeft:100,paddingRight:100,scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},[t.breakpoints.down("sm")]:{paddingLeft:16,paddingRight:16}})),u=n(o)(({theme:t})=>({width:529,minWidth:529,height:398,flexShrink:0,borderRadius:20,overflow:"hidden",display:"flex",flexDirection:"column",justifyContent:"space-between",boxSizing:"border-box",position:"relative",cursor:"pointer",transition:"transform 0.35s ease-in-out",[t.breakpoints.down("sm")]:{width:360,minWidth:360,maxWidth:360,height:310}})),w=n(o)(({theme:t})=>({width:"100%",height:236,position:"relative",cursor:"pointer",flex:1,"& img":{width:"100%",height:"100%",objectFit:"cover",borderRadius:"10px 10px 0 0"},"& .play-icon":{width:80,height:80,position:"absolute",top:"50%",left:"50%",transition:"all 0.35s ease-in-out",transform:"translate(-50%, -50%)",opacity:.7},"&:hover .play-icon":{opacity:1,filter:"brightness(1.3)"},[t.breakpoints.down("sm")]:{height:160}})),b=n(o)({borderRadius:"0 0 20px 20px",background:"#242129",width:"100%",display:"flex",flexDirection:"column"}),j=n(o)({display:"flex",flexDirection:"row",padding:"18px 24px",width:"100%",alignItems:"center",justifyContent:"space-between"}),C=n(o)({cursor:"pointer",display:"flex",alignItems:"center"}),k=n(o)({width:40,height:40,borderRadius:"50%",overflow:"hidden","& img":{width:"100%",height:"100%",objectFit:"cover"}}),y=n(s)(({theme:t})=>({color:"#a09ba8",fontSize:18,fontWeight:600,marginLeft:8,[t.breakpoints.down("sm")]:{fontSize:16}})),L=n(s)(({theme:t})=>({color:"#a09ba8",fontSize:18,fontWeight:600,textAlign:"right",textTransform:"uppercase",[t.breakpoints.down("sm")]:{fontSize:16}})),_=n(s)(({theme:t})=>({fontSize:20,lineHeight:"28px",fontWeight:700,padding:"0 24px 40px",[t.breakpoints.down("sm")]:{textAlign:"left",fontSize:18}})),v=n(o)(({theme:t})=>({display:"flex",justifyContent:"center",alignItems:"center",margin:"72px 20px",[t.breakpoints.down("sm")]:{flexDirection:"column",margin:0,paddingLeft:16,paddingRight:16,marginTop:28,marginBottom:32,width:"calc(100% - 16px)"}})),d=n(o)(({theme:t})=>({display:"flex",alignItems:"center",color:"#fff",textAlign:"center",fontSize:20,fontWeight:600,lineHeight:"48px","& a":{marginLeft:16},[t.breakpoints.down("lg")]:{flexDirection:"column"},[t.breakpoints.down("sm")]:{fontSize:18,width:"100%","& a":{marginLeft:0,width:"100%",marginTop:16}}})),P=a.memo(()=>{const t=c(),i=a.useCallback(r=>{window.open(r,"_blank")},[]);return e.jsx(p,{children:e.jsxs(g,{children:[e.jsxs(x,{children:[e.jsx("span",{children:t("component.creators_landing.learn.title_highlight")})," ",t("component.creators_landing.learn.title")]}),e.jsx(f,{children:h.map(r=>e.jsxs(u,{onClick:()=>i(r.url),children:[e.jsxs(w,{children:[e.jsx("img",{src:r.image,alt:r.title}),e.jsx(m,{})]}),e.jsxs(b,{children:[e.jsxs(j,{children:[e.jsxs(C,{children:[e.jsx(k,{children:e.jsx("img",{src:r.userImage,alt:r.name})}),e.jsx(y,{children:r.name})]}),e.jsx(L,{children:r.date})]}),e.jsx(_,{children:r.title})]})]},r.id))}),e.jsxs(v,{children:[e.jsxs(d,{sx:{marginRight:{xs:0,md:"80px"}},children:[t("component.creators_landing.learn.watch_more"),e.jsx(l,{variant:"contained",component:"a",href:t("component.creators_landing.learn.watch_more_target"),target:"_blank",rel:"noopener noreferrer",children:t("component.creators_landing.learn.watch_more_button")})]}),e.jsxs(d,{sx:{marginTop:{xs:"33px",md:0}},children:[t("component.creators_landing.learn.your_tutorial"),e.jsx(l,{variant:"outlined",component:"a",href:t("component.creators_landing.learn.your_tutorial_target"),target:"_blank",rel:"noopener noreferrer",sx:{backgroundColor:"#fff",color:"#43404a","&:hover":{backgroundColor:"#e0e0e0"}},children:t("component.creators_landing.learn.your_tutorial_button")})]})]})]})})});export{P as CreatorsLearn};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-Bs8_TMuc.js","sources":["../../src/components/Create/Learn/PlayIcon.tsx","../../src/components/Create/Learn/Learn.styled.ts","../../src/components/Create/Learn/Learn.tsx"],"sourcesContent":["import { type SVGAttributes, memo, useId } from 'react'\n\ntype PlayIconProps = SVGAttributes<SVGElement>\n\nconst PlayIcon = memo((props: PlayIconProps) => {\n const filterId = useId()\n return (\n <svg {...props} className=\"play-icon\" width=\"120\" height=\"120\" viewBox=\"0 0 120 120\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <g filter={`url(#${filterId})`}>\n <path\n d=\"M60 16C37.9167 16 20 33.9167 20 56C20 78.0833 37.9167 96 60 96C82.0833 96 100 78.0833 100 56C100 33.9167 82.0833 16 60 16ZM76.9983 59.4183L53.665 73.0833C53.0009 73.334 52.3336 73.5 51.6663 73.5C50.9991 73.5 50.3317 73.4154 49.749 72.9987C48.5837 72.3314 47.8317 70.9154 47.8317 69.5807V42.3349C47.8317 40.8342 48.5804 39.5842 49.749 38.9169C50.9143 38.2496 52.4997 38.2496 53.665 38.9169L76.9983 52.5819C78.1637 53.3306 78.9157 54.4992 78.9157 55.9999C78.9157 57.5005 78.167 58.751 76.9983 59.4183Z\"\n fill=\"white\"\n />\n </g>\n <defs>\n <filter id={filterId} x=\"0\" y=\"0\" width=\"120\" height=\"120\" filterUnits=\"userSpaceOnUse\" colorInterpolationFilters=\"sRGB\">\n <feFlood floodOpacity=\"0\" result=\"BackgroundImageFix\" />\n <feColorMatrix in=\"SourceAlpha\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\" />\n <feOffset dy=\"4\" />\n <feGaussianBlur stdDeviation=\"10\" />\n <feComposite in2=\"hardAlpha\" operator=\"out\" />\n <feColorMatrix type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0\" />\n <feBlend mode=\"normal\" in2=\"BackgroundImageFix\" result=\"effect1_dropShadow\" />\n <feBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"effect1_dropShadow\" result=\"shape\" />\n </filter>\n </defs>\n </svg>\n )\n})\n\nexport { PlayIcon }\n","import { Box, Typography, styled } from 'decentraland-ui2'\n\nconst LearnSection = styled('section')({\n position: 'relative',\n overflow: 'hidden',\n width: '100%',\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center',\n paddingLeft: 0,\n paddingRight: 0\n})\n\nconst LearnTitle = styled(Typography)(({ theme }) => ({\n textAlign: 'center',\n fontSize: 48,\n fontWeight: 600,\n color: '#fcfcfc',\n marginTop: 97,\n marginBottom: 62,\n maxWidth: '80vw',\n marginLeft: 'auto',\n marginRight: 'auto',\n ['& span']: {\n background: 'linear-gradient(244deg, #ff2d55 -11.67%, #ffbc5b 88.23%)',\n backgroundClip: 'text',\n ['WebkitBackgroundClip' as string]: 'text',\n ['WebkitTextFillColor' as string]: 'transparent'\n },\n [theme.breakpoints.down('sm')]: {\n fontSize: 36,\n lineHeight: '40px'\n }\n}))\n\nconst LearnCardsContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n overflowX: 'auto',\n gap: 20,\n paddingLeft: 100,\n paddingRight: 100,\n scrollbarWidth: 'none',\n ['&::-webkit-scrollbar']: {\n display: 'none'\n },\n [theme.breakpoints.down('sm')]: {\n paddingLeft: 16,\n paddingRight: 16\n }\n}))\n\nconst LearnCard = styled(Box)(({ theme }) => ({\n width: 529,\n minWidth: 529,\n height: 398,\n flexShrink: 0,\n borderRadius: 20,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',\n boxSizing: 'border-box',\n position: 'relative',\n cursor: 'pointer',\n transition: 'transform 0.35s ease-in-out',\n [theme.breakpoints.down('sm')]: {\n width: 360,\n minWidth: 360,\n maxWidth: 360,\n height: 310\n }\n}))\n\nconst LearnCardVideoImage = styled(Box)(({ theme }) => ({\n width: '100%',\n height: 236,\n position: 'relative',\n cursor: 'pointer',\n flex: 1,\n ['& img']: {\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n borderRadius: '10px 10px 0 0'\n },\n ['& .play-icon']: {\n width: 80,\n height: 80,\n position: 'absolute',\n top: '50%',\n left: '50%',\n transition: 'all 0.35s ease-in-out',\n transform: 'translate(-50%, -50%)',\n opacity: 0.7\n },\n ['&:hover .play-icon']: {\n opacity: 1,\n filter: 'brightness(1.3)'\n },\n [theme.breakpoints.down('sm')]: {\n height: 160\n }\n}))\n\nconst LearnCardInfo = styled(Box)({\n borderRadius: '0 0 20px 20px',\n background: '#242129',\n width: '100%',\n display: 'flex',\n flexDirection: 'column'\n})\n\nconst LearnCardUserRow = styled(Box)({\n display: 'flex',\n flexDirection: 'row',\n padding: '18px 24px',\n width: '100%',\n alignItems: 'center',\n justifyContent: 'space-between'\n})\n\nconst LearnCardUser = styled(Box)({\n cursor: 'pointer',\n display: 'flex',\n alignItems: 'center'\n})\n\nconst LearnCardUserImage = styled(Box)({\n width: 40,\n height: 40,\n borderRadius: '50%',\n overflow: 'hidden',\n ['& img']: {\n width: '100%',\n height: '100%',\n objectFit: 'cover'\n }\n})\n\nconst LearnCardUserName = styled(Typography)(({ theme }) => ({\n color: '#a09ba8',\n fontSize: 18,\n fontWeight: 600,\n marginLeft: 8,\n [theme.breakpoints.down('sm')]: {\n fontSize: 16\n }\n}))\n\nconst LearnCardDate = styled(Typography)(({ theme }) => ({\n color: '#a09ba8',\n fontSize: 18,\n fontWeight: 600,\n textAlign: 'right',\n textTransform: 'uppercase',\n [theme.breakpoints.down('sm')]: {\n fontSize: 16\n }\n}))\n\nconst LearnCardTitle = styled(Typography)(({ theme }) => ({\n fontSize: 20,\n lineHeight: '28px',\n fontWeight: 700,\n padding: '0 24px 40px',\n [theme.breakpoints.down('sm')]: {\n textAlign: 'left',\n fontSize: 18\n }\n}))\n\nconst LearnExtraContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n margin: '72px 20px',\n [theme.breakpoints.down('sm')]: {\n flexDirection: 'column',\n margin: 0,\n paddingLeft: 16,\n paddingRight: 16,\n marginTop: 28,\n marginBottom: 32,\n width: 'calc(100% - 16px)'\n }\n}))\n\nconst LearnExtraBlock = styled(Box)(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n color: '#fff',\n textAlign: 'center',\n fontSize: 20,\n fontWeight: 600,\n lineHeight: '48px',\n ['& a']: {\n marginLeft: 16\n },\n [theme.breakpoints.down('lg')]: {\n flexDirection: 'column'\n },\n [theme.breakpoints.down('sm')]: {\n fontSize: 18,\n width: '100%',\n ['& a']: {\n marginLeft: 0,\n width: '100%',\n marginTop: 16\n }\n }\n}))\n\nexport {\n LearnCard,\n LearnCardDate,\n LearnCardInfo,\n LearnCardTitle,\n LearnCardUser,\n LearnCardUserImage,\n LearnCardUserName,\n LearnCardUserRow,\n LearnCardVideoImage,\n LearnCardsContainer,\n LearnExtraBlock,\n LearnExtraContainer,\n LearnSection,\n LearnTitle\n}\n","import { memo, useCallback } from 'react'\nimport { Button } from 'decentraland-ui2'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { AnimatedSection } from '../AnimatedSection'\nimport { learnCards } from '../data'\nimport { PlayIcon } from './PlayIcon'\nimport {\n LearnCard,\n LearnCardDate,\n LearnCardInfo,\n LearnCardTitle,\n LearnCardUser,\n LearnCardUserImage,\n LearnCardUserName,\n LearnCardUserRow,\n LearnCardVideoImage,\n LearnCardsContainer,\n LearnExtraBlock,\n LearnExtraContainer,\n LearnSection,\n LearnTitle\n} from './Learn.styled'\n\nconst CreatorsLearn = memo(() => {\n const l = useFormatMessage()\n const handleCardClick = useCallback((url: string) => {\n window.open(url, '_blank')\n }, [])\n\n return (\n <AnimatedSection>\n <LearnSection>\n <LearnTitle>\n <span>{l('component.creators_landing.learn.title_highlight')}</span> {l('component.creators_landing.learn.title')}\n </LearnTitle>\n <LearnCardsContainer>\n {learnCards.map(card => (\n <LearnCard key={card.id} onClick={() => handleCardClick(card.url)}>\n <LearnCardVideoImage>\n <img src={card.image} alt={card.title} />\n <PlayIcon />\n </LearnCardVideoImage>\n <LearnCardInfo>\n <LearnCardUserRow>\n <LearnCardUser>\n <LearnCardUserImage>\n <img src={card.userImage} alt={card.name} />\n </LearnCardUserImage>\n <LearnCardUserName>{card.name}</LearnCardUserName>\n </LearnCardUser>\n <LearnCardDate>{card.date}</LearnCardDate>\n </LearnCardUserRow>\n <LearnCardTitle>{card.title}</LearnCardTitle>\n </LearnCardInfo>\n </LearnCard>\n ))}\n </LearnCardsContainer>\n <LearnExtraContainer>\n <LearnExtraBlock sx={{ marginRight: { xs: 0, md: '80px' } }}>\n {l('component.creators_landing.learn.watch_more')}\n <Button\n variant=\"contained\"\n component=\"a\"\n href={l('component.creators_landing.learn.watch_more_target')}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n {l('component.creators_landing.learn.watch_more_button')}\n </Button>\n </LearnExtraBlock>\n <LearnExtraBlock sx={{ marginTop: { xs: '33px', md: 0 } }}>\n {l('component.creators_landing.learn.your_tutorial')}\n <Button\n variant=\"outlined\"\n component=\"a\"\n href={l('component.creators_landing.learn.your_tutorial_target')}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n sx={{ backgroundColor: '#fff', color: '#43404a', ['&:hover']: { backgroundColor: '#e0e0e0' } }}\n >\n {l('component.creators_landing.learn.your_tutorial_button')}\n </Button>\n </LearnExtraBlock>\n </LearnExtraContainer>\n </LearnSection>\n </AnimatedSection>\n )\n})\n\nexport { CreatorsLearn }\n"],"names":["PlayIcon","memo","props","filterId","useId","jsxs","jsx","LearnSection","styled","LearnTitle","Typography","theme","LearnCardsContainer","Box","LearnCard","LearnCardVideoImage","LearnCardInfo","LearnCardUserRow","LearnCardUser","LearnCardUserImage","LearnCardUserName","LearnCardDate","LearnCardTitle","LearnExtraContainer","LearnExtraBlock","CreatorsLearn","l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,IAACa,EAAA,CACC,eAAC,MAAA,CAAI,IAAKc,EAAK,UAAW,IAAKA,EAAK,IAAA,CAAM,CAAA,CAC5C,EACA3B,EAAAA,IAACc,EAAA,CAAmB,SAAAa,EAAK,IAAA,CAAK,CAAA,EAChC,EACA3B,EAAAA,IAACe,EAAA,CAAe,SAAAY,EAAK,IAAA,CAAK,CAAA,EAC5B,EACA3B,EAAAA,IAACgB,EAAA,CAAgB,SAAAW,EAAK,KAAA,CAAM,CAAA,CAAA,CAC9B,CAAA,CAAA,EAhBcA,EAAK,EAiBrB,CACD,EACH,SACCV,EAAA,CACC,SAAA,CAAAlB,EAAAA,KAACmB,EAAA,CAAgB,GAAI,CAAE,YAAa,CAAE,GAAI,EAAG,GAAI,MAAA,CAAO,EACrD,SAAA,CAAAE,EAAE,6CAA6C,EAChDpB,EAAAA,IAAC4B,EAAA,CACC,QAAQ,YACR,UAAU,IACV,KAAMR,EAAE,oDAAoD,EAC5D,OAAO,SACP,IAAI,sBAEH,WAAE,oDAAoD,CAAA,CAAA,CACzD,EACF,EACArB,EAAAA,KAACmB,EAAA,CAAgB,GAAI,CAAE,UAAW,CAAE,GAAI,OAAQ,GAAI,CAAA,CAAE,EACnD,SAAA,CAAAE,EAAE,gDAAgD,EACnDpB,EAAAA,IAAC4B,EAAA,CACC,QAAQ,WACR,UAAU,IACV,KAAMR,EAAE,uDAAuD,EAC/D,OAAO,SACP,IAAI,sBACJ,GAAI,CAAE,gBAAiB,OAAQ,MAAO,UAAY,UAAY,CAAE,gBAAiB,UAAU,EAE1F,WAAE,uDAAuD,CAAA,CAAA,CAC5D,CAAA,CACF,CAAA,CAAA,CACF,CAAA,CAAA,CACF,CAAA,CACF,CAEJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index-B0OYEV0b.js","sources":["../../src/components/Create/Learn/PlayIcon.tsx","../../src/components/Create/Learn/Learn.styled.ts","../../src/components/Create/Learn/Learn.tsx"],"sourcesContent":["import { type SVGAttributes, memo, useId } from 'react'\n\ntype PlayIconProps = SVGAttributes<SVGElement>\n\nconst PlayIcon = memo((props: PlayIconProps) => {\n const filterId = useId()\n return (\n <svg {...props} className=\"play-icon\" width=\"120\" height=\"120\" viewBox=\"0 0 120 120\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <g filter={`url(#${filterId})`}>\n <path\n d=\"M60 16C37.9167 16 20 33.9167 20 56C20 78.0833 37.9167 96 60 96C82.0833 96 100 78.0833 100 56C100 33.9167 82.0833 16 60 16ZM76.9983 59.4183L53.665 73.0833C53.0009 73.334 52.3336 73.5 51.6663 73.5C50.9991 73.5 50.3317 73.4154 49.749 72.9987C48.5837 72.3314 47.8317 70.9154 47.8317 69.5807V42.3349C47.8317 40.8342 48.5804 39.5842 49.749 38.9169C50.9143 38.2496 52.4997 38.2496 53.665 38.9169L76.9983 52.5819C78.1637 53.3306 78.9157 54.4992 78.9157 55.9999C78.9157 57.5005 78.167 58.751 76.9983 59.4183Z\"\n fill=\"white\"\n />\n </g>\n <defs>\n <filter id={filterId} x=\"0\" y=\"0\" width=\"120\" height=\"120\" filterUnits=\"userSpaceOnUse\" colorInterpolationFilters=\"sRGB\">\n <feFlood floodOpacity=\"0\" result=\"BackgroundImageFix\" />\n <feColorMatrix in=\"SourceAlpha\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\" />\n <feOffset dy=\"4\" />\n <feGaussianBlur stdDeviation=\"10\" />\n <feComposite in2=\"hardAlpha\" operator=\"out\" />\n <feColorMatrix type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0\" />\n <feBlend mode=\"normal\" in2=\"BackgroundImageFix\" result=\"effect1_dropShadow\" />\n <feBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"effect1_dropShadow\" result=\"shape\" />\n </filter>\n </defs>\n </svg>\n )\n})\n\nexport { PlayIcon }\n","import { Box, Typography, styled } from 'decentraland-ui2'\n\nconst LearnSection = styled('section')({\n position: 'relative',\n overflow: 'hidden',\n width: '100%',\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center',\n paddingLeft: 0,\n paddingRight: 0\n})\n\nconst LearnTitle = styled(Typography)(({ theme }) => ({\n textAlign: 'center',\n fontSize: 48,\n fontWeight: 600,\n color: '#fcfcfc',\n marginTop: 97,\n marginBottom: 62,\n maxWidth: '80vw',\n marginLeft: 'auto',\n marginRight: 'auto',\n ['& span']: {\n background: 'linear-gradient(244deg, #ff2d55 -11.67%, #ffbc5b 88.23%)',\n backgroundClip: 'text',\n ['WebkitBackgroundClip' as string]: 'text',\n ['WebkitTextFillColor' as string]: 'transparent'\n },\n [theme.breakpoints.down('sm')]: {\n fontSize: 36,\n lineHeight: '40px'\n }\n}))\n\nconst LearnCardsContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n overflowX: 'auto',\n gap: 20,\n paddingLeft: 100,\n paddingRight: 100,\n scrollbarWidth: 'none',\n ['&::-webkit-scrollbar']: {\n display: 'none'\n },\n [theme.breakpoints.down('sm')]: {\n paddingLeft: 16,\n paddingRight: 16\n }\n}))\n\nconst LearnCard = styled(Box)(({ theme }) => ({\n width: 529,\n minWidth: 529,\n height: 398,\n flexShrink: 0,\n borderRadius: 20,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',\n boxSizing: 'border-box',\n position: 'relative',\n cursor: 'pointer',\n transition: 'transform 0.35s ease-in-out',\n [theme.breakpoints.down('sm')]: {\n width: 360,\n minWidth: 360,\n maxWidth: 360,\n height: 310\n }\n}))\n\nconst LearnCardVideoImage = styled(Box)(({ theme }) => ({\n width: '100%',\n height: 236,\n position: 'relative',\n cursor: 'pointer',\n flex: 1,\n ['& img']: {\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n borderRadius: '10px 10px 0 0'\n },\n ['& .play-icon']: {\n width: 80,\n height: 80,\n position: 'absolute',\n top: '50%',\n left: '50%',\n transition: 'all 0.35s ease-in-out',\n transform: 'translate(-50%, -50%)',\n opacity: 0.7\n },\n ['&:hover .play-icon']: {\n opacity: 1,\n filter: 'brightness(1.3)'\n },\n [theme.breakpoints.down('sm')]: {\n height: 160\n }\n}))\n\nconst LearnCardInfo = styled(Box)({\n borderRadius: '0 0 20px 20px',\n background: '#242129',\n width: '100%',\n display: 'flex',\n flexDirection: 'column'\n})\n\nconst LearnCardUserRow = styled(Box)({\n display: 'flex',\n flexDirection: 'row',\n padding: '18px 24px',\n width: '100%',\n alignItems: 'center',\n justifyContent: 'space-between'\n})\n\nconst LearnCardUser = styled(Box)({\n cursor: 'pointer',\n display: 'flex',\n alignItems: 'center'\n})\n\nconst LearnCardUserImage = styled(Box)({\n width: 40,\n height: 40,\n borderRadius: '50%',\n overflow: 'hidden',\n ['& img']: {\n width: '100%',\n height: '100%',\n objectFit: 'cover'\n }\n})\n\nconst LearnCardUserName = styled(Typography)(({ theme }) => ({\n color: '#a09ba8',\n fontSize: 18,\n fontWeight: 600,\n marginLeft: 8,\n [theme.breakpoints.down('sm')]: {\n fontSize: 16\n }\n}))\n\nconst LearnCardDate = styled(Typography)(({ theme }) => ({\n color: '#a09ba8',\n fontSize: 18,\n fontWeight: 600,\n textAlign: 'right',\n textTransform: 'uppercase',\n [theme.breakpoints.down('sm')]: {\n fontSize: 16\n }\n}))\n\nconst LearnCardTitle = styled(Typography)(({ theme }) => ({\n fontSize: 20,\n lineHeight: '28px',\n fontWeight: 700,\n padding: '0 24px 40px',\n [theme.breakpoints.down('sm')]: {\n textAlign: 'left',\n fontSize: 18\n }\n}))\n\nconst LearnExtraContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n margin: '72px 20px',\n [theme.breakpoints.down('sm')]: {\n flexDirection: 'column',\n margin: 0,\n paddingLeft: 16,\n paddingRight: 16,\n marginTop: 28,\n marginBottom: 32,\n width: 'calc(100% - 16px)'\n }\n}))\n\nconst LearnExtraBlock = styled(Box)(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n color: '#fff',\n textAlign: 'center',\n fontSize: 20,\n fontWeight: 600,\n lineHeight: '48px',\n ['& a']: {\n marginLeft: 16\n },\n [theme.breakpoints.down('lg')]: {\n flexDirection: 'column'\n },\n [theme.breakpoints.down('sm')]: {\n fontSize: 18,\n width: '100%',\n ['& a']: {\n marginLeft: 0,\n width: '100%',\n marginTop: 16\n }\n }\n}))\n\nexport {\n LearnCard,\n LearnCardDate,\n LearnCardInfo,\n LearnCardTitle,\n LearnCardUser,\n LearnCardUserImage,\n LearnCardUserName,\n LearnCardUserRow,\n LearnCardVideoImage,\n LearnCardsContainer,\n LearnExtraBlock,\n LearnExtraContainer,\n LearnSection,\n LearnTitle\n}\n","import { memo, useCallback } from 'react'\nimport { Button } from 'decentraland-ui2'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { AnimatedSection } from '../AnimatedSection'\nimport { learnCards } from '../data'\nimport { PlayIcon } from './PlayIcon'\nimport {\n LearnCard,\n LearnCardDate,\n LearnCardInfo,\n LearnCardTitle,\n LearnCardUser,\n LearnCardUserImage,\n LearnCardUserName,\n LearnCardUserRow,\n LearnCardVideoImage,\n LearnCardsContainer,\n LearnExtraBlock,\n LearnExtraContainer,\n LearnSection,\n LearnTitle\n} from './Learn.styled'\n\nconst CreatorsLearn = memo(() => {\n const l = useFormatMessage()\n const handleCardClick = useCallback((url: string) => {\n window.open(url, '_blank')\n }, [])\n\n return (\n <AnimatedSection>\n <LearnSection>\n <LearnTitle>\n <span>{l('component.creators_landing.learn.title_highlight')}</span> {l('component.creators_landing.learn.title')}\n </LearnTitle>\n <LearnCardsContainer>\n {learnCards.map(card => (\n <LearnCard key={card.id} onClick={() => handleCardClick(card.url)}>\n <LearnCardVideoImage>\n <img src={card.image} alt={card.title} />\n <PlayIcon />\n </LearnCardVideoImage>\n <LearnCardInfo>\n <LearnCardUserRow>\n <LearnCardUser>\n <LearnCardUserImage>\n <img src={card.userImage} alt={card.name} />\n </LearnCardUserImage>\n <LearnCardUserName>{card.name}</LearnCardUserName>\n </LearnCardUser>\n <LearnCardDate>{card.date}</LearnCardDate>\n </LearnCardUserRow>\n <LearnCardTitle>{card.title}</LearnCardTitle>\n </LearnCardInfo>\n </LearnCard>\n ))}\n </LearnCardsContainer>\n <LearnExtraContainer>\n <LearnExtraBlock sx={{ marginRight: { xs: 0, md: '80px' } }}>\n {l('component.creators_landing.learn.watch_more')}\n <Button\n variant=\"contained\"\n component=\"a\"\n href={l('component.creators_landing.learn.watch_more_target')}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n {l('component.creators_landing.learn.watch_more_button')}\n </Button>\n </LearnExtraBlock>\n <LearnExtraBlock sx={{ marginTop: { xs: '33px', md: 0 } }}>\n {l('component.creators_landing.learn.your_tutorial')}\n <Button\n variant=\"outlined\"\n component=\"a\"\n href={l('component.creators_landing.learn.your_tutorial_target')}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n sx={{ backgroundColor: '#fff', color: '#43404a', ['&:hover']: { backgroundColor: '#e0e0e0' } }}\n >\n {l('component.creators_landing.learn.your_tutorial_button')}\n </Button>\n </LearnExtraBlock>\n </LearnExtraContainer>\n </LearnSection>\n </AnimatedSection>\n )\n})\n\nexport { CreatorsLearn }\n"],"names":["PlayIcon","memo","props","filterId","useId","jsxs","jsx","LearnSection","styled","LearnTitle","Typography","theme","LearnCardsContainer","Box","LearnCard","LearnCardVideoImage","LearnCardInfo","LearnCardUserRow","LearnCardUser","LearnCardUserImage","LearnCardUserName","LearnCardDate","LearnCardTitle","LearnExtraContainer","LearnExtraBlock","CreatorsLearn","l","useFormatMessage","handleCardClick","useCallback","url","AnimatedSection","learnCards","card","Button"],"mappings":"ipBAIA,MAAMA,EAAWC,EAAAA,KAAMC,GAAyB,CAC9C,MAAMC,EAAWC,EAAAA,MAAA,EACjB,OACEC,EAAAA,KAAC,MAAA,CAAK,GAAGH,EAAO,UAAU,YAAY,MAAM,MAAM,OAAO,M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AK,CAAA,EAC5B,EACA3B,EAAAA,IAACgB,EAAA,CAAgB,SAAAW,EAAK,KAAA,CAAM,CAAA,CAAA,CAC9B,CAAA,CAAA,EAhBcA,EAAK,EAiBrB,CACD,EACH,SACCV,EAAA,CACC,SAAA,CAAAlB,EAAAA,KAACmB,EAAA,CAAgB,GAAI,CAAE,YAAa,CAAE,GAAI,EAAG,GAAI,MAAA,CAAO,EACrD,SAAA,CAAAE,EAAE,6CAA6C,EAChDpB,EAAAA,IAAC4B,EAAA,CACC,QAAQ,YACR,UAAU,IACV,KAAMR,EAAE,oDAAoD,EAC5D,OAAO,SACP,IAAI,sBAEH,WAAE,oDAAoD,CAAA,CAAA,CACzD,EACF,EACArB,EAAAA,KAACmB,EAAA,CAAgB,GAAI,CAAE,UAAW,CAAE,GAAI,OAAQ,GAAI,CAAA,CAAE,EACnD,SAAA,CAAAE,EAAE,gDAAgD,EACnDpB,EAAAA,IAAC4B,EAAA,CACC,QAAQ,WACR,UAAU,IACV,KAAMR,EAAE,uDAAuD,EAC/D,OAAO,SACP,IAAI,sBACJ,GAAI,CAAE,gBAAiB,OAAQ,MAAO,UAAY,UAAY,CAAE,gBAAiB,UAAU,EAE1F,WAAE,uDAAuD,CAAA,CAAA,CAC5D,CAAA,CACF,CAAA,CAAA,CACF,CAAA,CAAA,CACF,CAAA,CACF,CAEJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as i,a as s,v as r,z as n,w as d,X as c,M as g,j as t,Y as p,U as m}from"./index-
|
|
1
|
+
import{s as i,a as s,v as r,z as n,w as d,X as c,M as g,j as t,Y as p,U as m}from"./index-R7i610Pj.js";import{r as k}from"./vendor-router-D_36sTKu.js";import{C as y}from"./Carousel-LVw3za2b.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";const u=i(s)({width:"100%",background:"radial-gradient(ellipse at 110% 50%, rgba(148,37,205,1) 0%, rgba(104,20,155,1) 100%)"}),x=i(s)(({theme:e})=>({position:"relative",display:"flex",flexDirection:"column",alignItems:"center",gap:e.spacing(4),padding:`${e.spacing(10)} 0`,width:"100%",maxWidth:1920,margin:"0 auto",overflow:"hidden",[e.breakpoints.down("sm")]:{padding:`${e.spacing(6)} 0`}})),h=i(r)(({theme:e})=>({color:n.white,fontWeight:600,fontSize:48,textAlign:"center",[e.breakpoints.down("sm")]:{fontSize:32}})),b=i("img")({width:"100%",height:"100%",objectFit:"cover",display:"block"}),f=i("img")({display:"block",width:"100%",maxWidth:358,margin:"0 auto",borderRadius:16,objectFit:"cover"}),w=p.cards,j=k.memo(()=>{const e=d(),o=c("(max-width: 599px)"),l=g();return t.jsx(u,{children:t.jsxs(x,{children:[t.jsx(h,{variant:"h3",children:e("page.home.weekly_rituals.title")}),t.jsx(y,{items:w,keyExtractor:a=>a.id,slideAspectRatio:"750 / 370",renderItem:a=>t.jsx("a",{href:a.link,target:"_blank",rel:"noopener noreferrer",draggable:!1,style:{display:"block",height:"100%"},"data-place":m.LANDING_WEEKLY_RITUALS,"data-event":"click","data-card":a.id,onClick:l,children:o?t.jsx(f,{src:a.mobileImageUrl,alt:e(a.titleKey),loading:"lazy",draggable:!1}):t.jsx(b,{src:a.imageUrl,alt:e(a.titleKey),loading:"lazy",draggable:!1})})})]})})});j.displayName="WeeklyRituals";export{j as WeeklyRituals};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BDz5wgwp.js","sources":["../../src/components/Home/WeeklyRituals/WeeklyRituals.styled.ts","../../src/components/Home/WeeklyRituals/WeeklyRituals.tsx"],"sourcesContent":["import { Box, Typography, dclColors, styled } from 'decentraland-ui2'\n\nconst WeeklyRitualsOuter = styled(Box)({\n width: '100%',\n background: 'radial-gradient(ellipse at 110% 50%, rgba(148,37,205,1) 0%, rgba(104,20,155,1) 100%)'\n})\n\nconst WeeklyRitualsContainer = styled(Box)(({ theme }) => ({\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: theme.spacing(4),\n padding: `${theme.spacing(10)} 0`,\n width: '100%',\n maxWidth: 1920,\n margin: '0 auto',\n overflow: 'hidden',\n [theme.breakpoints.down('sm')]: {\n padding: `${theme.spacing(6)} 0`\n }\n}))\n\nconst SectionTitle = styled(Typography)(({ theme }) => ({\n color: dclColors.neutral.white,\n fontWeight: 600,\n fontSize: 48,\n textAlign: 'center',\n [theme.breakpoints.down('sm')]: {\n fontSize: 32\n }\n}))\n\nconst CardImage = styled('img')({\n width: '100%',\n height: '100%',\n objectFit: 'cover',\n display: 'block'\n})\n\nconst MobileCardImage = styled('img')({\n display: 'block',\n width: '100%',\n maxWidth: 358,\n margin: '0 auto',\n borderRadius: 16,\n objectFit: 'cover'\n})\n\nexport { CardImage, MobileCardImage, SectionTitle, WeeklyRitualsContainer, WeeklyRitualsOuter }\n","import { memo } from 'react'\nimport { useMediaQuery } from 'decentraland-ui2'\nimport { weeklyRitualsContent } from '../../../data/static-content'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { useTrackClick } from '../../../hooks/adapters/useTrackLinkContext'\nimport { SectionViewedTrack } from '../../../modules/segment'\nimport { Carousel } from '../../Carousel'\nimport { CardImage, MobileCardImage, SectionTitle, WeeklyRitualsContainer, WeeklyRitualsOuter } from './WeeklyRituals.styled'\n\nconst cards = weeklyRitualsContent.cards\n\nconst WeeklyRituals = memo(() => {\n const l = useFormatMessage()\n const isMobile = useMediaQuery('(max-width: 599px)')\n const onClickHandle = useTrackClick()\n\n return (\n <WeeklyRitualsOuter>\n <WeeklyRitualsContainer>\n <SectionTitle variant=\"h3\">{l('page.home.weekly_rituals.title')}</SectionTitle>\n <Carousel\n items={cards}\n keyExtractor={card => card.id}\n slideAspectRatio=\"750 / 370\"\n renderItem={card => (\n <a\n href={card.link}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n draggable={false}\n style={{ display: 'block', height: '100%' }}\n data-place={SectionViewedTrack.LANDING_WEEKLY_RITUALS}\n data-event=\"click\"\n data-card={card.id}\n onClick={onClickHandle}\n >\n {isMobile ? (\n <MobileCardImage src={card.mobileImageUrl} alt={l(card.titleKey)} loading=\"lazy\" draggable={false} />\n ) : (\n <CardImage src={card.imageUrl} alt={l(card.titleKey)} loading=\"lazy\" draggable={false} />\n )}\n </a>\n )}\n />\n </WeeklyRitualsContainer>\n </WeeklyRitualsOuter>\n )\n})\n\nWeeklyRituals.displayName = 'WeeklyRituals'\n\nexport { WeeklyRituals }\n"],"names":["WeeklyRitualsOuter","styled","Box","WeeklyRitualsContainer","theme","SectionTitle","Typography","dclColors.neutral","CardImage","MobileCardImage","cards","weeklyRitualsContent","WeeklyRituals","memo","l","useFormatMessage","isMobile","useMediaQuery","onClickHandle","useTrackClick","jsx","jsxs","Carousel","card","SectionViewedTrack"],"mappings":"iXAEA,MAAMA,EAAqBC,EAAOC,CAAG,EAAE,CACrC,MAAO,OACP,WAAY,sFACd,CAAC,EAEKC,EAAyBF,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAE,MAAa,CACzD,SAAU,WACV,QAAS,OACT,cAAe,SACf,WAAY,SACZ,IAAKA,EAAM,QAAQ,CAAC,EACpB,QAAS,GAAGA,EAAM,QAAQ,EAAE,CAAC,KAC7B,MAAO,OACP,SAAU,KACV,OAAQ,SACR,SAAU,SACV,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,QAAS,GAAGA,EAAM,QAAQ,CAAC,CAAC,IAAA,CAEhC,EAAE,EAEIC,EAAeJ,EAAOK,CAAU,EAAE,CAAC,CAAE,MAAAF,MAAa,CACtD,MAAOG,EAAkB,MACzB,WAAY,IACZ,SAAU,GACV,UAAW,SACX,CAACH,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,SAAU,EAAA,CAEd,EAAE,EAEII,EAAYP,EAAO,KAAK,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