-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
160 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import React, { PureComponent } from "react"; | ||
|
||
|
||
import { | ||
CompletedHeader, | ||
Results, | ||
} from "components"; | ||
|
||
import "./Completed.css"; | ||
|
||
export default class Completed extends PureComponent { | ||
render() { | ||
|
||
return ( | ||
<div className={`Completed`}> | ||
<CompletedHeader/> | ||
<Results/> | ||
</div> | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.Completed { | ||
padding: 80px 20px 0; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { default as Completed } from './Completed.container'; | ||
|
55 changes: 55 additions & 0 deletions
55
src/components/Completed/CompletedHeader/CompletedHeader.component.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import React, { PureComponent } from 'react'; | ||
|
||
import PropTypes from 'prop-types'; | ||
|
||
import { | ||
|
||
} from 'components'; | ||
|
||
import './CompletedHeader.css'; | ||
|
||
export default class CompletedHeader extends PureComponent { | ||
static propTypes = { | ||
name: PropTypes.string.isRequired, | ||
}; | ||
|
||
render() { | ||
const {name} = this.props; | ||
|
||
return ( | ||
<header className={`CompletedHeader`}> | ||
<div className={`CompletedHeader__header-content`}> | ||
<h1 className={`CompletedHeader__title`}>{`Congratulations ${name}, you're finished!`}</h1> | ||
<h2 className={`CompletedHeader__coding-strength`}> | ||
{`Your Coding Strength is: `} | ||
<strong>{`Javascript Proficiency`}</strong> | ||
</h2> | ||
<p> | ||
Based on your responses, you have solid | ||
understanding of the foundational JavaScript | ||
essentials you need to learn mobile app development. | ||
Consider getting started with a training program | ||
that offers opportunities for practical, real world | ||
experience building apps. | ||
</p> | ||
|
||
<p> | ||
You can review your results below, and we also sent | ||
a recap email with your responses to your inbox. If | ||
you want me to review your assessment results and | ||
provide completely personalized recommendations to | ||
make sure you get started right, click below to book | ||
a <strong>{`free 15-minute coaching session`}</strong>{` `} | ||
with me! | ||
</p> | ||
<a | ||
href={`#`} | ||
className={`CompletedHeader__schedule-call-button btn`} | ||
> | ||
Schedule a free coaching call | ||
</a> | ||
</div> | ||
</header> | ||
); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/components/Completed/CompletedHeader/CompletedHeader.container.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { connect } from 'react-redux'; | ||
|
||
import { | ||
quizNameSelector, | ||
} from 'selectors'; | ||
|
||
|
||
import CompletedHeader from './CompletedHeader.component'; | ||
|
||
export default connect((st) => ({ | ||
name: quizNameSelector(st), | ||
}), {})(CompletedHeader); |
17 changes: 7 additions & 10 deletions
17
src/components/Results/Results/Results.css → ...leted/CompletedHeader/CompletedHeader.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,27 @@ | ||
.Results { | ||
padding: 80px 20px 0; | ||
} | ||
|
||
.Results__header { | ||
.CompletedHeader { | ||
padding-bottom: 45px; | ||
margin-bottom: 45px; | ||
border-bottom: 1px solid #E8E8E8 | ||
} | ||
|
||
.Results__header-content { | ||
.CompletedHeader__header-content { | ||
max-width: 800px; | ||
} | ||
|
||
.Results__title { | ||
.CompletedHeader__title { | ||
color: var(--very-dark-blue); | ||
font-size: 2rem; | ||
line-height: 1.3; | ||
margin-bottom: 40px; | ||
font-weight: 900; | ||
} | ||
|
||
.Results__coding-strength { | ||
.CompletedHeader__coding-strength { | ||
font-size: 1.5rem; | ||
line-height: 1.3; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.Results__schedule-call-button { | ||
.CompletedHeader__schedule-call-button { | ||
margin-top: 25px | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as CompletedHeader } from './CompletedHeader.container'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/components/Completed/CompletedResultsList/CompletedResultsList.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.CompletedResultsList { | ||
list-style-type: none; | ||
margin: 0; | ||
} | ||
|
||
.CompletedResultsList > li { | ||
margin: 0 | ||
} | ||
|
||
.CompletedResultsList__question-title { | ||
margin-bottom: 20px | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as CompletedResultsList } from './CompletedResultsList.container'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React, { PureComponent } from 'react'; | ||
|
||
import PropTypes from 'prop-types'; | ||
|
||
import { | ||
CompletedResultsList | ||
} from 'components'; | ||
|
||
import './Results.css'; | ||
|
||
export default class Results extends PureComponent { | ||
|
||
render() { | ||
|
||
return ( | ||
<div> | ||
<h2 className={`Results__title`}>{`Quiz Results`}</h2> | ||
<CompletedResultsList/> | ||
</div> | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.Results__title { | ||
font-size: 2rem; | ||
color: var(--dark-gray); | ||
margin-bottom: 40px; | ||
font-weight: 900 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as Results } from './Results.component'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export * from './Completed'; | ||
export * from './CompletedHeader'; | ||
export * from './CompletedResultsList'; | ||
export * from './Results'; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
export * from './ActionButton'; | ||
export * from './ActivityIndicator'; | ||
export * from './App'; | ||
export * from './Completed'; | ||
export * from './EmailCapture'; | ||
export * from './NameCapture'; | ||
export * from './QuestionAnswer'; | ||
export * from './Quiz'; | ||
export * from './QuizProgressIndicator'; | ||
export * from './QuizQuestion'; | ||
export * from './Results'; | ||
export * from './TextInput'; |