File tree Expand file tree Collapse file tree 5 files changed +46
-11
lines changed Expand file tree Collapse file tree 5 files changed +46
-11
lines changed Original file line number Diff line number Diff line change 1919 }
2020 }
2121 }
22-
22+
2323 & -inner {
2424 padding : calc ($space-xxxxl + $space-sm ) 0 $space-lg ;
2525 @include contentWidth ;
4747 flex-direction : column ;
4848 }
4949 }
50-
50+
5151 & -card-col {
5252 flex : 0 0 auto ;
5353 }
54-
54+
5555 & -text {
5656 @extend .body-medium-normal ;
57- margin-top : $space-xxl ;
57+ margin-top : $space-sm ;
5858 }
5959}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ interface WaveHeroProps {
77 children ?: ReactNode
88 text : string
99 theme ?: 'light'
10- title : string
10+ title : ReactNode
1111}
1212
1313const WaveHero : FC < WaveHeroProps > = ( props : WaveHeroProps ) => {
Original file line number Diff line number Diff line change 11@import ' ../../../lib/styles/includes' ;
22
33.hero-wrap {
4+ svg :global (.tca-logo ) {
5+ margin-bottom : $space-xxl ;
6+ max-width : calc (100% - 70px );
7+ }
8+
49 :global(.hero-card-col ) {
510 width : 43.5% ;
611 max-width : 600px ;
7-
12+
813 @include ltemd {
914 width : 100% ;
1015 max-width : none ;
1520.courses-section {
1621 padding : $space-xxxxl 0 ;
1722 position : relative ;
18-
23+
1924 @include ltemd {
2025 padding-top : $space-xxl ;
2126 }
3843 @include ltelg {
3944 grid-template-columns : repeat (2 , 1fr );
4045 }
41-
46+
4247 @media (max-width : 576px ) {
4348 grid-template-columns : repeat (1 , 1fr );
4449 }
45-
50+
4651 @include ltemd {
4752 margin-top : $space-xxl ;
4853 }
49- }
54+ }
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import {
1313
1414import { CoursesCard } from './courses-card'
1515import { ProgressBlock } from './progress-block'
16+ import { ReactComponent as TcAcademyFullLogoSvg } from './tca-full-logo.svg'
1617import styles from './WelcomePage.module.scss'
1718
1819const WelcomePage : FC < { } > = ( ) => {
@@ -30,7 +31,12 @@ const WelcomePage: FC<{}> = () => {
3031 < Portal portalId = 'page-subheader-portal-el' >
3132 < div className = { styles [ 'hero-wrap' ] } >
3233 < WaveHero
33- title = 'Welcome to Topcoder ACADEMY'
34+ title = { (
35+ < >
36+ < TcAcademyFullLogoSvg className = 'tca-logo' />
37+ Welcome!
38+ </ >
39+ ) }
3440 text = { `
3541 The Topcoder Academy will provide you with learning opportunities
3642 in the form of guided learning paths.
You can’t perform that action at this time.
0 commit comments