@dcl/landing-site 0.5.1-24685869120.commit-1de5712 → 0.5.1-24686484792.commit-e56f2bf
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--tmRk4pB.js → AnimatedBackground-BbbuCmrW.js} +2 -2
- package/assets/{AnimatedBackground--tmRk4pB.js.map → AnimatedBackground-BbbuCmrW.js.map} +1 -1
- package/assets/{AnimatedSection-4VTaj_2R.js → AnimatedSection-CcAt5h6R.js} +1 -1
- package/assets/{AnimatedSection-4VTaj_2R.js.map → AnimatedSection-CcAt5h6R.js.map} +1 -1
- package/assets/{ArrowBackIosNew-BmStpKu0.js → ArrowBackIosNew-lqzUFZQL.js} +1 -1
- package/assets/{ArrowBackIosNew-BmStpKu0.js.map → ArrowBackIosNew-lqzUFZQL.js.map} +1 -1
- package/assets/{AuthorPage-DsEGDjQw.js → AuthorPage-4inFQH2X.js} +1 -1
- package/assets/{AuthorPage-DsEGDjQw.js.map → AuthorPage-4inFQH2X.js.map} +1 -1
- package/assets/{Badges-DFm-dJP0.js → Badges-DPcq_7dC.js} +1 -1
- package/assets/{Badges-DFm-dJP0.js.map → Badges-DPcq_7dC.js.map} +1 -1
- package/assets/{BlogLayout-CxiSrxYR.js → BlogLayout-Bl9FID_L.js} +1 -1
- package/assets/{BlogLayout-CxiSrxYR.js.map → BlogLayout-Bl9FID_L.js.map} +1 -1
- package/assets/{BlogPage-BrmWjpqW.js → BlogPage-4c8ZFzdw.js} +1 -1
- package/assets/{BlogPage-BrmWjpqW.js.map → BlogPage-4c8ZFzdw.js.map} +1 -1
- package/assets/{CTAButton-DiWefRTF.js → CTAButton-D8_9d6Wu.js} +1 -1
- package/assets/{CTAButton-DiWefRTF.js.map → CTAButton-D8_9d6Wu.js.map} +1 -1
- package/assets/{CardContent-BGQcwSBj.js → CardContent-BQ0iSa2p.js} +1 -1
- package/assets/{CardContent-BGQcwSBj.js.map → CardContent-BQ0iSa2p.js.map} +1 -1
- package/assets/{CardMedia-RFT7-c29.js → CardMedia-B6PneSTk.js} +1 -1
- package/assets/{CardMedia-RFT7-c29.js.map → CardMedia-B6PneSTk.js.map} +1 -1
- package/assets/{Carousel-pw-zJClB.js → Carousel-DJd7E-wq.js} +1 -1
- package/assets/{Carousel-pw-zJClB.js.map → Carousel-DJd7E-wq.js.map} +1 -1
- package/assets/{CategoryPage-ZdXQJP2n.js → CategoryPage-DNQI3nXz.js} +1 -1
- package/assets/{CategoryPage-ZdXQJP2n.js.map → CategoryPage-DNQI3nXz.js.map} +1 -1
- package/assets/{CircleAndArrow-DjRydx_v.js → CircleAndArrow-DIeWRbH9.js} +1 -1
- package/assets/{CircleAndArrow-DjRydx_v.js.map → CircleAndArrow-DIeWRbH9.js.map} +1 -1
- package/assets/{CircularProgress-CpGrVwOe.js → CircularProgress-AsNM1BvH.js} +1 -1
- package/assets/{CircularProgress-CpGrVwOe.js.map → CircularProgress-AsNM1BvH.js.map} +1 -1
- package/assets/{ContentCopy-Biu7mI_B.js → ContentCopy-CDhBZqHF.js} +1 -1
- package/assets/{ContentCopy-Biu7mI_B.js.map → ContentCopy-CDhBZqHF.js.map} +1 -1
- package/assets/{CreateEventPage-CSyGxQEM.js → CreateEventPage-NcQUT47j.js} +1 -1
- package/assets/{CreateEventPage-CSyGxQEM.js.map → CreateEventPage-NcQUT47j.js.map} +1 -1
- package/assets/{CreatorHubDownload-C0lTqfvy.js → CreatorHubDownload-y9x_B8ll.js} +1 -1
- package/assets/{CreatorHubDownload-C0lTqfvy.js.map → CreatorHubDownload-y9x_B8ll.js.map} +1 -1
- package/assets/{CreatorHubDownloadSuccess-OmyWSLJA.js → CreatorHubDownloadSuccess-BP7MSbSp.js} +1 -1
- package/assets/{CreatorHubDownloadSuccess-OmyWSLJA.js.map → CreatorHubDownloadSuccess-BP7MSbSp.js.map} +1 -1
- package/assets/{DappsShell-DNMjP5_u.js → DappsShell-HNAsXcn5.js} +1 -1
- package/assets/{DappsShell-DNMjP5_u.js.map → DappsShell-HNAsXcn5.js.map} +1 -1
- package/assets/{DownloadSuccessLayout-OfN-COoN.js → DownloadSuccessLayout-COBp7A1N.js} +1 -1
- package/assets/{DownloadSuccessLayout-OfN-COoN.js.map → DownloadSuccessLayout-COBp7A1N.js.map} +1 -1
- package/assets/{Grow-vvw5xHGO.js → Grow-eKASrvPe.js} +1 -1
- package/assets/{Grow-vvw5xHGO.js.map → Grow-eKASrvPe.js.map} +1 -1
- package/assets/HomePage-CZwkfB5G.js +3 -0
- package/assets/HomePage-CZwkfB5G.js.map +1 -0
- package/assets/{InviteFaqs-VtXtD9Y7.js → InviteFaqs-BkOvxqyN.js} +1 -1
- package/assets/{InviteFaqs-VtXtD9Y7.js.map → InviteFaqs-BkOvxqyN.js.map} +1 -1
- package/assets/{InvitePage-B2ILV0JT.js → InvitePage-D5lELZNP.js} +2 -2
- package/assets/{InvitePage-B2ILV0JT.js.map → InvitePage-D5lELZNP.js.map} +1 -1
- package/assets/{JumpInIcon-DQLZFf5_.js → JumpInIcon-bPOWl5ae.js} +1 -1
- package/assets/{JumpInIcon-DQLZFf5_.js.map → JumpInIcon-bPOWl5ae.js.map} +1 -1
- package/assets/{LegalPageLayout-BPmxsGkt.js → LegalPageLayout-DeH35WpT.js} +1 -1
- package/assets/{LegalPageLayout-BPmxsGkt.js.map → LegalPageLayout-DeH35WpT.js.map} +1 -1
- package/assets/{Link-CRy-ui2j.js → Link-C3GGl2C6.js} +1 -1
- package/assets/{Link-CRy-ui2j.js.map → Link-C3GGl2C6.js.map} +1 -1
- package/assets/{MenuItem--w_lFNXz.js → MenuItem-B0piwgTa.js} +1 -1
- package/assets/{MenuItem--w_lFNXz.js.map → MenuItem-B0piwgTa.js.map} +1 -1
- package/assets/{Paper-DkTuC9MF.js → Paper-BfSYUoim.js} +1 -1
- package/assets/{Paper-DkTuC9MF.js.map → Paper-BfSYUoim.js.map} +1 -1
- package/assets/{PostCard-CoBBQR_z.js → PostCard-Zsk0_WYz.js} +1 -1
- package/assets/{PostCard-CoBBQR_z.js.map → PostCard-Zsk0_WYz.js.map} +1 -1
- package/assets/{PostPage-DTs37H2-.js → PostPage-FBb63V37.js} +1 -1
- package/assets/{PostPage-DTs37H2-.js.map → PostPage-FBb63V37.js.map} +1 -1
- package/assets/{PostPage.styled-DLL8lMAH.js → PostPage.styled-B7Xofl3c.js} +3 -3
- package/assets/{PostPage.styled-DLL8lMAH.js.map → PostPage.styled-B7Xofl3c.js.map} +1 -1
- package/assets/{PreviewPage-CM24MWpu.js → PreviewPage-Dla6vQZW.js} +1 -1
- package/assets/{PreviewPage-CM24MWpu.js.map → PreviewPage-Dla6vQZW.js.map} +1 -1
- package/assets/{SEO-B1CZcHhQ.js → SEO-CGGKu_zm.js} +1 -1
- package/assets/{SEO-B1CZcHhQ.js.map → SEO-CGGKu_zm.js.map} +1 -1
- package/assets/{SearchPage-Bc-IQg_Z.js → SearchPage-ByMcz1c8.js} +1 -1
- package/assets/{SearchPage-Bc-IQg_Z.js.map → SearchPage-ByMcz1c8.js.map} +1 -1
- package/assets/{SignInRedirect-CytWMFc_.js → SignInRedirect-BNwfxyGB.js} +1 -1
- package/assets/{SignInRedirect-CytWMFc_.js.map → SignInRedirect-BNwfxyGB.js.map} +1 -1
- package/assets/{SignInRedirect-CHd5tZSP.js → SignInRedirect-Bxl1dwag.js} +1 -1
- package/assets/{SignInRedirect-CHd5tZSP.js.map → SignInRedirect-Bxl1dwag.js.map} +1 -1
- package/assets/{Skeleton-Bp_3tZG7.js → Skeleton-BP1Os8gY.js} +1 -1
- package/assets/{Skeleton-Bp_3tZG7.js.map → Skeleton-BP1Os8gY.js.map} +1 -1
- package/assets/{TwitterEmbed-qGRZ9Jyy.js → TwitterEmbed-BbSYYog-.js} +1 -1
- package/assets/{TwitterEmbed-qGRZ9Jyy.js.map → TwitterEmbed-BbSYYog-.js.map} +1 -1
- package/assets/{Video-DnCE7TZC.js → Video--A0fBGqz.js} +1 -1
- package/assets/{Video-DnCE7TZC.js.map → Video--A0fBGqz.js.map} +1 -1
- package/assets/WearablePreview-KunRQByO.js +4 -0
- package/assets/{WearablePreview-DLAIz58Z.js.map → WearablePreview-KunRQByO.js.map} +1 -1
- package/assets/{auto-track-DyJFTD4H.js → auto-track-DJw7KsLA.js} +1 -1
- package/assets/{auto-track-DyJFTD4H.js.map → auto-track-DJw7KsLA.js.map} +1 -1
- package/assets/{ccip-Dh2ZOi0c.js → ccip-EHA4QwVS.js} +1 -1
- package/assets/{ccip-Dh2ZOi0c.js.map → ccip-EHA4QwVS.js.map} +1 -1
- package/assets/{createSvgIcon-DPMfLii4.js → createSvgIcon-CnAtXIjx.js} +1 -1
- package/assets/{createSvgIcon-DPMfLii4.js.map → createSvgIcon-CnAtXIjx.js.map} +1 -1
- package/assets/{download-30qm_WAk.js → download-Csh0UAX4.js} +2 -2
- package/assets/{download-30qm_WAk.js.map → download-Csh0UAX4.js.map} +1 -1
- package/assets/{downloadWithIdentity-BtEnlEpV.js → downloadWithIdentity-imzC-1Iy.js} +1 -1
- package/assets/{downloadWithIdentity-BtEnlEpV.js.map → downloadWithIdentity-imzC-1Iy.js.map} +1 -1
- package/assets/{events.client-Cm_vJXoK.js → events.client-BypQp_hx.js} +1 -1
- package/assets/{events.client-Cm_vJXoK.js.map → events.client-BypQp_hx.js.map} +1 -1
- package/assets/{index-DphyojdM.js → index-0VgKmd34.js} +1 -1
- package/assets/{index-DphyojdM.js.map → index-0VgKmd34.js.map} +1 -1
- package/assets/{index-CnliSg2U.js → index-B-PLjKpI.js} +1 -1
- package/assets/{index-CnliSg2U.js.map → index-B-PLjKpI.js.map} +1 -1
- package/assets/{index-3Yl6UR--.js → index-BKY10VNY.js} +1 -1
- package/assets/{index-3Yl6UR--.js.map → index-BKY10VNY.js.map} +1 -1
- package/assets/{index-CcVwIken.js → index-BO6ciUn8.js} +1 -1
- package/assets/{index-CcVwIken.js.map → index-BO6ciUn8.js.map} +1 -1
- package/assets/{index-C1q8L88E.js → index-BVu5N7d0.js} +1 -1
- package/assets/{index-C1q8L88E.js.map → index-BVu5N7d0.js.map} +1 -1
- package/assets/{index-BxZNYwr3.js → index-BaEE4ZXP.js} +1 -1
- package/assets/{index-BxZNYwr3.js.map → index-BaEE4ZXP.js.map} +1 -1
- package/assets/{index-C7VbadJ8.js → index-Bd63106P.js} +1 -1
- package/assets/{index-C7VbadJ8.js.map → index-Bd63106P.js.map} +1 -1
- package/assets/{index-SmcmwtEm.js → index-Bfn0rTR9.js} +1 -1
- package/assets/{index-SmcmwtEm.js.map → index-Bfn0rTR9.js.map} +1 -1
- package/assets/{index-BMggQVV_.js → index-Bq7PojkE.js} +1 -1
- package/assets/{index-BMggQVV_.js.map → index-Bq7PojkE.js.map} +1 -1
- package/assets/{index-BgUWva8u.js → index-BtL1Whr6.js} +1 -1
- package/assets/{index-BgUWva8u.js.map → index-BtL1Whr6.js.map} +1 -1
- package/assets/{index-XqSXzv-4.js → index-BzmWmDt2.js} +1 -1
- package/assets/{index-XqSXzv-4.js.map → index-BzmWmDt2.js.map} +1 -1
- package/assets/{index-Dgp9VKxh.js → index-C1apFG92.js} +1 -1
- package/assets/{index-Dgp9VKxh.js.map → index-C1apFG92.js.map} +1 -1
- package/assets/{index-CAq1HW41.js → index-CC8b5SLA.js} +1 -1
- package/assets/{index-CAq1HW41.js.map → index-CC8b5SLA.js.map} +1 -1
- package/assets/{index-D6BepkG_.js → index-CJ9b6HdV.js} +1 -1
- package/assets/{index-D6BepkG_.js.map → index-CJ9b6HdV.js.map} +1 -1
- package/assets/{index--KeAUoz4.js → index-CXMTgMUj.js} +1 -1
- package/assets/{index--KeAUoz4.js.map → index-CXMTgMUj.js.map} +1 -1
- package/assets/{index-C62RHb__.js → index-CfKiEnnb.js} +1 -1
- package/assets/{index-C62RHb__.js.map → index-CfKiEnnb.js.map} +1 -1
- package/assets/{index-vUzwsML4.js → index-CqU_IKja.js} +1 -1
- package/assets/{index-vUzwsML4.js.map → index-CqU_IKja.js.map} +1 -1
- package/assets/{index-DchvHHlK.js → index-CsY_wahP.js} +1 -1
- package/assets/{index-DchvHHlK.js.map → index-CsY_wahP.js.map} +1 -1
- package/assets/{index-B6K794Rf.js → index-DIU7xr_7.js} +1 -1
- package/assets/{index-B6K794Rf.js.map → index-DIU7xr_7.js.map} +1 -1
- package/assets/{index-BY3JByxP.js → index-DJdpP3iF.js} +1 -1
- package/assets/{index-BY3JByxP.js.map → index-DJdpP3iF.js.map} +1 -1
- package/assets/{index-D0nE3AYE.js → index-DUmIu2EK.js} +37 -37
- package/assets/index-DUmIu2EK.js.map +1 -0
- package/assets/{index-C8cR2Ojr.js → index-DV8UooZK.js} +1 -1
- package/assets/{index-C8cR2Ojr.js.map → index-DV8UooZK.js.map} +1 -1
- package/assets/{index-DLkc1FLr.js → index-DW87VeBc.js} +1 -1
- package/assets/{index-DLkc1FLr.js.map → index-DW87VeBc.js.map} +1 -1
- package/assets/{index-BrT6YuSM.js → index-DwKCx_Fj.js} +4 -4
- package/assets/{index-BrT6YuSM.js.map → index-DwKCx_Fj.js.map} +1 -1
- package/assets/{index-C_4lnhwn.js → index-Dx9lzInm.js} +1 -1
- package/assets/{index-C_4lnhwn.js.map → index-Dx9lzInm.js.map} +1 -1
- package/assets/{index-DsMEKak1.js → index-FcfsIuei.js} +1 -1
- package/assets/{index-DsMEKak1.js.map → index-FcfsIuei.js.map} +1 -1
- package/assets/{index-tdgsZ4Yr.js → index-Hs2OtJ7_.js} +1 -1
- package/assets/{index-tdgsZ4Yr.js.map → index-Hs2OtJ7_.js.map} +1 -1
- package/assets/{index-CALzixlI.js → index-KkMZZ6nz.js} +1 -1
- package/assets/{index-CALzixlI.js.map → index-KkMZZ6nz.js.map} +1 -1
- package/assets/{index-CTcKnQdc.js → index-XwRFjo-F.js} +3 -3
- package/assets/{index-CTcKnQdc.js.map → index-XwRFjo-F.js.map} +1 -1
- package/assets/{index-Fbn9W4zr.js → index-fmnLygLZ.js} +1 -1
- package/assets/{index-Fbn9W4zr.js.map → index-fmnLygLZ.js.map} +1 -1
- package/assets/{index-DklThyvZ.js → index-iTL2dY0l.js} +1 -1
- package/assets/{index-DklThyvZ.js.map → index-iTL2dY0l.js.map} +1 -1
- package/assets/{index-cnaXlDby.js → index-pguZ7Pr7.js} +2 -2
- package/assets/{index-cnaXlDby.js.map → index-pguZ7Pr7.js.map} +1 -1
- package/assets/{profile.client-DJkJAVO7.js → profile.client-BtZZbgxj.js} +1 -1
- package/assets/{profile.client-DJkJAVO7.js.map → profile.client-BtZZbgxj.js.map} +1 -1
- package/assets/{shared.styled-CdKr8-z1.js → shared.styled-D8qloAmp.js} +1 -1
- package/assets/{shared.styled-CdKr8-z1.js.map → shared.styled-D8qloAmp.js.map} +1 -1
- package/assets/{store-B-SZNpsH.js → store-OyTPwmKI.js} +1 -1
- package/assets/{store-B-SZNpsH.js.map → store-OyTPwmKI.js.map} +1 -1
- package/assets/{url-B6S3bwqB.js → url-BHzlJYXC.js} +1 -1
- package/assets/{url-B6S3bwqB.js.map → url-BHzlJYXC.js.map} +1 -1
- package/assets/{useAuthIdentity-BlDTBxRE.js → useAuthIdentity-D2zQ3q5X.js} +1 -1
- package/assets/{useAuthIdentity-BlDTBxRE.js.map → useAuthIdentity-D2zQ3q5X.js.map} +1 -1
- package/assets/{useCreatorHubDownload-TIbrehIm.js → useCreatorHubDownload-Dp_zMaiv.js} +1 -1
- package/assets/{useCreatorHubDownload-TIbrehIm.js.map → useCreatorHubDownload-Dp_zMaiv.js.map} +1 -1
- package/assets/{useInfiniteBlogPosts-DKtXiohd.js → useInfiniteBlogPosts-B9Mv_Fup.js} +1 -1
- package/assets/{useInfiniteBlogPosts-DKtXiohd.js.map → useInfiniteBlogPosts-B9Mv_Fup.js.map} +1 -1
- package/assets/{useSlot-B74_4mYS.js → useSlot-DM_UQPu8.js} +1 -1
- package/assets/{useSlot-B74_4mYS.js.map → useSlot-DM_UQPu8.js.map} +1 -1
- package/assets/{utils-B-HvTNW5.js → utils-CJGePSnj.js} +1 -1
- package/assets/{utils-B-HvTNW5.js.map → utils-CJGePSnj.js.map} +1 -1
- package/index.html +15 -15
- package/package.json +3 -3
- package/assets/HomePage-9QTR-dt7.js +0 -3
- package/assets/HomePage-9QTR-dt7.js.map +0 -1
- package/assets/WearablePreview-DLAIz58Z.js +0 -4
- package/assets/index-D0nE3AYE.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-BgUWva8u.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","renderC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AEJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index-BtL1Whr6.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,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AAAA,IAAChB,EAAA,CAAU,SAAUqB,IAAcD,EAAK,KAAK,MAAO,QAAS,IAAME,EAAaF,EAAK,KAAK,KAAK,EAC5F,SAAAA,EAAK,KAAK,MACb,QACCpB,EAAA,CAAU,SAAUqB,IAAcD,EAAK,KAAK,MAAO,QAAS,IAAME,EAAaF,EAAK,KAAM,KAAK,EAC7F,SAAAA,EAAK,KAAK,KAAA,CACb,CAAA,EACF,EAEDC,IAAcD,EAAK,KAAK,aAAUX,EAAA,CAAiB,IAAKW,EAAK,KAAM,EACnEA,EAAK,MAAQC,IAAcD,EAAK,KAAK,OAASJ,EAAAA,IAACP,EAAA,CAAiB,IAAKW,EAAK,IAAA,CAAM,CAAA,CAAA,CACnF,CAAA,CAAA,CACF,CAAA,EACF,CAEJ,CAAC,EAEKI,EAAcJ,GAAyBJ,EAAAA,IAACG,GAAW,KAAAC,CAAA,CAAY,EAC/DK,EAAgBL,GAAyBA,EAAK,GAE9CM,EAAiBhB,EAAAA,KAAK,IAAM,CAChC,MAAME,EAAIC,EAAA,EACV,OACEG,EAAAA,IAACW,EAAA,CACC,SAAAb,EAAAA,KAAC7B,EAAA,CACC,SAAA,CAAA6B,OAAC1B,EAAA,CACE,SAAA,CAAAwB,EAAE,yCAAyC,EAC5CI,EAAAA,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 +1 @@
|
|
|
1
|
-
import{s as o,a as i,v as r,w as e,j as t,L as a,B as p}from"./index-
|
|
1
|
+
import{s as o,a as i,v as r,w as e,j as t,L as a,B as p}from"./index-DUmIu2EK.js";import{L as c}from"./Link-C3GGl2C6.js";import"./vendor-router-D_36sTKu.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-ua-D7qqAxdq.js";import"./vendor-intl-D2lXWsDp.js";const g=o(i)(({theme:n})=>({display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",maxWidth:724,textAlign:"center",marginTop:n.spacing(24),marginLeft:"auto",marginRight:"auto",marginBottom:n.spacing(24),padding:`0 ${n.spacing(5)}`,[n.breakpoints.down("sm")]:{marginTop:n.spacing(12),marginBottom:n.spacing(12),maxWidth:"100%"}})),m=o(r)(({theme:n})=>({fontSize:20,fontWeight:400,marginBottom:n.spacing(5),color:n.palette.text.secondary,[n.breakpoints.down("sm")]:{fontSize:16}})),d=o(c)({textDecoration:"underline"}),l=o(i)(({theme:n})=>({marginBottom:n.spacing(4)})),x=o(r)(({theme:n})=>({fontSize:40,fontWeight:600,marginBottom:n.spacing(2),[n.breakpoints.down("sm")]:{fontSize:32}})),f="https://dcl.gg/press",s="press@decentraland.org",y=()=>{const n=e();return t.jsxs(g,{children:[t.jsx(l,{children:t.jsx(a,{size:"huge"})}),t.jsx(x,{variant:"h1",children:n("index.press.title")}),t.jsxs(m,{children:[n("index.press.page_description"),t.jsx(d,{href:`mailto:${s}`,children:s}),"."]}),t.jsx(p,{variant:"contained",component:"a",target:"_blank",rel:"noopener noreferrer",href:f,children:n("index.press.download_button")})]})};export{y as PressPage};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BzmWmDt2.js","sources":["../../src/pages/press/PressPage.styled.ts","../../src/pages/press/PressPage.tsx"],"sourcesContent":["import { Box, Link, Typography, styled } from 'decentraland-ui2'\n\nconst PressContainer = styled(Box)(({ theme }) => ({\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n flexDirection: 'column',\n maxWidth: 724,\n textAlign: 'center',\n marginTop: theme.spacing(24),\n marginLeft: 'auto',\n marginRight: 'auto',\n marginBottom: theme.spacing(24),\n padding: `0 ${theme.spacing(5)}`,\n [theme.breakpoints.down('sm')]: {\n marginTop: theme.spacing(12),\n marginBottom: theme.spacing(12),\n maxWidth: '100%'\n }\n}))\n\nconst PressDescription = styled(Typography)(({ theme }) => ({\n fontSize: 20,\n fontWeight: 400,\n marginBottom: theme.spacing(5),\n color: theme.palette.text.secondary,\n [theme.breakpoints.down('sm')]: {\n fontSize: 16\n }\n}))\n\nconst PressEmailLink = styled(Link)({\n textDecoration: 'underline'\n})\n\nconst PressLogoWrapper = styled(Box)(({ theme }) => ({\n marginBottom: theme.spacing(4)\n}))\n\nconst PressTitle = styled(Typography)(({ theme }) => ({\n fontSize: 40,\n fontWeight: 600,\n marginBottom: theme.spacing(2),\n [theme.breakpoints.down('sm')]: {\n fontSize: 32\n }\n}))\n\nexport { PressContainer, PressDescription, PressEmailLink, PressLogoWrapper, PressTitle }\n","import { Button, Logo } from 'decentraland-ui2'\nimport { useFormatMessage } from '../../hooks/adapters/useFormatMessage'\nimport { PressContainer, PressDescription, PressEmailLink, PressLogoWrapper, PressTitle } from './PressPage.styled'\n\nconst PRESS_KIT_URL = 'https://dcl.gg/press'\nconst PRESS_EMAIL = 'press@decentraland.org'\n\nconst PressPage = () => {\n const l = useFormatMessage()\n\n return (\n <PressContainer>\n <PressLogoWrapper>\n <Logo size=\"huge\" />\n </PressLogoWrapper>\n <PressTitle variant=\"h1\">{l('index.press.title')}</PressTitle>\n <PressDescription>\n {l('index.press.page_description')}\n <PressEmailLink href={`mailto:${PRESS_EMAIL}`}>{PRESS_EMAIL}</PressEmailLink>.\n </PressDescription>\n <Button variant=\"contained\" {...{ component: 'a', target: '_blank', rel: 'noopener noreferrer' }} href={PRESS_KIT_URL}>\n {l('index.press.download_button')}\n </Button>\n </PressContainer>\n )\n}\n\nexport { PressPage }\n"],"names":["PressContainer","styled","Box","theme","PressDescription","Typography","PressEmailLink","Link","PressLogoWrapper","PressTitle","PRESS_KIT_URL","PRESS_EMAIL","PressPage","l","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A,CAAW,QAAQ,KAAM,SAAAI,EAAE,mBAAmB,EAAE,SAChDT,EAAA,CACE,SAAA,CAAAS,EAAE,8BAA8B,QAChCP,EAAA,CAAe,KAAM,UAAUK,CAAW,GAAK,SAAAA,EAAY,EAAiB,GAAA,EAC/E,QACCM,EAAA,CAAO,QAAQ,YAAkB,UAAW,IAAK,OAAQ,SAAU,IAAK,sBAAyB,KAAMP,EACrG,SAAAG,EAAE,6BAA6B,CAAA,CAClC,CAAA,EACF,CAEJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as n,a as c,v as C,z as f,M as v,j as o,U as w,P as k,w as y,ae as M,u as j,N as A,V as E}from"./index-
|
|
1
|
+
import{s as n,a as c,v as C,z as f,M as v,j as o,U as w,P as k,w as y,ae as M,u as j,N as A,V as E}from"./index-DUmIu2EK.js";import{r as d}from"./vendor-router-D_36sTKu.js";import{C as b}from"./Carousel-DJd7E-wq.js";import{u as L}from"./profile.client-BtZZbgxj.js";import{E as D,B,L as N,U as W}from"./Badges-DPcq_7dC.js";import{A as G}from"./AnimatedBackground-BbbuCmrW.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"./JumpInIcon-bPOWl5ae.js";import"./createSvgIcon-CnAtXIjx.js";import"./useSlot-DM_UQPu8.js";import"./CardContent-BQ0iSa2p.js";import"./Paper-BfSYUoim.js";import"./Skeleton-BP1Os8gY.js";import"./CardMedia-B6PneSTk.js";import"./Link-C3GGl2C6.js";const I=n(c)(({theme:e})=>({width:"100%",padding:e.spacing(10,8),display:"flex",flexDirection:"column",alignItems:"center",gap:e.spacing(6),position:"relative",overflow:"hidden",[e.breakpoints.down("sm")]:{padding:e.spacing(6,2)}})),O=n(C)(({theme:e})=>({color:f.white,fontWeight:700,textAlign:"center",position:"relative",zIndex:10,fontSize:48,[e.breakpoints.down("sm")]:{fontSize:32}})),u=62,z=n(c)(({theme:e})=>({display:"flex",gap:e.spacing(3),justifyContent:"center",width:"100%",position:"relative",zIndex:10,"& > *":{flex:"1 1 0",minWidth:0,maxWidth:850,"&:only-child, &:first-child:nth-last-child(2), &:first-child:nth-last-child(2) ~ *":{minHeight:427}},"& .MuiCard-root":{containerType:"inline-size",overflow:"hidden",height:"min(62.5cqw + 130px, 427px)"},"& .MuiCardActionArea-root":{height:"100%"},"&& .MuiCardMedia-root":{height:"min(62.5cqw, 297px)",transition:"height 0.3s ease"},"&& .MuiCardActionArea-root:hover .MuiCardMedia-root":{height:`min(calc(62.5cqw - ${u}px), ${297-u}px)`},"& .MuiCardContent-root .MuiBox-root .MuiBox-root:has(.MuiAvatar-root)":{maxWidth:"100%"},[e.breakpoints.down("sm")]:{display:"none"}})),P=n(c)(({theme:e})=>({display:"none",width:"100%",position:"relative",zIndex:10,[e.breakpoints.down("sm")]:{display:"block"}})),T=n("div")({borderRadius:16,overflow:"hidden",display:"flex",flexDirection:"column","&& .MuiCardContent-root":{backgroundColor:"rgba(0, 0, 0, 0.6)"},"&& .MuiCard-root":{minWidth:0,maxWidth:"100%"},"&& .MuiTypography-h6":{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",WebkitLineClamp:"unset",WebkitBoxOrient:"unset"}}),H=k("/dcl-logo.svg").replace(/^http:\/\//,"https://"),s=d.memo(({card:e,loading:a})=>{const i=v(),{data:l}=L(e?.creatorAddress,{skip:!e?.creatorAddress});let r=l?.avatars?.[0];return!r&&e?.creatorName&&(r={name:e.creatorName,ethAddress:"",...e.isGenesisPlaza&&{avatar:{snapshots:{face256:H,body:""}}}}),o.jsx(T,{"data-place":w.LANDING_EXPLORE,"data-event":"click","data-card":e?.title,onClick:i,children:o.jsx(D,{loading:a,image:e?.image??"",sceneName:e?.title??"",avatar:r,coordinates:e?.coordinates,leftBadgeTransparent:!0,hideLocation:!0,leftBadge:e?o.jsxs(B,{children:[o.jsx(N,{}),o.jsx(W,{count:e.users})]}):void 0})})});s.displayName="ExploreCard";const S=[0,1,2],U=d.memo(()=>{const e=y(),{data:a,isLoading:i}=M(),{isConnected:l}=j(),{handleClick:p,isDownloadModalOpen:r,closeDownloadModal:h,downloadModalProps:x}=A(),m=d.useCallback(t=>{l||(t.preventDefault(),t.stopPropagation(),p(t))},[l,p]);if(!i&&a.length===0)return null;const g=d.useMemo(()=>i?S.map(t=>o.jsx(s,{loading:!0},t)):a.map(t=>o.jsx(s,{card:t},t.id)),[i,a]);return o.jsxs(I,{children:[o.jsx(G,{variant:"absolute"}),o.jsx(O,{variant:"h3",children:e("page.home.explore.title")}),o.jsx(z,{onClickCapture:m,children:g}),o.jsx(P,{onClickCapture:m,children:i?o.jsx(s,{loading:!0}):a.length>0&&o.jsx(b,{items:a,renderItem:t=>o.jsx(s,{card:t}),keyExtractor:t=>t.id,autoplayDelay:5e3})}),o.jsx(E,{open:r,onClose:h,...x})]})});U.displayName="Explore";export{U as Explore};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-Dgp9VKxh.js","sources":["../../src/components/Home/Explore/Explore.styled.ts","../../src/components/Home/Explore/ExploreCard.tsx","../../src/components/Home/Explore/Explore.tsx"],"sourcesContent":["import { Box, Typography, dclColors, styled } from 'decentraland-ui2'\n\nconst ExploreContainer = styled(Box)(({ theme }) => ({\n width: '100%',\n padding: theme.spacing(10, 8),\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: theme.spacing(6),\n position: 'relative',\n overflow: 'hidden',\n [theme.breakpoints.down('sm')]: {\n padding: theme.spacing(6, 2)\n }\n}))\n\nconst SectionTitle = styled(Typography)(({ theme }) => ({\n color: dclColors.neutral.white,\n fontWeight: 700,\n textAlign: 'center',\n position: 'relative',\n zIndex: 10,\n fontSize: 48,\n [theme.breakpoints.down('sm')]: {\n fontSize: 32\n }\n}))\n\nconst JUMP_IN_HEIGHT = 62\n\nconst CardsGrid = styled(Box)(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing(3),\n justifyContent: 'center',\n width: '100%',\n position: 'relative',\n zIndex: 10,\n /* eslint-disable @typescript-eslint/naming-convention */\n '& > *': {\n flex: '1 1 0',\n minWidth: 0,\n maxWidth: 850,\n '&:only-child, &:first-child:nth-last-child(2), &:first-child:nth-last-child(2) ~ *': {\n minHeight: 427\n }\n },\n '& .MuiCard-root': {\n containerType: 'inline-size',\n overflow: 'hidden',\n height: 'min(62.5cqw + 130px, 427px)'\n },\n '& .MuiCardActionArea-root': {\n height: '100%'\n },\n '&& .MuiCardMedia-root': {\n height: 'min(62.5cqw, 297px)',\n transition: 'height 0.3s ease'\n },\n '&& .MuiCardActionArea-root:hover .MuiCardMedia-root': {\n height: `min(calc(62.5cqw - ${JUMP_IN_HEIGHT}px), ${297 - JUMP_IN_HEIGHT}px)`\n },\n // Expand avatar container so the \"by\" label is not truncated\n // (targets the inner Box wrapping the AvatarFace inside EventCard)\n '& .MuiCardContent-root .MuiBox-root .MuiBox-root:has(.MuiAvatar-root)': {\n maxWidth: '100%'\n },\n /* eslint-enable @typescript-eslint/naming-convention */\n [theme.breakpoints.down('sm')]: {\n display: 'none'\n }\n}))\n\nconst MobileCarousel = styled(Box)(({ theme }) => ({\n display: 'none',\n width: '100%',\n position: 'relative',\n zIndex: 10,\n [theme.breakpoints.down('sm')]: {\n display: 'block'\n }\n}))\n\nconst CardWrapper = styled('div')({\n borderRadius: 16,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n // Override ui2's 0.4 opacity to 0.6\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&& .MuiCardContent-root': {\n backgroundColor: 'rgba(0, 0, 0, 0.6)'\n },\n // Force card to respect container width on small screens\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&& .MuiCard-root': {\n minWidth: 0,\n maxWidth: '100%'\n },\n /* eslint-disable @typescript-eslint/naming-convention */\n '&& .MuiTypography-h6': {\n display: 'block',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n WebkitLineClamp: 'unset',\n WebkitBoxOrient: 'unset'\n }\n /* eslint-enable @typescript-eslint/naming-convention */\n})\n\nexport { CardWrapper, CardsGrid, ExploreContainer, MobileCarousel, SectionTitle }\n","import { memo } from 'react'\nimport type { Avatar } from '@dcl/schemas'\nimport { BadgeGroup, EventCard, LiveBadge, UserCountBadge } from 'decentraland-ui2'\nimport type { ExploreItem } from '../../../features/events/events.types'\nimport { useGetProfileQuery } from '../../../features/profile/profile.client'\nimport { useTrackClick } from '../../../hooks/adapters/useTrackLinkContext'\nimport { SectionViewedTrack } from '../../../modules/segment'\nimport { assetUrl } from '../../../utils/assetUrl'\nimport { CardWrapper } from './Explore.styled'\n\n// AvatarFace only passes through URLs starting with https://, otherwise it\n// prepends peer.decentraland.org. In prod assetUrl gives https://cdn..., in\n// dev we force https by replacing the protocol.\nconst DCL_LOGO_URL = assetUrl('/dcl-logo.svg').replace(/^http:\\/\\//, 'https://')\n\nconst ExploreCard = memo(({ card, loading }: { card?: ExploreItem; loading?: boolean }) => {\n const onClickHandle = useTrackClick()\n const { data: profile } = useGetProfileQuery(card?.creatorAddress, { skip: !card?.creatorAddress })\n const fetchedAvatar = profile?.avatars?.[0]\n\n let avatar: Avatar | undefined = fetchedAvatar as Avatar | undefined\n if (!avatar && card?.creatorName) {\n avatar = {\n name: card.creatorName,\n ethAddress: '',\n ...(card.isGenesisPlaza && {\n avatar: { snapshots: { face256: DCL_LOGO_URL, body: '' } }\n })\n } as Avatar\n }\n\n return (\n <CardWrapper data-place={SectionViewedTrack.LANDING_EXPLORE} data-event=\"click\" data-card={card?.title} onClick={onClickHandle}>\n <EventCard\n loading={loading}\n image={card?.image ?? ''}\n sceneName={card?.title ?? ''}\n avatar={avatar}\n coordinates={card?.coordinates}\n leftBadgeTransparent\n hideLocation\n leftBadge={\n card ? (\n <BadgeGroup>\n <LiveBadge />\n <UserCountBadge count={card.users} />\n </BadgeGroup>\n ) : undefined\n }\n />\n </CardWrapper>\n )\n})\n\nExploreCard.displayName = 'ExploreCard'\n\nexport { ExploreCard }\n","import { memo, useCallback, useMemo } from 'react'\nimport { AnimatedBackground, DownloadModal } from 'decentraland-ui2'\nimport { useGetExploreDataQuery } from '../../../features/events/events.client'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { useHangOutAction } from '../../../hooks/useHangOutAction'\nimport { useWalletAddress } from '../../../hooks/useWalletAddress'\nimport { Carousel } from '../../Carousel/Carousel'\nimport { ExploreCard } from './ExploreCard'\nimport { CardsGrid, ExploreContainer, MobileCarousel, SectionTitle } from './Explore.styled'\n\nconst LOADING_PLACEHOLDERS = [0, 1, 2]\n\nconst Explore = memo(() => {\n const l = useFormatMessage()\n const { data: cards, isLoading } = useGetExploreDataQuery()\n const { isConnected } = useWalletAddress()\n const { handleClick, isDownloadModalOpen, closeDownloadModal, downloadModalProps } = useHangOutAction()\n\n // Intercept card clicks when not signed in → show download modal instead\n const handleCardClick = useCallback(\n (e: React.MouseEvent) => {\n if (!isConnected) {\n e.preventDefault()\n e.stopPropagation()\n handleClick(e)\n }\n },\n [isConnected, handleClick]\n )\n\n if (!isLoading && cards.length === 0) return null\n\n const cardElements = useMemo(\n () =>\n isLoading\n ? LOADING_PLACEHOLDERS.map(i => <ExploreCard key={i} loading />)\n : cards.map(card => <ExploreCard key={card.id} card={card} />),\n [isLoading, cards]\n )\n\n return (\n <ExploreContainer>\n <AnimatedBackground variant=\"absolute\" />\n <SectionTitle variant=\"h3\">{l('page.home.explore.title')}</SectionTitle>\n <CardsGrid onClickCapture={handleCardClick}>{cardElements}</CardsGrid>\n <MobileCarousel onClickCapture={handleCardClick}>\n {isLoading ? (\n <ExploreCard loading />\n ) : (\n cards.length > 0 && (\n <Carousel items={cards} renderItem={card => <ExploreCard card={card} />} keyExtractor={card => card.id} autoplayDelay={5000} />\n )\n )}\n </MobileCarousel>\n <DownloadModal open={isDownloadModalOpen} onClose={closeDownloadModal} {...downloadModalProps} />\n </ExploreContainer>\n )\n})\n\nExplore.displayName = 'Explore'\n\nexport { Explore }\n"],"names":["ExploreContainer","styled","Box","theme","SectionTitle","Typography","dclColors.neutral","JUMP_IN_HEIGHT","CardsGrid","MobileCarousel","CardWrapper","DCL_LOGO_URL","assetUrl","ExploreCard","memo","card","loading","onClickHandle","useTrackClick","profile","useGetProfileQuery","avatar","jsx","SectionViewedTrack","EventCard","jsxs","BadgeGroup","LiveBadge","UserCountBadge","LOADING_PLACEHOLDERS","Explore","l","useFormatMessage","cards","isLoading","useGetExploreDataQuery","isConnected","useWalletAddress","handleClick","isDownloadModalOpen","closeDownloadModal","downloadModalProps","useHangOutAction","handleCardClick","useCallback","e","cardElements","useMemo","i","AnimatedBackground","Carousel","DownloadModal"],"mappings":"iyBAEA,MAAMA,EAAmBC,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAC,MAAa,CACnD,MAAO,OACP,QAASA,EAAM,QAAQ,GAAI,CAAC,EAC5B,QAAS,OACT,cAAe,SACf,WAAY,SACZ,IAAKA,EAAM,QAAQ,CAAC,EACpB,SAAU,WACV,SAAU,SACV,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,QAASA,EAAM,QAAQ,EAAG,CAAC,CAAA,CAE/B,EAAE,EAEIC,EAAeH,EAAOI,CAAU,EAAE,CAAC,CAAE,MAAAF,MAAa,CACtD,MAAOG,EAAkB,MACzB,WAAY,IACZ,UAAW,SACX,SAAU,WACV,OAAQ,GACR,SAAU,GACV,CAACH,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,SAAU,EAAA,CAEd,EAAE,EAEII,EAAiB,GAEjBC,EAAYP,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAC,MAAa,CAC5C,QAAS,OACT,IAAKA,EAAM,QAAQ,CAAC,EACpB,eAAgB,SAChB,MAAO,OACP,SAAU,WACV,OAAQ,GAER,QAAS,CACP,KAAM,QACN,SAAU,EACV,SAAU,IACV,qFAAsF,CACpF,U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,IAAC2B,EAAA,CAAmB,QAAQ,UAAA,CAAW,QACtC7C,EAAA,CAAa,QAAQ,KAAM,SAAA2B,EAAE,yBAAyB,EAAE,EACzDT,EAAAA,IAACd,EAAA,CAAU,eAAgBmC,EAAkB,SAAAG,EAAa,EAC1DxB,EAAAA,IAACb,EAAA,CAAe,eAAgBkC,EAC7B,SAAAT,EACCZ,MAACT,EAAA,CAAY,QAAO,EAAA,CAAC,EAErBoB,EAAM,OAAS,GACbX,EAAAA,IAAC4B,EAAA,CAAS,MAAOjB,EAAO,WAAYlB,GAAQO,EAAAA,IAACT,EAAA,CAAY,KAAAE,CAAA,CAAY,EAAI,aAAcA,GAAQA,EAAK,GAAI,cAAe,IAAM,EAGnI,QACCoC,EAAA,CAAc,KAAMZ,EAAqB,QAASC,EAAqB,GAAGC,CAAA,CAAoB,CAAA,EACjG,CAEJ,CAAC,EAEDX,EAAQ,YAAc"}
|
|
1
|
+
{"version":3,"file":"index-C1apFG92.js","sources":["../../src/components/Home/Explore/Explore.styled.ts","../../src/components/Home/Explore/ExploreCard.tsx","../../src/components/Home/Explore/Explore.tsx"],"sourcesContent":["import { Box, Typography, dclColors, styled } from 'decentraland-ui2'\n\nconst ExploreContainer = styled(Box)(({ theme }) => ({\n width: '100%',\n padding: theme.spacing(10, 8),\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n gap: theme.spacing(6),\n position: 'relative',\n overflow: 'hidden',\n [theme.breakpoints.down('sm')]: {\n padding: theme.spacing(6, 2)\n }\n}))\n\nconst SectionTitle = styled(Typography)(({ theme }) => ({\n color: dclColors.neutral.white,\n fontWeight: 700,\n textAlign: 'center',\n position: 'relative',\n zIndex: 10,\n fontSize: 48,\n [theme.breakpoints.down('sm')]: {\n fontSize: 32\n }\n}))\n\nconst JUMP_IN_HEIGHT = 62\n\nconst CardsGrid = styled(Box)(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing(3),\n justifyContent: 'center',\n width: '100%',\n position: 'relative',\n zIndex: 10,\n /* eslint-disable @typescript-eslint/naming-convention */\n '& > *': {\n flex: '1 1 0',\n minWidth: 0,\n maxWidth: 850,\n '&:only-child, &:first-child:nth-last-child(2), &:first-child:nth-last-child(2) ~ *': {\n minHeight: 427\n }\n },\n '& .MuiCard-root': {\n containerType: 'inline-size',\n overflow: 'hidden',\n height: 'min(62.5cqw + 130px, 427px)'\n },\n '& .MuiCardActionArea-root': {\n height: '100%'\n },\n '&& .MuiCardMedia-root': {\n height: 'min(62.5cqw, 297px)',\n transition: 'height 0.3s ease'\n },\n '&& .MuiCardActionArea-root:hover .MuiCardMedia-root': {\n height: `min(calc(62.5cqw - ${JUMP_IN_HEIGHT}px), ${297 - JUMP_IN_HEIGHT}px)`\n },\n // Expand avatar container so the \"by\" label is not truncated\n // (targets the inner Box wrapping the AvatarFace inside EventCard)\n '& .MuiCardContent-root .MuiBox-root .MuiBox-root:has(.MuiAvatar-root)': {\n maxWidth: '100%'\n },\n /* eslint-enable @typescript-eslint/naming-convention */\n [theme.breakpoints.down('sm')]: {\n display: 'none'\n }\n}))\n\nconst MobileCarousel = styled(Box)(({ theme }) => ({\n display: 'none',\n width: '100%',\n position: 'relative',\n zIndex: 10,\n [theme.breakpoints.down('sm')]: {\n display: 'block'\n }\n}))\n\nconst CardWrapper = styled('div')({\n borderRadius: 16,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n // Override ui2's 0.4 opacity to 0.6\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&& .MuiCardContent-root': {\n backgroundColor: 'rgba(0, 0, 0, 0.6)'\n },\n // Force card to respect container width on small screens\n // eslint-disable-next-line @typescript-eslint/naming-convention\n '&& .MuiCard-root': {\n minWidth: 0,\n maxWidth: '100%'\n },\n /* eslint-disable @typescript-eslint/naming-convention */\n '&& .MuiTypography-h6': {\n display: 'block',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n WebkitLineClamp: 'unset',\n WebkitBoxOrient: 'unset'\n }\n /* eslint-enable @typescript-eslint/naming-convention */\n})\n\nexport { CardWrapper, CardsGrid, ExploreContainer, MobileCarousel, SectionTitle }\n","import { memo } from 'react'\nimport type { Avatar } from '@dcl/schemas'\nimport { BadgeGroup, EventCard, LiveBadge, UserCountBadge } from 'decentraland-ui2'\nimport type { ExploreItem } from '../../../features/events/events.types'\nimport { useGetProfileQuery } from '../../../features/profile/profile.client'\nimport { useTrackClick } from '../../../hooks/adapters/useTrackLinkContext'\nimport { SectionViewedTrack } from '../../../modules/segment'\nimport { assetUrl } from '../../../utils/assetUrl'\nimport { CardWrapper } from './Explore.styled'\n\n// AvatarFace only passes through URLs starting with https://, otherwise it\n// prepends peer.decentraland.org. In prod assetUrl gives https://cdn..., in\n// dev we force https by replacing the protocol.\nconst DCL_LOGO_URL = assetUrl('/dcl-logo.svg').replace(/^http:\\/\\//, 'https://')\n\nconst ExploreCard = memo(({ card, loading }: { card?: ExploreItem; loading?: boolean }) => {\n const onClickHandle = useTrackClick()\n const { data: profile } = useGetProfileQuery(card?.creatorAddress, { skip: !card?.creatorAddress })\n const fetchedAvatar = profile?.avatars?.[0]\n\n let avatar: Avatar | undefined = fetchedAvatar as Avatar | undefined\n if (!avatar && card?.creatorName) {\n avatar = {\n name: card.creatorName,\n ethAddress: '',\n ...(card.isGenesisPlaza && {\n avatar: { snapshots: { face256: DCL_LOGO_URL, body: '' } }\n })\n } as Avatar\n }\n\n return (\n <CardWrapper data-place={SectionViewedTrack.LANDING_EXPLORE} data-event=\"click\" data-card={card?.title} onClick={onClickHandle}>\n <EventCard\n loading={loading}\n image={card?.image ?? ''}\n sceneName={card?.title ?? ''}\n avatar={avatar}\n coordinates={card?.coordinates}\n leftBadgeTransparent\n hideLocation\n leftBadge={\n card ? (\n <BadgeGroup>\n <LiveBadge />\n <UserCountBadge count={card.users} />\n </BadgeGroup>\n ) : undefined\n }\n />\n </CardWrapper>\n )\n})\n\nExploreCard.displayName = 'ExploreCard'\n\nexport { ExploreCard }\n","import { memo, useCallback, useMemo } from 'react'\nimport { AnimatedBackground, DownloadModal } from 'decentraland-ui2'\nimport { useGetExploreDataQuery } from '../../../features/events/events.client'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { useHangOutAction } from '../../../hooks/useHangOutAction'\nimport { useWalletAddress } from '../../../hooks/useWalletAddress'\nimport { Carousel } from '../../Carousel/Carousel'\nimport { ExploreCard } from './ExploreCard'\nimport { CardsGrid, ExploreContainer, MobileCarousel, SectionTitle } from './Explore.styled'\n\nconst LOADING_PLACEHOLDERS = [0, 1, 2]\n\nconst Explore = memo(() => {\n const l = useFormatMessage()\n const { data: cards, isLoading } = useGetExploreDataQuery()\n const { isConnected } = useWalletAddress()\n const { handleClick, isDownloadModalOpen, closeDownloadModal, downloadModalProps } = useHangOutAction()\n\n // Intercept card clicks when not signed in → show download modal instead\n const handleCardClick = useCallback(\n (e: React.MouseEvent) => {\n if (!isConnected) {\n e.preventDefault()\n e.stopPropagation()\n handleClick(e)\n }\n },\n [isConnected, handleClick]\n )\n\n if (!isLoading && cards.length === 0) return null\n\n const cardElements = useMemo(\n () =>\n isLoading\n ? LOADING_PLACEHOLDERS.map(i => <ExploreCard key={i} loading />)\n : cards.map(card => <ExploreCard key={card.id} card={card} />),\n [isLoading, cards]\n )\n\n return (\n <ExploreContainer>\n <AnimatedBackground variant=\"absolute\" />\n <SectionTitle variant=\"h3\">{l('page.home.explore.title')}</SectionTitle>\n <CardsGrid onClickCapture={handleCardClick}>{cardElements}</CardsGrid>\n <MobileCarousel onClickCapture={handleCardClick}>\n {isLoading ? (\n <ExploreCard loading />\n ) : (\n cards.length > 0 && (\n <Carousel items={cards} renderItem={card => <ExploreCard card={card} />} keyExtractor={card => card.id} autoplayDelay={5000} />\n )\n )}\n </MobileCarousel>\n <DownloadModal open={isDownloadModalOpen} onClose={closeDownloadModal} {...downloadModalProps} />\n </ExploreContainer>\n )\n})\n\nExplore.displayName = 'Explore'\n\nexport { Explore }\n"],"names":["ExploreContainer","styled","Box","theme","SectionTitle","Typography","dclColors.neutral","JUMP_IN_HEIGHT","CardsGrid","MobileCarousel","CardWrapper","DCL_LOGO_URL","assetUrl","ExploreCard","memo","card","loading","onClickHandle","useTrackClick","profile","useGetProfileQuery","avatar","jsx","SectionViewedTrack","EventCard","jsxs","BadgeGroup","LiveBadge","UserCountBadge","LOADING_PLACEHOLDERS","Explore","l","useFormatMessage","cards","isLoading","useGetExploreDataQuery","isConnected","useWalletAddress","handleClick","isDownloadModalOpen","closeDownloadModal","downloadModalProps","useHangOutAction","handleCardClick","useCallback","e","cardElements","useMemo","i","AnimatedBackground","Carousel","DownloadModal"],"mappings":"iyBAEA,MAAMA,EAAmBC,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAC,MAAa,CACnD,MAAO,OACP,QAASA,EAAM,QAAQ,GAAI,CAAC,EAC5B,QAAS,OACT,cAAe,SACf,WAAY,SACZ,IAAKA,EAAM,QAAQ,CAAC,EACpB,SAAU,WACV,SAAU,SACV,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,QAASA,EAAM,QAAQ,EAAG,CAAC,CAAA,CAE/B,EAAE,EAEIC,EAAeH,EAAOI,CAAU,EAAE,CAAC,CAAE,MAAAF,MAAa,CACtD,MAAOG,EAAkB,MACzB,WAAY,IACZ,UAAW,SACX,SAAU,WACV,OAAQ,GACR,SAAU,GACV,CAACH,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,SAAU,EAAA,CAEd,EAAE,EAEII,EAAiB,GAEjBC,EAAYP,EAAOC,CAAG,EAAE,CAAC,CAAE,MAAAC,MAAa,CAC5C,QAAS,OACT,IAAKA,EAAM,QAAQ,CAAC,EACpB,eAAgB,SAChB,MAAO,OACP,SAAU,WACV,OAAQ,GAER,QAAS,CACP,KAAM,QACN,SAAU,EACV,SAAU,IACV,qFAAsF,CACpF,UAAW,GAAA,CACb,EAEF,kBAAmB,CACjB,cAAe,cACf,SAAU,SACV,OAAQ,6BAAA,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AM,SAAA2B,EAAE,yBAAyB,EAAE,EACzDT,EAAAA,IAACd,EAAA,CAAU,eAAgBmC,EAAkB,SAAAG,EAAa,EAC1DxB,EAAAA,IAACb,EAAA,CAAe,eAAgBkC,EAC7B,SAAAT,EACCZ,MAACT,EAAA,CAAY,QAAO,EAAA,CAAC,EAErBoB,EAAM,OAAS,GACbX,EAAAA,IAAC4B,EAAA,CAAS,MAAOjB,EAAO,WAAYlB,GAAQO,EAAAA,IAACT,EAAA,CAAY,KAAAE,CAAA,CAAY,EAAI,aAAcA,GAAQA,EAAK,GAAI,cAAe,IAAM,EAGnI,QACCoC,EAAA,CAAc,KAAMZ,EAAqB,QAASC,EAAqB,GAAGC,CAAA,CAAoB,CAAA,EACjG,CAEJ,CAAC,EAEDX,EAAQ,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e,B as r}from"./index-
|
|
1
|
+
import{j as e,B as r}from"./index-DUmIu2EK.js";import{r as t}from"./vendor-router-D_36sTKu.js";import{L as o,P as a}from"./LegalPageLayout-DeH35WpT.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 i=[],n=t.memo(()=>e.jsxs(o,{title:"Vulnerability Disclosure Procedure",activeSlug:"/security",tableOfContents:i,children:[e.jsx(a,{children:"At Decentraland, we take every measure necessary to ensure the security of the platform. If you are a security researcher and took a look at some of our code, contracts, or websites and found a vulnerability, you're eligible for a bounty for doing a responsible disclosure of that bug."}),e.jsx(r,{component:"a",href:"https://immunefi.com/bounty/decentraland/",target:"_blank",rel:"noopener noreferrer",variant:"contained",children:"Submit a report on Immunefi"})]}));n.displayName="SecurityPage";export{n as SecurityPage};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-CC8b5SLA.js","sources":["../../src/pages/security/SecurityPage.tsx"],"sourcesContent":["import { memo } from 'react'\nimport { Button } from 'decentraland-ui2'\nimport { LegalPageLayout, Paragraph } from '../../components/LegalPage'\nimport type { TOCEntry } from '../../components/LegalPage'\n\nconst TABLE_OF_CONTENTS: TOCEntry[] = []\n\nconst SecurityPage = memo(() => (\n <LegalPageLayout title=\"Vulnerability Disclosure Procedure\" activeSlug=\"/security\" tableOfContents={TABLE_OF_CONTENTS}>\n <Paragraph>\n At Decentraland, we take every measure necessary to ensure the security of the platform. If you are a security researcher and took a\n look at some of our code, contracts, or websites and found a vulnerability, you're eligible for a bounty for doing a responsible\n disclosure of that bug.\n </Paragraph>\n <Button component=\"a\" href=\"https://immunefi.com/bounty/decentraland/\" target=\"_blank\" rel=\"noopener noreferrer\" variant=\"contained\">\n Submit a report on Immunefi\n </Button>\n </LegalPageLayout>\n))\n\nSecurityPage.displayName = 'SecurityPage'\n\nexport { SecurityPage }\n"],"names":["TABLE_OF_CONTENTS","SecurityPage","memo","jsxs","LegalPageLayout","jsx","Paragraph","Button"],"mappings":"uUAKA,MAAMA,EAAgC,CAAA,EAEhCC,EAAeC,EAAAA,KAAK,IACxBC,EAAAA,KAACC,EAAA,CAAgB,MAAM,qCAAqC,WAAW,YAAY,gBAAiBJ,EAClG,SAAA,CAAAK,EAAAA,IAACC,GAAU,SAAA,+RAAA,CAIX,EACAD,EAAAA,IAACE,EAAA,CAAO,UAAU,IAAI,KAAK,4CAA4C,OAAO,SAAS,IAAI,sBAAsB,QAAQ,YAAY,SAAA,6BAAA,CAErI,CAAA,EACF,CACD,EAEDN,EAAa,YAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.umd-a4NuNlT_.js","assets/vendor-router-D_36sTKu.js","assets/vendor-sentry-BSvWNK4f.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{o as e}from"./index-
|
|
2
|
+
import{o as e}from"./index-DUmIu2EK.js";import{_ as n,a}from"./vendor-intl-D2lXWsDp.js";import"./vendor-router-D_36sTKu.js";import"./vendor-sentry-BSvWNK4f.js";import"./vendor-crypto-uuuQA3i5.js";import"./vendor-schemas-DJzTSxpO.js";import"./vendor-ua-D7qqAxdq.js";function d(i){return n(this,void 0,void 0,function(){var r;return a(this,function(t){switch(t.label){case 0:return[4,e(()=>import("./index.umd-a4NuNlT_.js").then(o=>o.i),__vite__mapDeps([0,1,2]))];case 1:return r=t.sent(),i._plugins=r,[2]}})})}export{d as loadLegacyVideoPlugins};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"mappings":";yQACO,SAASA,EAAuBC,EAAW,CAC9C,OAAOC,EAAU,KAAM,OAAQ,OAAQ,UAAY,CAC/C,IAAIC,EACJ,OAAOC,EAAY,KAAM,SAAUC,EAAI,CACnC,OAAQA,EAAG,MAAK,CACZ,IAAK,GAAG,MAAO,CAAC,EAAYC,EAAA,IAAC,OAEzB,yBAAuD,OAAAC,KAAA,4BAI3E,EACgB,IAAK,GACD,OAAAJ,EAAUE,EAAG,KAAI,EAIjBJ,EAAU,SAAWE,EACd,CAAC,CAAC,CAC7B,CACQ,CAAC,CACL,CAAC,CACL","names":["loadLegacyVideoPlugins","analytics","__awaiter","plugins","__generator","_a","__vitePreload","n"],"ignoreList":[0],"sources":["../../node_modules/@segment/analytics-next/dist/pkg/plugins/legacy-video-plugins/index.js"],"sourcesContent":["import { __awaiter, __generator } from \"tslib\";\nexport function loadLegacyVideoPlugins(analytics) {\n return __awaiter(this, void 0, void 0, function () {\n var plugins;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import(\n // @ts-expect-error\n '@segment/analytics.js-video-plugins/dist/index.umd.js')\n // This is super gross, but we need to support the `window.analytics.plugins` namespace\n // that is linked in the segment docs in order to be backwards compatible with ajs-classic\n // @ts-expect-error\n ];\n case 1:\n plugins = _a.sent();\n // This is super gross, but we need to support the `window.analytics.plugins` namespace\n // that is linked in the segment docs in order to be backwards compatible with ajs-classic\n // @ts-expect-error\n analytics._plugins = plugins;\n return [2 /*return*/];\n }\n });\n });\n}\n//# sourceMappingURL=index.js.map"],"file":"assets/index-
|
|
1
|
+
{"version":3,"mappings":";yQACO,SAASA,EAAuBC,EAAW,CAC9C,OAAOC,EAAU,KAAM,OAAQ,OAAQ,UAAY,CAC/C,IAAIC,EACJ,OAAOC,EAAY,KAAM,SAAUC,EAAI,CACnC,OAAQA,EAAG,MAAK,CACZ,IAAK,GAAG,MAAO,CAAC,EAAYC,EAAA,IAAC,OAEzB,yBAAuD,OAAAC,KAAA,4BAI3E,EACgB,IAAK,GACD,OAAAJ,EAAUE,EAAG,KAAI,EAIjBJ,EAAU,SAAWE,EACd,CAAC,CAAC,CAC7B,CACQ,CAAC,CACL,CAAC,CACL","names":["loadLegacyVideoPlugins","analytics","__awaiter","plugins","__generator","_a","__vitePreload","n"],"ignoreList":[0],"sources":["../../node_modules/@segment/analytics-next/dist/pkg/plugins/legacy-video-plugins/index.js"],"sourcesContent":["import { __awaiter, __generator } from \"tslib\";\nexport function loadLegacyVideoPlugins(analytics) {\n return __awaiter(this, void 0, void 0, function () {\n var plugins;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import(\n // @ts-expect-error\n '@segment/analytics.js-video-plugins/dist/index.umd.js')\n // This is super gross, but we need to support the `window.analytics.plugins` namespace\n // that is linked in the segment docs in order to be backwards compatible with ajs-classic\n // @ts-expect-error\n ];\n case 1:\n plugins = _a.sent();\n // This is super gross, but we need to support the `window.analytics.plugins` namespace\n // that is linked in the segment docs in order to be backwards compatible with ajs-classic\n // @ts-expect-error\n analytics._plugins = plugins;\n return [2 /*return*/];\n }\n });\n });\n}\n//# sourceMappingURL=index.js.map"],"file":"assets/index-CJ9b6HdV.js"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{s as e,a as o,v as s,w as b,j as n}from"./index-
|
|
1
|
+
import{s as e,a as o,v as s,w as b,j as n}from"./index-DUmIu2EK.js";import{r}from"./vendor-router-D_36sTKu.js";import{C as $}from"./CircleAndArrow-DIeWRbH9.js";import{f as w}from"./index-XwRFjo-F.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-Dp_zMaiv.js";import"./file-Cr_gl9BS.js";import"./url-BHzlJYXC.js";import"./index-BaEE4ZXP.js";import"./useLatestGithubRelease-lPlpQBOj.js";import"./CTAButton-D8_9d6Wu.js";import"./CircularProgress-AsNM1BvH.js";import"./Video--A0fBGqz.js";const k=e("section")(({theme:t})=>({width:"100%",position:"relative",margin:"auto",color:t.palette.text.primary,padding:`${t.spacing(10)} ${t.spacing(20)}`,[t.breakpoints.down("sm")]:{padding:`${t.spacing(6)} ${t.spacing(4)} ${t.spacing(10)}`}})),h=e(o)(({theme:t})=>({background:`
|
|
2
2
|
linear-gradient(to right, ${t.palette.text.primary} 4px, transparent 4px) 0 0,
|
|
3
3
|
linear-gradient(to right, ${t.palette.text.primary} 4px, transparent 4px) 0 100%,
|
|
4
4
|
linear-gradient(to left, ${t.palette.text.primary} 4px, transparent 4px) 100% 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index--KeAUoz4.js","sources":["../../src/components/Create/Faqs/Faqs.styled.ts","../../src/components/Create/Faqs/Faqs.tsx"],"sourcesContent":["import { Box, Typography, styled } from 'decentraland-ui2'\n\nconst FaqsSection = styled('section')(({ theme }) => ({\n width: '100%',\n position: 'relative',\n margin: 'auto',\n color: theme.palette.text.primary,\n padding: `${theme.spacing(10)} ${theme.spacing(20)}`,\n [theme.breakpoints.down('sm')]: {\n padding: `${theme.spacing(6)} ${theme.spacing(4)} ${theme.spacing(10)}`\n }\n}))\n\nconst FaqsInnerBorder = styled(Box)(({ theme }) => ({\n background: `\n linear-gradient(to right, ${theme.palette.text.primary} 4px, transparent 4px) 0 0,\n linear-gradient(to right, ${theme.palette.text.primary} 4px, transparent 4px) 0 100%,\n linear-gradient(to left, ${theme.palette.text.primary} 4px, transparent 4px) 100% 0,\n linear-gradient(to left, ${theme.palette.text.primary} 4px, transparent 4px) 100% 100%,\n linear-gradient(to bottom, ${theme.palette.text.primary} 4px, transparent 4px) 0 0,\n linear-gradient(to bottom, ${theme.palette.text.primary} 4px, transparent 4px) 100% 0,\n linear-gradient(to top, ${theme.palette.text.primary} 4px, transparent 4px) 0 100%,\n linear-gradient(to top, ${theme.palette.text.primary} 4px, transparent 4px) 100% 100%\n `,\n backgroundRepeat: 'no-repeat',\n backgroundSize: '20px 20px',\n [theme.breakpoints.down('sm')]: {\n background: `\n linear-gradient(to right, ${theme.palette.text.primary} 2px, transparent 2px) 0 0,\n linear-gradient(to right, ${theme.palette.text.primary} 2px, transparent 2px) 0 100%,\n linear-gradient(to left, ${theme.palette.text.primary} 2px, transparent 2px) 100% 0,\n linear-gradient(to left, ${theme.palette.text.primary} 2px, transparent 2px) 100% 100%,\n linear-gradient(to bottom, ${theme.palette.text.primary} 2px, transparent 2px) 0 0,\n linear-gradient(to bottom, ${theme.palette.text.primary} 2px, transparent 2px) 100% 0,\n linear-gradient(to top, ${theme.palette.text.primary} 2px, transparent 2px) 0 100%,\n linear-gradient(to top, ${theme.palette.text.primary} 2px, transparent 2px) 100% 100%\n `,\n backgroundRepeat: 'no-repeat',\n backgroundSize: '10px 10px'\n }\n}))\n\nconst FaqsContainer = styled(Box)(({ theme }) => ({\n margin: 'auto',\n width: '100%',\n maxWidth: 1000,\n padding: `${theme.spacing(8)} 0 ${theme.spacing(10)}`,\n display: 'flex',\n flexDirection: 'column',\n [theme.breakpoints.down('sm')]: {\n padding: `${theme.spacing(6)} 0 ${theme.spacing(8)}`\n }\n}))\n\nconst FaqsSubtitle = styled(Typography)(({ theme }) => ({\n textAlign: 'center',\n fontSize: theme.typography.body2.fontSize,\n lineHeight: '19px',\n fontWeight: 600,\n color: theme.palette.text.secondary,\n textTransform: 'uppercase',\n padding: 0,\n margin: 0\n}))\n\nconst FaqsTitle = styled(Typography)(({ theme }) => ({\n textAlign: 'center',\n fontSize: 60,\n lineHeight: '72px',\n fontWeight: 700,\n letterSpacing: '-0.01em',\n paddingBottom: '0.5em',\n [theme.breakpoints.down('sm')]: {\n fontWeight: 700,\n fontSize: 36,\n lineHeight: '36px',\n textAlign: 'center',\n letterSpacing: '-0.01em'\n }\n}))\n\n/* eslint-disable @typescript-eslint/naming-convention */\nconst FaqAccordionItem = styled(Box, {\n shouldForwardProp: prop => prop !== 'isOpen'\n})<{ isOpen: boolean }>(({ theme }) => ({\n width: '100%',\n display: 'flex',\n flexDirection: 'column',\n borderRadius: 32,\n padding: `${theme.spacing(1.5)} ${theme.spacing(4)}`,\n position: 'relative',\n overflow: 'hidden',\n zIndex: 1,\n backgroundColor: '#242129',\n marginBottom: theme.spacing(1.5),\n cursor: 'pointer',\n outline: 'none',\n '&::after': {\n width: '100%',\n height: '100%',\n content: '\" \"',\n position: 'absolute',\n top: 0,\n left: 0,\n background: 'linear-gradient(90deg, #43404a 0%, #691fa9 100%), #242129',\n zIndex: -1,\n opacity: 0,\n transition: 'opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1)'\n },\n '&:hover::after': {\n opacity: 1\n },\n ['&:focus-visible']: {\n outline: `2px solid ${theme.palette.primary.main}`,\n outlineOffset: 2\n },\n '& svg.open, & svg.close': {\n width: 40,\n height: 40,\n minWidth: 40,\n minHeight: 40,\n transition: 'transform 350ms cubic-bezier(0.16, 1, 0.3, 1)'\n },\n '& svg.open': {\n transform: 'rotate(180deg)'\n },\n [theme.breakpoints.down('xs')]: {\n padding: `${theme.spacing(2)} ${theme.spacing(3)}`,\n marginBottom: theme.spacing(1),\n borderRadius: 24,\n '& svg.close, & svg.open': {\n width: 36,\n height: 36,\n minWidth: 36,\n minHeight: 36\n }\n }\n}))\n/* eslint-enable @typescript-eslint/naming-convention */\n\nconst FaqQuestionRow = styled(Box)({\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center'\n})\n\nconst FaqQuestionText = styled(Typography)(({ theme }) => ({\n fontWeight: 300,\n fontSize: 28,\n lineHeight: '28px',\n letterSpacing: '-0.011em',\n color: theme.palette.text.secondary,\n margin: 0,\n [theme.breakpoints.down('sm')]: {\n fontWeight: 300,\n fontSize: theme.typography.body1.fontSize,\n lineHeight: '28px',\n letterSpacing: '-0.01em'\n }\n}))\n\nconst FaqAnswerContainer = styled(Box, {\n shouldForwardProp: prop => prop !== 'isOpen'\n})<{ isOpen: boolean }>(({ isOpen }) => ({\n display: 'grid',\n gridTemplateRows: isOpen ? '1fr' : '0fr',\n opacity: isOpen ? 1 : 0,\n marginTop: isOpen ? '8px' : 0,\n transition:\n 'grid-template-rows 350ms cubic-bezier(0.16, 1, 0.3, 1), opacity 350ms cubic-bezier(0.16, 1, 0.3, 1), margin-top 350ms cubic-bezier(0.16, 1, 0.3, 1)'\n}))\n\nconst FaqAnswerText = styled(Typography)(({ theme }) => ({\n overflow: 'hidden',\n minHeight: 0,\n padding: 0,\n fontWeight: 400,\n fontSize: theme.typography.body1.fontSize,\n lineHeight: '165%',\n whiteSpace: 'pre-line',\n color: theme.palette.text.primary\n}))\n\nconst FaqsCta = styled('a')(({ theme }) => ({\n marginTop: theme.spacing(5),\n width: 'fit-content',\n alignSelf: 'center',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n padding: `${theme.spacing(3)} ${theme.spacing(8)}`,\n borderRadius: theme.shape.borderRadius,\n border: `1px solid ${theme.palette.text.primary}`,\n color: theme.palette.text.primary,\n textDecoration: 'none',\n fontSize: 15,\n fontWeight: 600,\n textTransform: 'uppercase',\n cursor: 'pointer',\n transition: 'background-color 200ms ease',\n ['&:hover']: {\n backgroundColor: theme.palette.action.hover\n },\n ['&:focus-visible']: {\n outline: `2px solid ${theme.palette.primary.main}`,\n outlineOffset: 2\n },\n [theme.breakpoints.down('xs')]: {\n width: '100%'\n }\n}))\n\nexport {\n FaqAccordionItem,\n FaqAnswerContainer,\n FaqAnswerText,\n FaqQuestionRow,\n FaqQuestionText,\n FaqsContainer,\n FaqsCta,\n FaqsInnerBorder,\n FaqsSection,\n FaqsSubtitle,\n FaqsTitle\n}\n","import { type KeyboardEvent, memo, useCallback, useRef, useState } from 'react'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { CircleAndArrow } from '../../Icon/CircleAndArrow'\nimport { faqItems } from '../data'\nimport {\n FaqAccordionItem,\n FaqAnswerContainer,\n FaqAnswerText,\n FaqQuestionRow,\n FaqQuestionText,\n FaqsContainer,\n FaqsCta,\n FaqsInnerBorder,\n FaqsSection,\n FaqsSubtitle,\n FaqsTitle\n} from './Faqs.styled'\n\ntype FaqAccordionProps = {\n title: string\n children: React.ReactNode\n index: number\n expanded: number | false\n setExpanded: (value: number | false) => void\n}\n\nconst FaqAccordion = memo((props: FaqAccordionProps) => {\n const { title, children, index, expanded, setExpanded } = props\n const isOpen = index === expanded\n const contentRef = useRef<HTMLDivElement>(null)\n const questionId = `create-faq-question-${index}`\n const answerId = `create-faq-answer-${index}`\n\n const handleToggle = useCallback(() => {\n setExpanded(isOpen ? false : index)\n }, [isOpen, index, setExpanded])\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault()\n handleToggle()\n }\n },\n [handleToggle]\n )\n\n return (\n <FaqAccordionItem\n isOpen={isOpen}\n onClick={handleToggle}\n onKeyDown={handleKeyDown}\n role=\"button\"\n aria-expanded={isOpen}\n aria-controls={answerId}\n tabIndex={0}\n >\n <FaqQuestionRow>\n <FaqQuestionText id={questionId}>{title}</FaqQuestionText>\n <CircleAndArrow isOpen={isOpen} aria-hidden=\"true\" />\n </FaqQuestionRow>\n <FaqAnswerContainer ref={contentRef} id={answerId} role=\"region\" aria-labelledby={questionId} aria-hidden={!isOpen} isOpen={isOpen}>\n <FaqAnswerText>{children}</FaqAnswerText>\n </FaqAnswerContainer>\n </FaqAccordionItem>\n )\n})\n\nconst CreatorsFaqs = memo(() => {\n const l = useFormatMessage()\n const [expanded, setExpanded] = useState<number | false>(false)\n\n return (\n <FaqsSection aria-label=\"Frequently Asked Questions\">\n <FaqsInnerBorder>\n <FaqsContainer>\n <FaqsSubtitle>{l('component.landing.faqs.subtitle')}</FaqsSubtitle>\n <FaqsTitle {...({ component: 'h2' } as Record<string, unknown>)}>{l('component.landing.faqs.title')}</FaqsTitle>\n {faqItems.map((faq, index) => (\n <FaqAccordion key={index} title={faq.question} index={index} expanded={expanded} setExpanded={setExpanded}>\n {faq.answer}\n </FaqAccordion>\n ))}\n <FaqsCta href={l('component.landing.faqs.cta.link')}>{l('component.landing.faqs.cta.label')}</FaqsCta>\n </FaqsContainer>\n </FaqsInnerBorder>\n </FaqsSection>\n )\n})\n\nexport { CreatorsFaqs }\n"],"names":["FaqsSection","styled","theme","FaqsInnerBorder","Box","FaqsContainer","FaqsSubtitle","Typography","FaqsTitle","FaqAccordionItem","prop","FaqQuestionRow","FaqQuestionText","FaqAnswerContainer","isOpen","FaqAnswerText","FaqsCta","FaqAccordion","memo","props","title","children","index","expanded","setExpanded","contentRef","useRef","questionId","answerId","handleToggle","useCallback","handleKeyDown","event","jsxs","jsx","CircleAndArrow","CreatorsFaqs","l","useFormatMessage","useState","faqItems","faq"],"mappings":"ooBAEA,MAAMA,EAAcC,EAAO,SAAS,EAAE,CAAC,CAAE,MAAAC,MAAa,CACpD,MAAO,OACP,SAAU,WACV,OAAQ,OACR,MAAOA,EAAM,QAAQ,KAAK,QAC1B,QAAS,GAAGA,EAAM,QAAQ,EAAE,CAAC,IAAIA,EAAM,QAAQ,EAAE,CAAC,GAClD,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,QAAS,GAAGA,EAAM,QAAQ,CAAC,CAAC,IAAIA,EAAM,QAAQ,CAAC,CAAC,IAAIA,EAAM,QAAQ,EAAE,CAAC,EA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AA,IAACnB,EAAA,CAAe,SAAAM,EAAS,CAAA,CAC3B,CAAA,CAAA,CAAA,CAGN,CAAC,EAEKe,EAAelB,EAAAA,KAAK,IAAM,CAC9B,MAAMmB,EAAIC,EAAA,EACJ,CAACf,EAAUC,CAAW,EAAIe,EAAAA,SAAyB,EAAK,EAE9D,aACGvC,EAAA,CAAY,aAAW,6BACtB,SAAAkC,MAAC/B,EAAA,CACC,gBAACE,EAAA,CACC,SAAA,CAAA6B,EAAAA,IAAC5B,EAAA,CAAc,SAAA+B,EAAE,iCAAiC,CAAA,CAAE,EACpDH,MAAC1B,GAAiB,UAAW,KAAqC,SAAA6B,EAAE,8BAA8B,EAAE,EACnGG,EAAS,IAAI,CAACC,EAAKnB,UACjBL,EAAA,CAAyB,MAAOwB,EAAI,SAAU,MAAAnB,EAAc,SAAAC,EAAoB,YAAAC,EAC9E,SAAAiB,EAAI,MAAA,EADYnB,CAEnB,CACD,EACDY,MAAClB,GAAQ,KAAMqB,EAAE,iCAAiC,EAAI,SAAAA,EAAE,kCAAkC,CAAA,CAAE,CAAA,CAAA,CAC9F,EACF,EACF,CAEJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index-CXMTgMUj.js","sources":["../../src/components/Create/Faqs/Faqs.styled.ts","../../src/components/Create/Faqs/Faqs.tsx"],"sourcesContent":["import { Box, Typography, styled } from 'decentraland-ui2'\n\nconst FaqsSection = styled('section')(({ theme }) => ({\n width: '100%',\n position: 'relative',\n margin: 'auto',\n color: theme.palette.text.primary,\n padding: `${theme.spacing(10)} ${theme.spacing(20)}`,\n [theme.breakpoints.down('sm')]: {\n padding: `${theme.spacing(6)} ${theme.spacing(4)} ${theme.spacing(10)}`\n }\n}))\n\nconst FaqsInnerBorder = styled(Box)(({ theme }) => ({\n background: `\n linear-gradient(to right, ${theme.palette.text.primary} 4px, transparent 4px) 0 0,\n linear-gradient(to right, ${theme.palette.text.primary} 4px, transparent 4px) 0 100%,\n linear-gradient(to left, ${theme.palette.text.primary} 4px, transparent 4px) 100% 0,\n linear-gradient(to left, ${theme.palette.text.primary} 4px, transparent 4px) 100% 100%,\n linear-gradient(to bottom, ${theme.palette.text.primary} 4px, transparent 4px) 0 0,\n linear-gradient(to bottom, ${theme.palette.text.primary} 4px, transparent 4px) 100% 0,\n linear-gradient(to top, ${theme.palette.text.primary} 4px, transparent 4px) 0 100%,\n linear-gradient(to top, ${theme.palette.text.primary} 4px, transparent 4px) 100% 100%\n `,\n backgroundRepeat: 'no-repeat',\n backgroundSize: '20px 20px',\n [theme.breakpoints.down('sm')]: {\n background: `\n linear-gradient(to right, ${theme.palette.text.primary} 2px, transparent 2px) 0 0,\n linear-gradient(to right, ${theme.palette.text.primary} 2px, transparent 2px) 0 100%,\n linear-gradient(to left, ${theme.palette.text.primary} 2px, transparent 2px) 100% 0,\n linear-gradient(to left, ${theme.palette.text.primary} 2px, transparent 2px) 100% 100%,\n linear-gradient(to bottom, ${theme.palette.text.primary} 2px, transparent 2px) 0 0,\n linear-gradient(to bottom, ${theme.palette.text.primary} 2px, transparent 2px) 100% 0,\n linear-gradient(to top, ${theme.palette.text.primary} 2px, transparent 2px) 0 100%,\n linear-gradient(to top, ${theme.palette.text.primary} 2px, transparent 2px) 100% 100%\n `,\n backgroundRepeat: 'no-repeat',\n backgroundSize: '10px 10px'\n }\n}))\n\nconst FaqsContainer = styled(Box)(({ theme }) => ({\n margin: 'auto',\n width: '100%',\n maxWidth: 1000,\n padding: `${theme.spacing(8)} 0 ${theme.spacing(10)}`,\n display: 'flex',\n flexDirection: 'column',\n [theme.breakpoints.down('sm')]: {\n padding: `${theme.spacing(6)} 0 ${theme.spacing(8)}`\n }\n}))\n\nconst FaqsSubtitle = styled(Typography)(({ theme }) => ({\n textAlign: 'center',\n fontSize: theme.typography.body2.fontSize,\n lineHeight: '19px',\n fontWeight: 600,\n color: theme.palette.text.secondary,\n textTransform: 'uppercase',\n padding: 0,\n margin: 0\n}))\n\nconst FaqsTitle = styled(Typography)(({ theme }) => ({\n textAlign: 'center',\n fontSize: 60,\n lineHeight: '72px',\n fontWeight: 700,\n letterSpacing: '-0.01em',\n paddingBottom: '0.5em',\n [theme.breakpoints.down('sm')]: {\n fontWeight: 700,\n fontSize: 36,\n lineHeight: '36px',\n textAlign: 'center',\n letterSpacing: '-0.01em'\n }\n}))\n\n/* eslint-disable @typescript-eslint/naming-convention */\nconst FaqAccordionItem = styled(Box, {\n shouldForwardProp: prop => prop !== 'isOpen'\n})<{ isOpen: boolean }>(({ theme }) => ({\n width: '100%',\n display: 'flex',\n flexDirection: 'column',\n borderRadius: 32,\n padding: `${theme.spacing(1.5)} ${theme.spacing(4)}`,\n position: 'relative',\n overflow: 'hidden',\n zIndex: 1,\n backgroundColor: '#242129',\n marginBottom: theme.spacing(1.5),\n cursor: 'pointer',\n outline: 'none',\n '&::after': {\n width: '100%',\n height: '100%',\n content: '\" \"',\n position: 'absolute',\n top: 0,\n left: 0,\n background: 'linear-gradient(90deg, #43404a 0%, #691fa9 100%), #242129',\n zIndex: -1,\n opacity: 0,\n transition: 'opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1)'\n },\n '&:hover::after': {\n opacity: 1\n },\n ['&:focus-visible']: {\n outline: `2px solid ${theme.palette.primary.main}`,\n outlineOffset: 2\n },\n '& svg.open, & svg.close': {\n width: 40,\n height: 40,\n minWidth: 40,\n minHeight: 40,\n transition: 'transform 350ms cubic-bezier(0.16, 1, 0.3, 1)'\n },\n '& svg.open': {\n transform: 'rotate(180deg)'\n },\n [theme.breakpoints.down('xs')]: {\n padding: `${theme.spacing(2)} ${theme.spacing(3)}`,\n marginBottom: theme.spacing(1),\n borderRadius: 24,\n '& svg.close, & svg.open': {\n width: 36,\n height: 36,\n minWidth: 36,\n minHeight: 36\n }\n }\n}))\n/* eslint-enable @typescript-eslint/naming-convention */\n\nconst FaqQuestionRow = styled(Box)({\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center'\n})\n\nconst FaqQuestionText = styled(Typography)(({ theme }) => ({\n fontWeight: 300,\n fontSize: 28,\n lineHeight: '28px',\n letterSpacing: '-0.011em',\n color: theme.palette.text.secondary,\n margin: 0,\n [theme.breakpoints.down('sm')]: {\n fontWeight: 300,\n fontSize: theme.typography.body1.fontSize,\n lineHeight: '28px',\n letterSpacing: '-0.01em'\n }\n}))\n\nconst FaqAnswerContainer = styled(Box, {\n shouldForwardProp: prop => prop !== 'isOpen'\n})<{ isOpen: boolean }>(({ isOpen }) => ({\n display: 'grid',\n gridTemplateRows: isOpen ? '1fr' : '0fr',\n opacity: isOpen ? 1 : 0,\n marginTop: isOpen ? '8px' : 0,\n transition:\n 'grid-template-rows 350ms cubic-bezier(0.16, 1, 0.3, 1), opacity 350ms cubic-bezier(0.16, 1, 0.3, 1), margin-top 350ms cubic-bezier(0.16, 1, 0.3, 1)'\n}))\n\nconst FaqAnswerText = styled(Typography)(({ theme }) => ({\n overflow: 'hidden',\n minHeight: 0,\n padding: 0,\n fontWeight: 400,\n fontSize: theme.typography.body1.fontSize,\n lineHeight: '165%',\n whiteSpace: 'pre-line',\n color: theme.palette.text.primary\n}))\n\nconst FaqsCta = styled('a')(({ theme }) => ({\n marginTop: theme.spacing(5),\n width: 'fit-content',\n alignSelf: 'center',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n padding: `${theme.spacing(3)} ${theme.spacing(8)}`,\n borderRadius: theme.shape.borderRadius,\n border: `1px solid ${theme.palette.text.primary}`,\n color: theme.palette.text.primary,\n textDecoration: 'none',\n fontSize: 15,\n fontWeight: 600,\n textTransform: 'uppercase',\n cursor: 'pointer',\n transition: 'background-color 200ms ease',\n ['&:hover']: {\n backgroundColor: theme.palette.action.hover\n },\n ['&:focus-visible']: {\n outline: `2px solid ${theme.palette.primary.main}`,\n outlineOffset: 2\n },\n [theme.breakpoints.down('xs')]: {\n width: '100%'\n }\n}))\n\nexport {\n FaqAccordionItem,\n FaqAnswerContainer,\n FaqAnswerText,\n FaqQuestionRow,\n FaqQuestionText,\n FaqsContainer,\n FaqsCta,\n FaqsInnerBorder,\n FaqsSection,\n FaqsSubtitle,\n FaqsTitle\n}\n","import { type KeyboardEvent, memo, useCallback, useRef, useState } from 'react'\nimport { useFormatMessage } from '../../../hooks/adapters/useFormatMessage'\nimport { CircleAndArrow } from '../../Icon/CircleAndArrow'\nimport { faqItems } from '../data'\nimport {\n FaqAccordionItem,\n FaqAnswerContainer,\n FaqAnswerText,\n FaqQuestionRow,\n FaqQuestionText,\n FaqsContainer,\n FaqsCta,\n FaqsInnerBorder,\n FaqsSection,\n FaqsSubtitle,\n FaqsTitle\n} from './Faqs.styled'\n\ntype FaqAccordionProps = {\n title: string\n children: React.ReactNode\n index: number\n expanded: number | false\n setExpanded: (value: number | false) => void\n}\n\nconst FaqAccordion = memo((props: FaqAccordionProps) => {\n const { title, children, index, expanded, setExpanded } = props\n const isOpen = index === expanded\n const contentRef = useRef<HTMLDivElement>(null)\n const questionId = `create-faq-question-${index}`\n const answerId = `create-faq-answer-${index}`\n\n const handleToggle = useCallback(() => {\n setExpanded(isOpen ? false : index)\n }, [isOpen, index, setExpanded])\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault()\n handleToggle()\n }\n },\n [handleToggle]\n )\n\n return (\n <FaqAccordionItem\n isOpen={isOpen}\n onClick={handleToggle}\n onKeyDown={handleKeyDown}\n role=\"button\"\n aria-expanded={isOpen}\n aria-controls={answerId}\n tabIndex={0}\n >\n <FaqQuestionRow>\n <FaqQuestionText id={questionId}>{title}</FaqQuestionText>\n <CircleAndArrow isOpen={isOpen} aria-hidden=\"true\" />\n </FaqQuestionRow>\n <FaqAnswerContainer ref={contentRef} id={answerId} role=\"region\" aria-labelledby={questionId} aria-hidden={!isOpen} isOpen={isOpen}>\n <FaqAnswerText>{children}</FaqAnswerText>\n </FaqAnswerContainer>\n </FaqAccordionItem>\n )\n})\n\nconst CreatorsFaqs = memo(() => {\n const l = useFormatMessage()\n const [expanded, setExpanded] = useState<number | false>(false)\n\n return (\n <FaqsSection aria-label=\"Frequently Asked Questions\">\n <FaqsInnerBorder>\n <FaqsContainer>\n <FaqsSubtitle>{l('component.landing.faqs.subtitle')}</FaqsSubtitle>\n <FaqsTitle {...({ component: 'h2' } as Record<string, unknown>)}>{l('component.landing.faqs.title')}</FaqsTitle>\n {faqItems.map((faq, index) => (\n <FaqAccordion key={index} title={faq.question} index={index} expanded={expanded} setExpanded={setExpanded}>\n {faq.answer}\n </FaqAccordion>\n ))}\n <FaqsCta href={l('component.landing.faqs.cta.link')}>{l('component.landing.faqs.cta.label')}</FaqsCta>\n </FaqsContainer>\n </FaqsInnerBorder>\n </FaqsSection>\n )\n})\n\nexport { CreatorsFaqs }\n"],"names":["FaqsSection","styled","theme","FaqsInnerBorder","Box","FaqsContainer","FaqsSubtitle","Typography","FaqsTitle","FaqAccordionItem","prop","FaqQuestionRow","FaqQuestionText","FaqAnswerContainer","isOpen","FaqAnswerText","FaqsCta","FaqAccordion","memo","props","title","children","index","expanded","setExpanded","contentRef","useRef","questionId","answerId","handleToggle","useCallback","handleKeyDown","event","jsxs","jsx","CircleAndArrow","CreatorsFaqs","l","useFormatMessage","useState","faqItems","faq"],"mappings":"ooBAEA,MAAMA,EAAcC,EAAO,SAAS,EAAE,CAAC,CAAE,MAAAC,MAAa,CACpD,MAAO,OACP,SAAU,WACV,OAAQ,OACR,MAAOA,EAAM,QAAQ,KAAK,QAC1B,QAAS,GAAGA,EAAM,QAAQ,EAAE,CAAC,IAAIA,EAAM,QAAQ,EAAE,CAAC,GAClD,CAACA,EAAM,YAAY,KAAK,IAAI,CAAC,EAAG,CAC9B,QAAS,GAAGA,EAAM,QAAQ,CAAC,CAAC,IAAIA,EAAM,QAAQ,CAAC,CAAC,IAAIA,EAAM,QAAQ,EAAE,CAAC,EAAA,CAEzE,EAAE,EAEIC,EAAkBF,EAAOG,CAAG,EAAE,CAAC,CAAE,MAAAF,MAAa,CAClD,WAAY;AAAA,gCACk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,KAAK,IAAM,CAC9B,MAAMmB,EAAIC,EAAA,EACJ,CAACf,EAAUC,CAAW,EAAIe,EAAAA,SAAyB,EAAK,EAE9D,aACGvC,EAAA,CAAY,aAAW,6BACtB,SAAAkC,MAAC/B,EAAA,CACC,gBAACE,EAAA,CACC,SAAA,CAAA6B,EAAAA,IAAC5B,EAAA,CAAc,SAAA+B,EAAE,iCAAiC,CAAA,CAAE,EACpDH,MAAC1B,GAAiB,UAAW,KAAqC,SAAA6B,EAAE,8BAA8B,EAAE,EACnGG,EAAS,IAAI,CAACC,EAAKnB,UACjBL,EAAA,CAAyB,MAAOwB,EAAI,SAAU,MAAAnB,EAAc,SAAAC,EAAoB,YAAAC,EAC9E,SAAAiB,EAAI,MAAA,EADYnB,CAEnB,CACD,EACDY,MAAClB,GAAQ,KAAMqB,EAAE,iCAAiC,EAAI,SAAAA,EAAE,kCAAkC,CAAA,CAAE,CAAA,CAAA,CAC9F,EACF,EACF,CAEJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./index-
|
|
1
|
+
import{j as e}from"./index-DUmIu2EK.js";import{r}from"./vendor-router-D_36sTKu.js";import{L as s,P as a,S as n,a as t}from"./LegalPageLayout-DeH35WpT.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 o=[{id:"allowable-usage",label:"1. Allowable Usage"},{id:"logo-and-name-ownership",label:"2. Logo and name ownership"},{id:"wearables-and-user-names",label:"3. Wearables and user names in Decentraland"},{id:"nfts-and-other-uses",label:"4. NFTs and other uses outside the Decentraland platform"},{id:"disclaimer",label:"5. Disclaimer"},{id:"press-releases",label:"6. Press Releases"},{id:"advertisements",label:"7. Advertisements"},{id:"the-name-decentraland",label:'8. The Name "Decentraland"'},{id:"the-logo-decentraland",label:'9. The Logo "Decentraland"'},{id:"additional-rules",label:"10. Additional Rules"}],l=r.memo(()=>e.jsxs(s,{title:"Terms of Use for Decentraland's Logo and Name",activeSlug:"/brand",tableOfContents:o,children:[e.jsx(a,{children:"Decentraland is a decentralized virtual world governed by its users and as such strongly supports user generated content (UGC). People may use the Decentraland logo and name in their creations within Decentraland, but must follow the following terms."}),e.jsxs(n,{id:"allowable-usage",children:[e.jsx(t,{children:"1. Allowable Usage"}),e.jsxs(a,{children:["Users shall comply with these terms as well as Decentraland's"," ",e.jsx("a",{href:"https://decentraland.org/terms/",target:"_blank",rel:"noopener noreferrer",children:"Terms of Use"})," ","and"," ",e.jsx("a",{href:"https://decentraland.org/content/",target:"_blank",rel:"noopener noreferrer",children:"Content Policy"})," ","in order to be allowed to use the Decentraland name and logo within Decentraland."]})]}),e.jsxs(n,{id:"logo-and-name-ownership",children:[e.jsx(t,{children:"2. Logo and name ownership"}),e.jsx(a,{children:"The Decentraland Foundation is the registered owner of the Decentraland name and logo, acting for the benefit of the DAO. This is because currently the DAO lacks formal legal status."})]}),e.jsxs(n,{id:"wearables-and-user-names",children:[e.jsx(t,{children:"3. Wearables and user names in Decentraland"}),e.jsx(a,{children:"Users may create wearables and names using the Decentraland logo and name on the Decentraland platform, provided that they don't violate the platform's Content Policy and Terms of Use. As far as the Decentraland Foundation is concerned, you are not prevented from monetizing or obtaining profits from the sale of said wearables or user names. The NFT must be unique in design."}),e.jsx(a,{children:"The Decentraland Foundation has the right to deny the use of the Decentraland name and logo at its sole discretion in any case and at any time."})]}),e.jsxs(n,{id:"nfts-and-other-uses",children:[e.jsx(t,{children:"4. NFTs and other uses outside the Decentraland platform"}),e.jsx(a,{children:"The Decentraland Foundation does not authorize the creation of NFTs using the Decentraland name or logo outside the Decentraland platform. The use of the Decentraland name or logo is not allowed in other virtual platforms different from Decentraland or in the real world."})]}),e.jsxs(n,{id:"disclaimer",children:[e.jsx(t,{children:"5. Disclaimer"}),e.jsx(a,{children:"In all written materials relating to your product, including websites, publications, etc. it must be made clear that you do not have any kind of affiliation, business partnerships or other official association with Decentraland, the DAO or the Decentraland Foundation."})]}),e.jsxs(n,{id:"press-releases",children:[e.jsx(t,{children:"6. Press Releases"}),e.jsx(a,{children:"Any press releases that you distribute through social networks, media or news services should clearly state that you do not have any kind of affiliation, business partnerships or other official association with Decentraland, the DAO or the Decentraland Foundation."})]}),e.jsxs(n,{id:"advertisements",children:[e.jsx(t,{children:"7. Advertisements"}),e.jsxs(a,{children:["Any paid advertisement that uses the Decentraland name or logo is generally not allowed and must first be approved by the Decentraland Foundation or the DAO. To seek such approval, you can send an email to:"," ",e.jsx("a",{href:"mailto:legal@decentraland.org",children:"legal@decentraland.org"})," or through a DAO proposal."]})]}),e.jsxs(n,{id:"the-name-decentraland",children:[e.jsx(t,{children:'8. The Name "Decentraland"'}),e.jsx(a,{children:`Subject to these terms you can use the name "Decentraland" to promote your game(s) or wearables as long as it doesn't confuse consumers and as long as it is not used as the name of an app or any kind of merchandise or product. In other words, you can refer to "Decentraland" as the name of the platform, and you can use the name to show your interest in or affection for the Decentraland platform.`})]}),e.jsxs(n,{id:"the-logo-decentraland",children:[e.jsx(t,{children:'9. The Logo "Decentraland"'}),e.jsxs(a,{children:["Subject to these terms, you are only allowed to use the logo design that is available at the following link"," ",e.jsx("a",{href:"https://decentraland.org/press/",target:"_blank",rel:"noopener noreferrer",children:"https://decentraland.org/press/"}),". The Decentraland Foundation or the DAO may alter the form of this design from time to time. You are allowed to resize the logo as long as you do not modify the proportions. But otherwise, you cannot modify the logo design in any way and must abide by these terms."]})]}),e.jsxs(n,{id:"additional-rules",children:[e.jsx(t,{children:"10. Additional Rules"}),e.jsx(a,{children:"THE USE OF DECENTRALAND LOGO AND NAME CANNOT BE ASSOCIATED WITH ANYTHING THAT VIOLATES THE RIGHTS OF OTHER THIRD PARTIES IP, CREATES BRAND CONFUSION, HAS HARMFUL OR OBJECTIONABLE ASPECTS OR DOES NOT COMPLY WITH APPLICABLE LAWS OR ANY OF DECENTRALAND GUIDELINES, TERMS OR RULES. THE DAO AND THE DECENTRALAND FOUNDATION HAVE THE RIGHT TO DECIDE (IN THEIR SOLE DISCRETION) WHETHER THE USE IS ACCEPTABLE."}),e.jsx(a,{children:"YOU MUST NOT USE THE DECENTRALAND NAME OR LOGO IN ANY MANNER THAT IS LIKELY TO HAVE AN ADVERSE EFFECT ON THE REPUTATION OF DECENTRALAND (AS THE DAO OR DECENTRALAND FOUNDATION MAY DETERMINE IN THEIR SOLE DISCRETION). YOU MAY NOT USE THE DECENTRALAND NAME OR LOGO IN ANY WAY THAT SUGGESTS THAT YOU ARE AFFILIATED WITH DECENTRALAND, THE DAO OR THE DECENTRALAND FOUNDATION, OR IN ANY WAY THAT SUGGESTS THAT DECENTRALAND, THE DAO OR THE DECENTRALAND FOUNDATION SPONSORS OR ENDORSES YOUR USAGE."}),e.jsx(a,{children:"These terms grant you permission to use the Decentraland trademarks only in the ways described above. The Decentraland Foundation or the DAO may withdraw or change this permission at any time for any reason."}),e.jsx(a,{children:"Other uses of the Decentraland logo and name require the express approval of the Decentraland Foundation or the DAO."})]})]}));l.displayName="BrandTerms";export{l as BrandTerms};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-C62RHb__.js","sources":["../../src/pages/brand/BrandTerms.tsx"],"sourcesContent":["import { memo } from 'react'\nimport { LegalPageLayout, Paragraph, Section, SectionTitle } from '../../components/LegalPage'\nimport type { TOCEntry } from '../../components/LegalPage'\n\nconst TABLE_OF_CONTENTS: TOCEntry[] = [\n { id: 'allowable-usage', label: '1. Allowable Usage' },\n { id: 'logo-and-name-ownership', label: '2. Logo and name ownership' },\n { id: 'wearables-and-user-names', label: '3. Wearables and user names in Decentraland' },\n { id: 'nfts-and-other-uses', label: '4. NFTs and other uses outside the Decentraland platform' },\n { id: 'disclaimer', label: '5. Disclaimer' },\n { id: 'press-releases', label: '6. Press Releases' },\n { id: 'advertisements', label: '7. Advertisements' },\n { id: 'the-name-decentraland', label: '8. The Name \"Decentraland\"' },\n { id: 'the-logo-decentraland', label: '9. The Logo \"Decentraland\"' },\n { id: 'additional-rules', label: '10. Additional Rules' }\n]\n\nconst BrandTerms = memo(() => (\n <LegalPageLayout title=\"Terms of Use for Decentraland's Logo and Name\" activeSlug=\"/brand\" tableOfContents={TABLE_OF_CONTENTS}>\n <Paragraph>\n Decentraland is a decentralized virtual world governed by its users and as such strongly supports user generated content (UGC). People\n may use the Decentraland logo and name in their creations within Decentraland, but must follow the following terms.\n </Paragraph>\n\n <Section id=\"allowable-usage\">\n <SectionTitle>1. Allowable Usage</SectionTitle>\n <Paragraph>\n Users shall comply with these terms as well as Decentraland's{' '}\n <a href=\"https://decentraland.org/terms/\" target=\"_blank\" rel=\"noopener noreferrer\">\n Terms of Use\n </a>{' '}\n and{' '}\n <a href=\"https://decentraland.org/content/\" target=\"_blank\" rel=\"noopener noreferrer\">\n Content Policy\n </a>{' '}\n in order to be allowed to use the Decentraland name and logo within Decentraland.\n </Paragraph>\n </Section>\n\n <Section id=\"logo-and-name-ownership\">\n <SectionTitle>2. Logo and name ownership</SectionTitle>\n <Paragraph>\n The Decentraland Foundation is the registered owner of the Decentraland name and logo, acting for the benefit of the DAO. This is\n because currently the DAO lacks formal legal status.\n </Paragraph>\n </Section>\n\n <Section id=\"wearables-and-user-names\">\n <SectionTitle>3. Wearables and user names in Decentraland</SectionTitle>\n <Paragraph>\n Users may create wearables and names using the Decentraland logo and name on the Decentraland platform, provided that they\n don't violate the platform's Content Policy and Terms of Use. As far as the Decentraland Foundation is concerned, you are\n not prevented from monetizing or obtaining profits from the sale of said wearables or user names. The NFT must be unique in design.\n </Paragraph>\n <Paragraph>\n The Decentraland Foundation has the right to deny the use of the Decentraland name and logo at its sole discretion in any case and\n at any time.\n </Paragraph>\n </Section>\n\n <Section id=\"nfts-and-other-uses\">\n <SectionTitle>4. NFTs and other uses outside the Decentraland platform</SectionTitle>\n <Paragraph>\n The Decentraland Foundation does not authorize the creation of NFTs using the Decentraland name or logo outside the Decentraland\n platform. The use of the Decentraland name or logo is not allowed in other virtual platforms different from Decentraland or in the\n real world.\n </Paragraph>\n </Section>\n\n <Section id=\"disclaimer\">\n <SectionTitle>5. Disclaimer</SectionTitle>\n <Paragraph>\n In all written materials relating to your product, including websites, publications, etc. it must be made clear that you do not have\n any kind of affiliation, business partnerships or other official association with Decentraland, the DAO or the Decentraland\n Foundation.\n </Paragraph>\n </Section>\n\n <Section id=\"press-releases\">\n <SectionTitle>6. Press Releases</SectionTitle>\n <Paragraph>\n Any press releases that you distribute through social networks, media or news services should clearly state that you do not have any\n kind of affiliation, business partnerships or other official association with Decentraland, the DAO or the Decentraland Foundation.\n </Paragraph>\n </Section>\n\n <Section id=\"advertisements\">\n <SectionTitle>7. Advertisements</SectionTitle>\n <Paragraph>\n Any paid advertisement that uses the Decentraland name or logo is generally not allowed and must first be approved by the\n Decentraland Foundation or the DAO. To seek such approval, you can send an email to:{' '}\n <a href=\"mailto:legal@decentraland.org\">legal@decentraland.org</a> or through a DAO proposal.\n </Paragraph>\n </Section>\n\n <Section id=\"the-name-decentraland\">\n <SectionTitle>8. The Name "Decentraland"</SectionTitle>\n <Paragraph>\n Subject to these terms you can use the name "Decentraland" to promote your game(s) or wearables as long as it doesn't\n confuse consumers and as long as it is not used as the name of an app or any kind of merchandise or product. In other words, you can\n refer to "Decentraland" as the name of the platform, and you can use the name to show your interest in or affection for\n the Decentraland platform.\n </Paragraph>\n </Section>\n\n <Section id=\"the-logo-decentraland\">\n <SectionTitle>9. The Logo "Decentraland"</SectionTitle>\n <Paragraph>\n Subject to these terms, you are only allowed to use the logo design that is available at the following link{' '}\n <a href=\"https://decentraland.org/press/\" target=\"_blank\" rel=\"noopener noreferrer\">\n https://decentraland.org/press/\n </a>\n . The Decentraland Foundation or the DAO may alter the form of this design from time to time. You are allowed to resize the logo as\n long as you do not modify the proportions. But otherwise, you cannot modify the logo design in any way and must abide by these\n terms.\n </Paragraph>\n </Section>\n\n <Section id=\"additional-rules\">\n <SectionTitle>10. Additional Rules</SectionTitle>\n <Paragraph>\n THE USE OF DECENTRALAND LOGO AND NAME CANNOT BE ASSOCIATED WITH ANYTHING THAT VIOLATES THE RIGHTS OF OTHER THIRD PARTIES IP, CREATES\n BRAND CONFUSION, HAS HARMFUL OR OBJECTIONABLE ASPECTS OR DOES NOT COMPLY WITH APPLICABLE LAWS OR ANY OF DECENTRALAND GUIDELINES,\n TERMS OR RULES. THE DAO AND THE DECENTRALAND FOUNDATION HAVE THE RIGHT TO DECIDE (IN THEIR SOLE DISCRETION) WHETHER THE USE IS\n ACCEPTABLE.\n </Paragraph>\n <Paragraph>\n YOU MUST NOT USE THE DECENTRALAND NAME OR LOGO IN ANY MANNER THAT IS LIKELY TO HAVE AN ADVERSE EFFECT ON THE REPUTATION OF\n DECENTRALAND (AS THE DAO OR DECENTRALAND FOUNDATION MAY DETERMINE IN THEIR SOLE DISCRETION). YOU MAY NOT USE THE DECENTRALAND NAME\n OR LOGO IN ANY WAY THAT SUGGESTS THAT YOU ARE AFFILIATED WITH DECENTRALAND, THE DAO OR THE DECENTRALAND FOUNDATION, OR IN ANY WAY\n THAT SUGGESTS THAT DECENTRALAND, THE DAO OR THE DECENTRALAND FOUNDATION SPONSORS OR ENDORSES YOUR USAGE.\n </Paragraph>\n <Paragraph>\n These terms grant you permission to use the Decentraland trademarks only in the ways described above. The Decentraland Foundation or\n the DAO may withdraw or change this permission at any time for any reason.\n </Paragraph>\n <Paragraph>\n Other uses of the Decentraland logo and name require the express approval of the Decentraland Foundation or the DAO.\n </Paragraph>\n </Section>\n </LegalPageLayout>\n))\n\nBrandTerms.displayName = 'BrandTerms'\n\nexport { BrandTerms }\n"],"names":["TABLE_OF_CONTENTS","BrandTerms","memo","jsxs","LegalPageLayout","jsx","Paragraph","Section","SectionTitle"],"mappings":"yUAIA,MAAMA,EAAgC,CACpC,CAAE,GAAI,kBAAmB,MAAO,oBAAA,EAChC,CAAE,GAAI,0BAA2B,MAAO,4BAAA,EACxC,CAAE,GAAI,2BAA4B,MAAO,6CAAA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eAAA,CAKX,EACAD,EAAAA,IAACC,GAAU,SAAA,iNAAA,CAGX,EACAD,EAAAA,IAACC,GAAU,SAAA,sHAAA,CAEX,CAAA,CAAA,CACF,CAAA,EACF,CACD,EAEDL,EAAW,YAAc"}
|
|
1
|
+
{"version":3,"file":"index-CfKiEnnb.js","sources":["../../src/pages/brand/BrandTerms.tsx"],"sourcesContent":["import { memo } from 'react'\nimport { LegalPageLayout, Paragraph, Section, SectionTitle } from '../../components/LegalPage'\nimport type { TOCEntry } from '../../components/LegalPage'\n\nconst TABLE_OF_CONTENTS: TOCEntry[] = [\n { id: 'allowable-usage', label: '1. Allowable Usage' },\n { id: 'logo-and-name-ownership', label: '2. Logo and name ownership' },\n { id: 'wearables-and-user-names', label: '3. Wearables and user names in Decentraland' },\n { id: 'nfts-and-other-uses', label: '4. NFTs and other uses outside the Decentraland platform' },\n { id: 'disclaimer', label: '5. Disclaimer' },\n { id: 'press-releases', label: '6. Press Releases' },\n { id: 'advertisements', label: '7. Advertisements' },\n { id: 'the-name-decentraland', label: '8. The Name \"Decentraland\"' },\n { id: 'the-logo-decentraland', label: '9. The Logo \"Decentraland\"' },\n { id: 'additional-rules', label: '10. Additional Rules' }\n]\n\nconst BrandTerms = memo(() => (\n <LegalPageLayout title=\"Terms of Use for Decentraland's Logo and Name\" activeSlug=\"/brand\" tableOfContents={TABLE_OF_CONTENTS}>\n <Paragraph>\n Decentraland is a decentralized virtual world governed by its users and as such strongly supports user generated content (UGC). People\n may use the Decentraland logo and name in their creations within Decentraland, but must follow the following terms.\n </Paragraph>\n\n <Section id=\"allowable-usage\">\n <SectionTitle>1. Allowable Usage</SectionTitle>\n <Paragraph>\n Users shall comply with these terms as well as Decentraland's{' '}\n <a href=\"https://decentraland.org/terms/\" target=\"_blank\" rel=\"noopener noreferrer\">\n Terms of Use\n </a>{' '}\n and{' '}\n <a href=\"https://decentraland.org/content/\" target=\"_blank\" rel=\"noopener noreferrer\">\n Content Policy\n </a>{' '}\n in order to be allowed to use the Decentraland name and logo within Decentraland.\n </Paragraph>\n </Section>\n\n <Section id=\"logo-and-name-ownership\">\n <SectionTitle>2. Logo and name ownership</SectionTitle>\n <Paragraph>\n The Decentraland Foundation is the registered owner of the Decentraland name and logo, acting for the benefit of the DAO. This is\n because currently the DAO lacks formal legal status.\n </Paragraph>\n </Section>\n\n <Section id=\"wearables-and-user-names\">\n <SectionTitle>3. Wearables and user names in Decentraland</SectionTitle>\n <Paragraph>\n Users may create wearables and names using the Decentraland logo and name on the Decentraland platform, provided that they\n don't violate the platform's Content Policy and Terms of Use. As far as the Decentraland Foundation is concerned, you are\n not prevented from monetizing or obtaining profits from the sale of said wearables or user names. The NFT must be unique in design.\n </Paragraph>\n <Paragraph>\n The Decentraland Foundation has the right to deny the use of the Decentraland name and logo at its sole discretion in any case and\n at any time.\n </Paragraph>\n </Section>\n\n <Section id=\"nfts-and-other-uses\">\n <SectionTitle>4. NFTs and other uses outside the Decentraland platform</SectionTitle>\n <Paragraph>\n The Decentraland Foundation does not authorize the creation of NFTs using the Decentraland name or logo outside the Decentraland\n platform. The use of the Decentraland name or logo is not allowed in other virtual platforms different from Decentraland or in the\n real world.\n </Paragraph>\n </Section>\n\n <Section id=\"disclaimer\">\n <SectionTitle>5. Disclaimer</SectionTitle>\n <Paragraph>\n In all written materials relating to your product, including websites, publications, etc. it must be made clear that you do not have\n any kind of affiliation, business partnerships or other official association with Decentraland, the DAO or the Decentraland\n Foundation.\n </Paragraph>\n </Section>\n\n <Section id=\"press-releases\">\n <SectionTitle>6. Press Releases</SectionTitle>\n <Paragraph>\n Any press releases that you distribute through social networks, media or news services should clearly state that you do not have any\n kind of affiliation, business partnerships or other official association with Decentraland, the DAO or the Decentraland Foundation.\n </Paragraph>\n </Section>\n\n <Section id=\"advertisements\">\n <SectionTitle>7. Advertisements</SectionTitle>\n <Paragraph>\n Any paid advertisement that uses the Decentraland name or logo is generally not allowed and must first be approved by the\n Decentraland Foundation or the DAO. To seek such approval, you can send an email to:{' '}\n <a href=\"mailto:legal@decentraland.org\">legal@decentraland.org</a> or through a DAO proposal.\n </Paragraph>\n </Section>\n\n <Section id=\"the-name-decentraland\">\n <SectionTitle>8. The Name "Decentraland"</SectionTitle>\n <Paragraph>\n Subject to these terms you can use the name "Decentraland" to promote your game(s) or wearables as long as it doesn't\n confuse consumers and as long as it is not used as the name of an app or any kind of merchandise or product. In other words, you can\n refer to "Decentraland" as the name of the platform, and you can use the name to show your interest in or affection for\n the Decentraland platform.\n </Paragraph>\n </Section>\n\n <Section id=\"the-logo-decentraland\">\n <SectionTitle>9. The Logo "Decentraland"</SectionTitle>\n <Paragraph>\n Subject to these terms, you are only allowed to use the logo design that is available at the following link{' '}\n <a href=\"https://decentraland.org/press/\" target=\"_blank\" rel=\"noopener noreferrer\">\n https://decentraland.org/press/\n </a>\n . The Decentraland Foundation or the DAO may alter the form of this design from time to time. You are allowed to resize the logo as\n long as you do not modify the proportions. But otherwise, you cannot modify the logo design in any way and must abide by these\n terms.\n </Paragraph>\n </Section>\n\n <Section id=\"additional-rules\">\n <SectionTitle>10. Additional Rules</SectionTitle>\n <Paragraph>\n THE USE OF DECENTRALAND LOGO AND NAME CANNOT BE ASSOCIATED WITH ANYTHING THAT VIOLATES THE RIGHTS OF OTHER THIRD PARTIES IP, CREATES\n BRAND CONFUSION, HAS HARMFUL OR OBJECTIONABLE ASPECTS OR DOES NOT COMPLY WITH APPLICABLE LAWS OR ANY OF DECENTRALAND GUIDELINES,\n TERMS OR RULES. THE DAO AND THE DECENTRALAND FOUNDATION HAVE THE RIGHT TO DECIDE (IN THEIR SOLE DISCRETION) WHETHER THE USE IS\n ACCEPTABLE.\n </Paragraph>\n <Paragraph>\n YOU MUST NOT USE THE DECENTRALAND NAME OR LOGO IN ANY MANNER THAT IS LIKELY TO HAVE AN ADVERSE EFFECT ON THE REPUTATION OF\n DECENTRALAND (AS THE DAO OR DECENTRALAND FOUNDATION MAY DETERMINE IN THEIR SOLE DISCRETION). YOU MAY NOT USE THE DECENTRALAND NAME\n OR LOGO IN ANY WAY THAT SUGGESTS THAT YOU ARE AFFILIATED WITH DECENTRALAND, THE DAO OR THE DECENTRALAND FOUNDATION, OR IN ANY WAY\n THAT SUGGESTS THAT DECENTRALAND, THE DAO OR THE DECENTRALAND FOUNDATION SPONSORS OR ENDORSES YOUR USAGE.\n </Paragraph>\n <Paragraph>\n These terms grant you permission to use the Decentraland trademarks only in the ways described above. The Decentraland Foundation or\n the DAO may withdraw or change this permission at any time for any reason.\n </Paragraph>\n <Paragraph>\n Other uses of the Decentraland logo and name require the express approval of the Decentraland Foundation or the DAO.\n </Paragraph>\n </Section>\n </LegalPageLayout>\n))\n\nBrandTerms.displayName = 'BrandTerms'\n\nexport { BrandTerms }\n"],"names":["TABLE_OF_CONTENTS","BrandTerms","memo","jsxs","LegalPageLayout","jsx","Paragraph","Section","SectionTitle"],"mappings":"yUAIA,MAAMA,EAAgC,CACpC,CAAE,GAAI,kBAAmB,MAAO,oBAAA,EAChC,CAAE,GAAI,0BAA2B,MAAO,4BAAA,EACxC,CAAE,GAAI,2BAA4B,MAAO,6CAAA,EACzC,CAAE,GAAI,sBAAuB,MAAO,0DAAA,EACpC,CAAE,GAAI,aAAc,MAAO,eAAA,EAC3B,CAAE,GAAI,iBAAkB,MAAO,mBAAA,EAC/B,CAAE,GAAI,iBAAkB,MAAO,mBAAA,EAC/B,CAAE,GAAI,wBAAyB,MAAO,4BAAA,EACtC,CAAE,GAAI,wBAAyB,MAAO,4BAAA,EACtC,CAAE,GAAI,mBAAoB,MAAO,sBAAA,CACnC,EAEMC,EAAaC,EAAAA,KAAK,IACtBC,EAAAA,KAACC,EAAA,CAAgB,MAAM,gDAAgD,WAAW,SAAS,gBAAiBJ,EAC1G,SAAA,CAAAK,EAAAA,IAACC,GAAU,SAAA,4PAAA,CAGX,EAEAH,EAAAA,KAACI,EAAA,CAAQ,GAAG,kBACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,oBAAA,CAAkB,SAC/BF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AAAA,IAAC,IAAA,CAAE,KAAK,gCAAgC,SAAA,yBAAsB,EAAI,6BAAA,CAAA,CACpE,CAAA,EACF,EAEAF,EAAAA,KAACI,EAAA,CAAQ,GAAG,wBACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,4BAAA,CAAoC,EAClDH,EAAAA,IAACC,GAAU,SAAA,+YAAA,CAKX,CAAA,EACF,EAEAH,EAAAA,KAACI,EAAA,CAAQ,GAAG,wBACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,4BAAA,CAAoC,SACjDF,EAAA,CAAU,SAAA,CAAA,8GACmG,IAC5GD,EAAAA,IAAC,KAAE,KAAK,kCAAkC,OAAO,SAAS,IAAI,sBAAsB,SAAA,iCAAA,CAEpF,EAAI,2QAAA,CAAA,CAIN,CAAA,EACF,EAEAF,EAAAA,KAACI,EAAA,CAAQ,GAAG,mBACV,SAAA,CAAAF,EAAAA,IAACG,GAAa,SAAA,sBAAA,CAAoB,EAClCH,EAAAA,IAACC,GAAU,SAAA,kZAAA,CAKX,EACAD,EAAAA,IAACC,GAAU,SAAA,0eAAA,CAKX,EACAD,EAAAA,IAACC,GAAU,SAAA,iNAAA,CAGX,EACAD,EAAAA,IAACC,GAAU,SAAA,sHAAA,CAEX,CAAA,CAAA,CACF,CAAA,EACF,CACD,EAEDL,EAAW,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./index-D0nE3AYE.js";import{r as t}from"./vendor-router-D_36sTKu.js";import{L as l,P as i,S as a,a as s,b as r,B as n}from"./LegalPageLayout-BPmxsGkt.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 d=[{id:"general-provisions",label:"1. General Provisions"},{id:"program-duration",label:"2. Program Duration and Structure"},{id:"credits-and-prize-allocation",label:"3. Credits and Prize Allocation"},{id:"eligibility-and-participation",label:"4. Eligibility and Participation"},{id:"earnings-and-credit-allocation",label:"5. Earnings and Credit Allocation"},{id:"reward-validity-and-usage",label:"6. Reward Validity and Usage"},{id:"non-transferability",label:"7. Non-Transferability and Restrictions"},{id:"email-notifications",label:"8. Email Notifications"},{id:"miscellaneous",label:"9. Miscellaneous"},{id:"seasons",label:"10. Seasons"},{id:"first-season",label:"First Season (2025)",depth:1},{id:"second-season",label:"Second Season (2025)",depth:1},{id:"third-season",label:"Third Season (2025)",depth:1},{id:"fourth-season",label:"Fourth Season (2026)",depth:1},{id:"fifth-season",label:"Fifth Season (2026)",depth:1}],o=t.memo(()=>e.jsxs(l,{title:"Rewards Program",activeSlug:"/rewards-terms",tableOfContents:d,children:[e.jsx(i,{children:"Terms and Conditions of the Rewards Program"}),e.jsxs(a,{id:"general-provisions",children:[e.jsx(s,{children:"1. General Provisions"}),e.jsx(i,{children:'1.1. The Rewards Program (the "Program") is offered by the Decentraland Foundation and is conducted in specific Seasons, the dates of which will be announced by the Decentraland Foundation.'}),e.jsx(i,{children:"1.2. Participation in the Program constitutes acceptance of these Terms and Conditions, as well as the Decentraland Terms of Use, Privacy Policy, and Content Policy."}),e.jsx(i,{children:"1.3. The Decentraland Foundation reserves the right to modify, suspend, or terminate the Program at its discretion."})]}),e.jsxs(a,{id:"program-duration",children:[e.jsx(s,{children:"2. Program Duration and Structure"}),e.jsx(i,{children:'2.1. The Program is organized in Seasons (the "Season"). The Decentraland Foundation will announce the start and end dates for each Season.'})]}),e.jsxs(a,{id:"credits-and-prize-allocation",children:[e.jsx(s,{children:"3. Credits and Prize Allocation"}),e.jsx(i,{children:"3.1. Credits issued under the Program may only be used on primary sales of Polygon Wearables & Emotes (L1 sales are excluded)."}),e.jsx(i,{children:"3.2. Each Marketplace Credit is valued in each Season; however this value may be changed (lowered or increased) in the future at the discretion of the Decentraland Foundation."}),e.jsx(i,{children:"3.3. Credits do not represent voting power (VP)."}),e.jsx(i,{children:"3.4. A maximum total reward budget is allocated per Season. Once this budget is exhausted, no further rewards will be granted during that Season."})]}),e.jsxs(a,{id:"eligibility-and-participation",children:[e.jsx(s,{children:"4. Eligibility and Participation"}),e.jsx(i,{children:"4.1. To be eligible for rewards, participants must complete specified actions, attend designated events, or fulfill other tasks as determined by the Decentraland Foundation."}),e.jsx(i,{children:"4.2. The Decentraland Foundation reserves the right to verify the completion of required actions before awarding any rewards."})]}),e.jsxs(a,{id:"earnings-and-credit-allocation",children:[e.jsx(s,{children:"5. Earnings and Credit Allocation"}),e.jsx(i,{children:"5.1. Participants who fully complete all designated weekly goals will earn the maximum Marketplace Credits per week mentioned in the corresponding Season."}),e.jsx(i,{children:"5.2. The maximum Marketplace Credits a user can earn during the Season shall be determined in each Season."}),e.jsx(i,{children:"5.3. A weekly goal must be fully completed to receive its associated credit value."}),e.jsx(i,{children:"5.4. Participants will earn credits only for the goals they fully complete; it is not necessary to complete every goal in order to receive some credit."})]}),e.jsxs(a,{id:"reward-validity-and-usage",children:[e.jsx(s,{children:"6. Reward Validity and Usage"}),e.jsx(i,{children:'6.1. Rewards will be valid for a period of weeks to be announced in each Season (the "validity period").'}),e.jsx(i,{children:"6.2. Any rewards not redeemed within the validity period will expire and become non-redeemable."})]}),e.jsxs(a,{id:"non-transferability",children:[e.jsx(s,{children:"7. Non-Transferability and Restrictions"}),e.jsx(i,{children:"7.1. Rewards are non-transferable and may only be used by the designated recipient."}),e.jsx(i,{children:"7.2. Credits must be issued to a specific beneficiary (a valid EVM Address) and can only be utilized by that beneficiary."}),e.jsx(i,{children:"7.3. Rewards cannot be exchanged for cash, MANA, or any other alternative benefits."}),e.jsx(i,{children:"7.4. Credits cannot be used to publish a collection, used on Ethereum for this iteration, or transferred between users."}),e.jsx(i,{children:"7.5. The Decentraland Foundation reserves the right to revoke or cancel rewards if they are misused or if participants are found to be in violation of the Program's terms."})]}),e.jsxs(a,{id:"email-notifications",children:[e.jsx(s,{children:"8. Email Notifications"}),e.jsx(i,{children:'8.1. By participating in the Program, you consent to receive email notifications related to "Weekly Rewards."'}),e.jsx(i,{children:"8.2. The Decentraland Foundation may add additional email notification categories in the future."})]}),e.jsxs(a,{id:"miscellaneous",children:[e.jsx(s,{children:"9. Miscellaneous"}),e.jsx(i,{children:"9.1. The Decentraland Foundation is not responsible for any technical malfunctions, errors, or issues that may affect participation in the Program."}),e.jsx(i,{children:"9.2. Any disputes regarding the Program shall be resolved at the sole discretion of the Decentraland Foundation."}),e.jsxs(i,{children:["For further inquiries, please contact ",e.jsx("a",{href:"mailto:legal@decentraland.org",children:"legal@decentraland.org"}),"."]})]}),e.jsxs(a,{id:"seasons",children:[e.jsx(s,{children:"10. Seasons"}),e.jsx(r,{id:"first-season",children:"First Season (2025)"}),e.jsxs(n,{children:[e.jsx("li",{children:"The First Season starts on May 19, 2025 and finishes July 14, 2025."}),e.jsx("li",{children:"The First Season will run for 8 weeks, with each week defined as Monday 00:00 UTC to Sunday 23:59 UTC."}),e.jsx("li",{children:"The maximum total reward budget for the first Season is set at 640,000 Credits."}),e.jsx("li",{children:"The maximum a user can earn during the 8-week trial Season is 64 Marketplace Credits."}),e.jsx("li",{children:'Rewards will be valid for a period of ten (10) weeks from the Season launch date (the "validity period").'}),e.jsx("li",{children:"Each Marketplace Credit is valued at 1 MANA."})]}),e.jsx(i,{children:"Weekly Goals and Credit Values:"}),e.jsxs(n,{children:[e.jsx("li",{children:"Log into DCL on at least 3 separate days - Value: 4 Credits"}),e.jsx("li",{children:"Attend at least 2 events - Value: 2 Credits"}),e.jsx("li",{children:"View 3 new Profiles - Value: 1 Credit"}),e.jsx("li",{children:"Visit 3 new locations - Value: 1 Credit"})]}),e.jsx(r,{id:"second-season",children:"Second Season (2025)"}),e.jsxs(n,{children:[e.jsx("li",{children:"Starts August 11, 2025, finishes October 12, 2025."}),e.jsx("li",{children:"9 weeks, Monday 00:00 UTC to Sunday 23:59 UTC."}),e.jsx("li",{children:"Budget: 640,000 Credits. Max per user: 360 Credits."}),e.jsx("li",{children:"Validity: eleven (11) weeks from launch (October 26, 2025 at 23:59)."}),e.jsx("li",{children:"Each Credit valued at 1 MANA."})]}),e.jsx(i,{children:"Weekly Goals:"}),e.jsxs(n,{children:[e.jsx("li",{children:"Log into DCL on at least 3 separate days - 20 Credits (Must remain in-world 10+ min each day)"}),e.jsx("li",{children:"Attend at least 2 events - 10 Credits (Must remain 10+ min each event)"}),e.jsx("li",{children:"View 3 new Profiles - 5 Credits"}),e.jsx("li",{children:"Visit 3 new locations - 5 Credits"})]}),e.jsx(r,{id:"third-season",children:"Third Season (2025)"}),e.jsxs(n,{children:[e.jsx("li",{children:"Starts October 27, 2025, finishes December 21, 2025."}),e.jsx("li",{children:"8 weeks. Budget: 640,000 Credits. Max per user: 320 Credits."}),e.jsx("li",{children:"Validity: ten (10) weeks (January 4, 2026 at 23:59:59)."}),e.jsx("li",{children:"Each Credit valued at 1 MANA."})]}),e.jsx(i,{children:"Weekly Goals:"}),e.jsxs(n,{children:[e.jsx("li",{children:"Log into DCL on at least 3 separate days - 20 Credits"}),e.jsx("li",{children:"Attend at least 2 events - 10 Credits (Must remain 5+ min)"}),e.jsx("li",{children:"Explore a weekly location - 5 Credits"}),e.jsx("li",{children:"Snap A Photo Emoting With Someone - 5 Credits"})]}),e.jsx(r,{id:"fourth-season",children:"Fourth Season (2026)"}),e.jsxs(n,{children:[e.jsx("li",{children:"Starts January 12, 2026, finishes March 01, 2026."}),e.jsx("li",{children:"7 weeks. Budget: 640,000 Credits. Max per user: 280 Credits."}),e.jsx("li",{children:"Validity: nine (9) weeks (March 15, 2026 at 23:59:59)."}),e.jsx("li",{children:"Each Credit valued at 1 MANA."})]}),e.jsx(i,{children:"Weekly Goals:"}),e.jsxs(n,{children:[e.jsx("li",{children:"Log into DCL on at least 3 separate days - 20 Credits"}),e.jsx("li",{children:"Attend at least 2 events - 10 Credits (Must remain 5+ min)"}),e.jsx("li",{children:"Explore a weekly location - 5 Credits"}),e.jsx("li",{children:"Snap A Photo Emoting With Someone - 5 Credits"})]}),e.jsx(r,{id:"fifth-season",children:"Fifth Season (2026)"}),e.jsxs(n,{children:[e.jsx("li",{children:"Starts March 16, 2026, finishes April 19, 2026."}),e.jsx("li",{children:"5 weeks. Budget: 640,000 Credits. Max per user: 200 Credits."}),e.jsx("li",{children:"Validity: six (6) weeks (April 26, 2026 at 23:59:59)."}),e.jsx("li",{children:"Each Credit valued at 1 MANA."})]}),e.jsx(i,{children:"Weekly Goals:"}),e.jsxs(n,{children:[e.jsx("li",{children:"Log into DCL on at least 3 separate days - 20 Credits"}),e.jsx("li",{children:"Attend at least 2 events - 10 Credits (Must remain 5+ min)"}),e.jsx("li",{children:"Explore a weekly location - 5 Credits"}),e.jsx("li",{children:"Snap A Photo Emoting With Someone - 5 Credits"})]})]})]}));o.displayName="RewardsTerms";export{o as RewardsTerms};
|
|
1
|
+
import{j as e}from"./index-DUmIu2EK.js";import{r as t}from"./vendor-router-D_36sTKu.js";import{L as l,P as i,S as a,a as s,b as r,B as n}from"./LegalPageLayout-DeH35WpT.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 d=[{id:"general-provisions",label:"1. General Provisions"},{id:"program-duration",label:"2. Program Duration and Structure"},{id:"credits-and-prize-allocation",label:"3. Credits and Prize Allocation"},{id:"eligibility-and-participation",label:"4. Eligibility and Participation"},{id:"earnings-and-credit-allocation",label:"5. Earnings and Credit Allocation"},{id:"reward-validity-and-usage",label:"6. Reward Validity and Usage"},{id:"non-transferability",label:"7. Non-Transferability and Restrictions"},{id:"email-notifications",label:"8. Email Notifications"},{id:"miscellaneous",label:"9. Miscellaneous"},{id:"seasons",label:"10. Seasons"},{id:"first-season",label:"First Season (2025)",depth:1},{id:"second-season",label:"Second Season (2025)",depth:1},{id:"third-season",label:"Third Season (2025)",depth:1},{id:"fourth-season",label:"Fourth Season (2026)",depth:1},{id:"fifth-season",label:"Fifth Season (2026)",depth:1}],o=t.memo(()=>e.jsxs(l,{title:"Rewards Program",activeSlug:"/rewards-terms",tableOfContents:d,children:[e.jsx(i,{children:"Terms and Conditions of the Rewards Program"}),e.jsxs(a,{id:"general-provisions",children:[e.jsx(s,{children:"1. General Provisions"}),e.jsx(i,{children:'1.1. The Rewards Program (the "Program") is offered by the Decentraland Foundation and is conducted in specific Seasons, the dates of which will be announced by the Decentraland Foundation.'}),e.jsx(i,{children:"1.2. Participation in the Program constitutes acceptance of these Terms and Conditions, as well as the Decentraland Terms of Use, Privacy Policy, and Content Policy."}),e.jsx(i,{children:"1.3. The Decentraland Foundation reserves the right to modify, suspend, or terminate the Program at its discretion."})]}),e.jsxs(a,{id:"program-duration",children:[e.jsx(s,{children:"2. Program Duration and Structure"}),e.jsx(i,{children:'2.1. The Program is organized in Seasons (the "Season"). The Decentraland Foundation will announce the start and end dates for each Season.'})]}),e.jsxs(a,{id:"credits-and-prize-allocation",children:[e.jsx(s,{children:"3. Credits and Prize Allocation"}),e.jsx(i,{children:"3.1. Credits issued under the Program may only be used on primary sales of Polygon Wearables & Emotes (L1 sales are excluded)."}),e.jsx(i,{children:"3.2. Each Marketplace Credit is valued in each Season; however this value may be changed (lowered or increased) in the future at the discretion of the Decentraland Foundation."}),e.jsx(i,{children:"3.3. Credits do not represent voting power (VP)."}),e.jsx(i,{children:"3.4. A maximum total reward budget is allocated per Season. Once this budget is exhausted, no further rewards will be granted during that Season."})]}),e.jsxs(a,{id:"eligibility-and-participation",children:[e.jsx(s,{children:"4. Eligibility and Participation"}),e.jsx(i,{children:"4.1. To be eligible for rewards, participants must complete specified actions, attend designated events, or fulfill other tasks as determined by the Decentraland Foundation."}),e.jsx(i,{children:"4.2. The Decentraland Foundation reserves the right to verify the completion of required actions before awarding any rewards."})]}),e.jsxs(a,{id:"earnings-and-credit-allocation",children:[e.jsx(s,{children:"5. Earnings and Credit Allocation"}),e.jsx(i,{children:"5.1. Participants who fully complete all designated weekly goals will earn the maximum Marketplace Credits per week mentioned in the corresponding Season."}),e.jsx(i,{children:"5.2. The maximum Marketplace Credits a user can earn during the Season shall be determined in each Season."}),e.jsx(i,{children:"5.3. A weekly goal must be fully completed to receive its associated credit value."}),e.jsx(i,{children:"5.4. Participants will earn credits only for the goals they fully complete; it is not necessary to complete every goal in order to receive some credit."})]}),e.jsxs(a,{id:"reward-validity-and-usage",children:[e.jsx(s,{children:"6. Reward Validity and Usage"}),e.jsx(i,{children:'6.1. Rewards will be valid for a period of weeks to be announced in each Season (the "validity period").'}),e.jsx(i,{children:"6.2. Any rewards not redeemed within the validity period will expire and become non-redeemable."})]}),e.jsxs(a,{id:"non-transferability",children:[e.jsx(s,{children:"7. Non-Transferability and Restrictions"}),e.jsx(i,{children:"7.1. Rewards are non-transferable and may only be used by the designated recipient."}),e.jsx(i,{children:"7.2. Credits must be issued to a specific beneficiary (a valid EVM Address) and can only be utilized by that beneficiary."}),e.jsx(i,{children:"7.3. Rewards cannot be exchanged for cash, MANA, or any other alternative benefits."}),e.jsx(i,{children:"7.4. Credits cannot be used to publish a collection, used on Ethereum for this iteration, or transferred between users."}),e.jsx(i,{children:"7.5. The Decentraland Foundation reserves the right to revoke or cancel rewards if they are misused or if participants are found to be in violation of the Program's terms."})]}),e.jsxs(a,{id:"email-notifications",children:[e.jsx(s,{children:"8. Email Notifications"}),e.jsx(i,{children:'8.1. By participating in the Program, you consent to receive email notifications related to "Weekly Rewards."'}),e.jsx(i,{children:"8.2. The Decentraland Foundation may add additional email notification categories in the future."})]}),e.jsxs(a,{id:"miscellaneous",children:[e.jsx(s,{children:"9. Miscellaneous"}),e.jsx(i,{children:"9.1. The Decentraland Foundation is not responsible for any technical malfunctions, errors, or issues that may affect participation in the Program."}),e.jsx(i,{children:"9.2. Any disputes regarding the Program shall be resolved at the sole discretion of the Decentraland Foundation."}),e.jsxs(i,{children:["For further inquiries, please contact ",e.jsx("a",{href:"mailto:legal@decentraland.org",children:"legal@decentraland.org"}),"."]})]}),e.jsxs(a,{id:"seasons",children:[e.jsx(s,{children:"10. Seasons"}),e.jsx(r,{id:"first-season",children:"First Season (2025)"}),e.jsxs(n,{children:[e.jsx("li",{children:"The First Season starts on May 19, 2025 and finishes July 14, 2025."}),e.jsx("li",{children:"The First Season will run for 8 weeks, with each week defined as Monday 00:00 UTC to Sunday 23:59 UTC."}),e.jsx("li",{children:"The maximum total reward budget for the first Season is set at 640,000 Credits."}),e.jsx("li",{children:"The maximum a user can earn during the 8-week trial Season is 64 Marketplace Credits."}),e.jsx("li",{children:'Rewards will be valid for a period of ten (10) weeks from the Season launch date (the "validity period").'}),e.jsx("li",{children:"Each Marketplace Credit is valued at 1 MANA."})]}),e.jsx(i,{children:"Weekly Goals and Credit Values:"}),e.jsxs(n,{children:[e.jsx("li",{children:"Log into DCL on at least 3 separate days - Value: 4 Credits"}),e.jsx("li",{children:"Attend at least 2 events - Value: 2 Credits"}),e.jsx("li",{children:"View 3 new Profiles - Value: 1 Credit"}),e.jsx("li",{children:"Visit 3 new locations - Value: 1 Credit"})]}),e.jsx(r,{id:"second-season",children:"Second Season (2025)"}),e.jsxs(n,{children:[e.jsx("li",{children:"Starts August 11, 2025, finishes October 12, 2025."}),e.jsx("li",{children:"9 weeks, Monday 00:00 UTC to Sunday 23:59 UTC."}),e.jsx("li",{children:"Budget: 640,000 Credits. Max per user: 360 Credits."}),e.jsx("li",{children:"Validity: eleven (11) weeks from launch (October 26, 2025 at 23:59)."}),e.jsx("li",{children:"Each Credit valued at 1 MANA."})]}),e.jsx(i,{children:"Weekly Goals:"}),e.jsxs(n,{children:[e.jsx("li",{children:"Log into DCL on at least 3 separate days - 20 Credits (Must remain in-world 10+ min each day)"}),e.jsx("li",{children:"Attend at least 2 events - 10 Credits (Must remain 10+ min each event)"}),e.jsx("li",{children:"View 3 new Profiles - 5 Credits"}),e.jsx("li",{children:"Visit 3 new locations - 5 Credits"})]}),e.jsx(r,{id:"third-season",children:"Third Season (2025)"}),e.jsxs(n,{children:[e.jsx("li",{children:"Starts October 27, 2025, finishes December 21, 2025."}),e.jsx("li",{children:"8 weeks. Budget: 640,000 Credits. Max per user: 320 Credits."}),e.jsx("li",{children:"Validity: ten (10) weeks (January 4, 2026 at 23:59:59)."}),e.jsx("li",{children:"Each Credit valued at 1 MANA."})]}),e.jsx(i,{children:"Weekly Goals:"}),e.jsxs(n,{children:[e.jsx("li",{children:"Log into DCL on at least 3 separate days - 20 Credits"}),e.jsx("li",{children:"Attend at least 2 events - 10 Credits (Must remain 5+ min)"}),e.jsx("li",{children:"Explore a weekly location - 5 Credits"}),e.jsx("li",{children:"Snap A Photo Emoting With Someone - 5 Credits"})]}),e.jsx(r,{id:"fourth-season",children:"Fourth Season (2026)"}),e.jsxs(n,{children:[e.jsx("li",{children:"Starts January 12, 2026, finishes March 01, 2026."}),e.jsx("li",{children:"7 weeks. Budget: 640,000 Credits. Max per user: 280 Credits."}),e.jsx("li",{children:"Validity: nine (9) weeks (March 15, 2026 at 23:59:59)."}),e.jsx("li",{children:"Each Credit valued at 1 MANA."})]}),e.jsx(i,{children:"Weekly Goals:"}),e.jsxs(n,{children:[e.jsx("li",{children:"Log into DCL on at least 3 separate days - 20 Credits"}),e.jsx("li",{children:"Attend at least 2 events - 10 Credits (Must remain 5+ min)"}),e.jsx("li",{children:"Explore a weekly location - 5 Credits"}),e.jsx("li",{children:"Snap A Photo Emoting With Someone - 5 Credits"})]}),e.jsx(r,{id:"fifth-season",children:"Fifth Season (2026)"}),e.jsxs(n,{children:[e.jsx("li",{children:"Starts March 16, 2026, finishes April 19, 2026."}),e.jsx("li",{children:"5 weeks. Budget: 640,000 Credits. Max per user: 200 Credits."}),e.jsx("li",{children:"Validity: six (6) weeks (April 26, 2026 at 23:59:59)."}),e.jsx("li",{children:"Each Credit valued at 1 MANA."})]}),e.jsx(i,{children:"Weekly Goals:"}),e.jsxs(n,{children:[e.jsx("li",{children:"Log into DCL on at least 3 separate days - 20 Credits"}),e.jsx("li",{children:"Attend at least 2 events - 10 Credits (Must remain 5+ min)"}),e.jsx("li",{children:"Explore a weekly location - 5 Credits"}),e.jsx("li",{children:"Snap A Photo Emoting With Someone - 5 Credits"})]})]})]}));o.displayName="RewardsTerms";export{o as RewardsTerms};
|