-
Notifications
You must be signed in to change notification settings - Fork 164
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
2 changed files
with
43 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,34 @@ | ||
import { H2, H4, UL } from '@blueprintjs/core'; | ||
|
||
import ContentDisplay from '../../commons/ContentDisplay'; | ||
import { Card, H2, H4, UL } from '@blueprintjs/core'; | ||
|
||
const GitHubClassroomWelcome: React.FC = () => { | ||
const content = ( | ||
<div> | ||
<H2>Welcome to Source Academy with GitHub Classroom!</H2> | ||
<br /> | ||
<H4>Source Academy does not find any course information for this account.</H4> | ||
<div style={{ display: 'flex', justifyContent: 'center' }}> | ||
<UL style={{ textAlign: 'justify', width: '60%' }}> | ||
<li> | ||
If you are enrolled in a Source Academy course that uses GitHub Classroom, check with | ||
the course staff to make sure your account is added to the course. | ||
</li> | ||
<li> | ||
If you are looking for a course to join, check{' '} | ||
<a href="https://github.com/source-academy/general/blob/master/learner/README.md"> | ||
here | ||
</a>{' '} | ||
to find a course that suits your needs. | ||
</li> | ||
</UL> | ||
</div> | ||
return ( | ||
<div className="github-welcome"> | ||
<Card className="github-welcome-content"> | ||
<div style={{ marginTop: '20px', display: 'flex', justifyContent: 'center' }}> | ||
<div> | ||
<H2>Welcome to Source Academy with GitHub Classroom!</H2> | ||
<br /> | ||
<H4>Source Academy does not find any course information for this account.</H4> | ||
<div style={{ display: 'flex', justifyContent: 'center' }}> | ||
<UL style={{ textAlign: 'justify' }}> | ||
<li> | ||
If you are enrolled in a Source Academy course that uses GitHub Classroom, check | ||
with the course staff to make sure your account is added to the course. | ||
</li> | ||
<li> | ||
If you are looking for a course to join, check{' '} | ||
<a href="https://github.com/source-academy/general/blob/master/learner/README.md"> | ||
here | ||
</a>{' '} | ||
to find a course that suits your needs. | ||
</li> | ||
</UL> | ||
</div> | ||
</div> | ||
</div> | ||
</Card> | ||
</div> | ||
); | ||
return <ContentDisplay display={content} loadContentDispatch={() => {}} />; | ||
}; | ||
|
||
export default GitHubClassroomWelcome; |
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