@@ -4,8 +4,6 @@ import { Grid, Typography, Button, Box } from "@material-ui/core"
44import { Image } from "@components/image"
55import { makeStyles , Theme } from "@material-ui/core/styles"
66import { Edition , UserProps } from "@services/user"
7- import Lottie from "react-lottie"
8- import animationData from "../../themes/images/2023/drone.json"
97
108const useStyles = makeStyles ( ( theme : Theme ) => ( {
119 wrapper : {
@@ -15,6 +13,9 @@ const useStyles = makeStyles((theme: Theme) => ({
1513 width : "80%" ,
1614 height : "180px" ,
1715 } ,
16+ textColor : {
17+ color : "#939598" ,
18+ } ,
1819 button : {
1920 width : "320px" ,
2021 height : "44px" ,
@@ -46,7 +47,8 @@ const useStyles = makeStyles((theme: Theme) => ({
4647 background : "linear-gradient(90deg, #FFBD09 0%, #FF111E 100%)" ,
4748 mask : "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)" ,
4849 maskComposite : "xor" ,
49- WebkitMask : "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)" ,
50+ WebkitMask :
51+ "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)" ,
5052 WebkitMaskComposite : "xor" ,
5153 zIndex : - 1 ,
5254 } ,
@@ -93,14 +95,13 @@ const useStyles = makeStyles((theme: Theme) => ({
9395 message : {
9496 width : "164px" ,
9597 height : "120px" ,
96-
9798 } ,
9899 gridItem : {
99100 height : "100%" ,
100101 display : "flex" ,
101102 flexDirection : "column" ,
102103 alignItems : "center" ,
103- textAlign : "center"
104+ textAlign : "center" ,
104105 } ,
105106 gridMessage : {
106107 display : "flex" ,
@@ -214,11 +215,16 @@ const LoggedView = (user: UserProps) => {
214215 >
215216 < Spacing smart = { { margin : "0px 0px 5px" } } >
216217 < Grid item >
217- < Typography align = "left" component = "p" >
218- { " " }
218+ < Typography
219+ align = "left"
220+ component = "p"
221+ className = { classes . textColor }
222+ >
219223 Olá < b > @{ user . githubUser } !</ b >
220224 </ Typography >
221- < TextComponent />
225+ < div className = { classes . textColor } >
226+ < TextComponent />
227+ </ div >
222228 </ Grid >
223229 </ Spacing >
224230 < Grid item >
@@ -251,7 +257,6 @@ const LoggedView = (user: UserProps) => {
251257const ProgressMessage = ( props : any ) => (
252258 < div style = { { maxWidth : 400 } } >
253259 < Typography align = "left" component = "p" >
254- { " " }
255260 Você tem < b > { props . opened } pull requests enviados</ b > e{ " " }
256261 < b > { props . merged } aceito(s) </ b > { " " }
257262 </ Typography >
@@ -261,7 +266,6 @@ const ProgressMessage = (props: any) => (
261266const ConfirmMessage = ( ) => (
262267 < div style = { { maxWidth : 430 } } >
263268 < Typography align = "left" component = "p" >
264- { " " }
265269 < b > Parabéns!</ b > Você concluiu o desafio Hacktoberfest. Confirme o
266270 endereço de envio no minha área.{ " " }
267271 </ Typography >
@@ -271,7 +275,6 @@ const ConfirmMessage = () => (
271275const CongratsMessage = ( ) => (
272276 < div style = { { maxWidth : 430 } } >
273277 < Typography align = "left" component = "p" >
274- { " " }
275278 < b > Parabéns!</ b > Você concluiu o desafio Hacktoberfest.{ " " }
276279 < b > Agora é só esperar sua camiseta chegar</ b > { " " }
277280 </ Typography >
@@ -316,38 +319,49 @@ const DesktopView = (props: DesktopViewProps) => {
316319 variant = "h1"
317320 align = "center"
318321 style = { {
319- fontSize : ' 24px' ,
322+ fontSize : " 24px" ,
320323 fontWeight : 700 ,
321- fontStyle : ' normal' ,
322- lineHeight : ' 31.47px' ,
323- letterSpacing : '6%' ,
324- textAlign : ' center' ,
324+ fontStyle : " normal" ,
325+ lineHeight : " 31.47px" ,
326+ letterSpacing : "6%" ,
327+ textAlign : " center" ,
325328 marginTop : "1.2vw" ,
326- color : "#000000"
329+ color : "#000000" ,
327330 } }
328331 component = "h2"
329332 >
330333 01.10.2025 — 31.10.2025
331334 </ Typography >
332335 < Typography
333336 style = { {
334- fontSize : ' 18px' ,
337+ fontSize : " 18px" ,
335338 fontWeight : 400 ,
336- fontStyle : ' normal' ,
337- letterSpacing : '0%' ,
338- color : ' #939598' ,
339- textAlign : ' center' ,
339+ fontStyle : " normal" ,
340+ letterSpacing : "0%" ,
341+ color : " #939598" ,
342+ textAlign : " center" ,
340343 marginTop : "1vw" ,
341- width : "446px"
344+ width : "446px" ,
342345 } }
343- align = "center" >
344- O Hacktober está aberto a todos os que desejam trilhar o caminho da colaboração e deixar sua marca nos projetos open source.
346+ align = "center"
347+ >
348+ O Hacktober está aberto a todos os que desejam trilhar o caminho da
349+ colaboração e deixar sua marca nos projetos open source.
345350 </ Typography >
346351 { props . user ? < LoggedView { ...props . user } /> : < UnloggedView /> }
347352 </ Grid >
348- < Grid item sm = { 4 } className = { classes . gridItem } >
349- < Box display = "flex" alignItems = "center" justifyContent = "center" height = "100%" paddingLeft = { "440px" } >
350- < Image className = { classes . character } src = { `2025/ilustracao-home.svg` } />
353+ < Grid item sm = { 4 } className = { classes . gridItem } >
354+ < Box
355+ display = "flex"
356+ alignItems = "center"
357+ justifyContent = "center"
358+ height = "100%"
359+ paddingLeft = { "440px" }
360+ >
361+ < Image
362+ className = { classes . character }
363+ src = { `2025/ilustracao-home.svg` }
364+ />
351365 </ Box >
352366 </ Grid >
353367 < Grid item sm = { 4 } className = { classes . gridMessage } >
0 commit comments