Fix/landing page vs learn page (#38085)
* fix: Use template literals for welcome conditional on /learn page * fix: Make sign in button on /learn page same width as landing page
This commit is contained in:
committed by
Oliver Eyton-Williams
parent
d29bfcd1e9
commit
e7ccaeff13
@ -42,9 +42,7 @@ function Intro({
|
|||||||
<Col sm={10} smOffset={1} xs={12}>
|
<Col sm={10} smOffset={1} xs={12}>
|
||||||
<Spacer />
|
<Spacer />
|
||||||
<h1 className='text-center big-heading'>
|
<h1 className='text-center big-heading'>
|
||||||
{name
|
{name ? `Welcome back, ${name}.` : `Welcome to freeCodeCamp.org`}
|
||||||
? 'Welcome back, ' + name + '.'
|
|
||||||
: 'Welcome to freeCodeCamp.org'}
|
|
||||||
</h1>
|
</h1>
|
||||||
<Spacer />
|
<Spacer />
|
||||||
</Col>
|
</Col>
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
|
|
||||||
#learn-app-wrapper h2.medium-heading {
|
#learn-app-wrapper h2.medium-heading {
|
||||||
margin-bottom: 50px;
|
margin-bottom: 50px;
|
||||||
margin-top: 0px;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ body {
|
|||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
font-size: 27px;
|
font-size: 27px;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.default-layout {
|
.default-layout {
|
||||||
|
Reference in New Issue
Block a user