-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Update home and error pages UI (#141)
Co-authored-by: Rohan Gupta <rohan.gupta@gameskraft.com>
- Loading branch information
1 parent
4f85188
commit 24fcbf4
Showing
8 changed files
with
119 additions
and
30 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
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,37 @@ | ||
import React from 'react'; | ||
import classes from './styles.module.scss'; | ||
import { QUESTIONS_INFO } from '../../constants/questions'; | ||
import { Link } from 'react-router-dom'; | ||
|
||
const IndexRoute: React.FC<Props> = () => { | ||
return ( | ||
<section className={classes.container}> | ||
<h1 className={classes.title}>Hey there! 👋🏼</h1> | ||
<p> | ||
The FrontendExpert course takes you through the essential technologies and concepts of the frontend ecosystem. The course can be purchased | ||
through{' '} | ||
<Link to='https://www.algoexpert.io/frontend/product' target='_blank' rel='noopener noreferrer'> | ||
AlgoExpert website | ||
</Link> | ||
. | ||
</p> | ||
<p> | ||
Although I had already attempted the exercises on their coding platform, but for the sake of practising further, I thought of creating this | ||
simple website which is a collection of all the questions and their solutions. You can browse through the list of questions mentioned in the | ||
sidebar and open up any question to view further details. | ||
</p> | ||
<p> | ||
Some of the questions involve usage of certain APIs to fetch data and implement the solution, but due to CORS, their internal APIs are not | ||
accessible. I have explored and used some free alternatives here in order to implement the question. I have pointed out the same in such | ||
questions as well, but just in case I missed out on explicitly mentioning the API endpoints, you can open up the browser's console and head | ||
over to the network tab for more details. | ||
</p> | ||
<p> | ||
<Link to={`fe/exercise/${QUESTIONS_INFO[0].id}`}>Click here</Link> to dive into the first question or select any question of your choice from | ||
the sidebar. Happy learning! | ||
</p> | ||
</section> | ||
); | ||
}; | ||
|
||
export default IndexRoute; |
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,40 @@ | ||
@import '../../constants/theme.scss'; | ||
@import '../../utils/mixins.scss'; | ||
|
||
.container { | ||
@include spacing(3rem 2rem); | ||
max-width: 60rem; | ||
|
||
@media screen and (min-width: 1200px) { | ||
@include spacing(4rem 8rem); | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
} | ||
|
||
& p { | ||
@include theme(color, contrast1Opacity90); | ||
@include spacing(0.5rem 0); | ||
|
||
& a { | ||
@include theme(color, yellow1); | ||
|
||
&:hover { | ||
filter: brightness(80%); | ||
} | ||
} | ||
} | ||
} | ||
|
||
.title { | ||
@include theme(color, red1); | ||
@include spacing(1rem 0); | ||
font-size: 3rem; | ||
letter-spacing: -0.5px; | ||
word-spacing: -1rem; | ||
|
||
@media screen and (min-width: 1200px) { | ||
@include spacing(2rem 0); | ||
font-size: 4rem; | ||
} | ||
} |
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
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
24fcbf4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
frontend-expert-dqpi – ./
frontend-expert-dqpi.vercel.app
frontend-expert-dqpi-git-master-demondaddy22.vercel.app
frontend-expert-dqpi-demondaddy22.vercel.app