This is a solution to the QR code component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
- Solution URL: Github
- Live Site URL: Github Pages
- React - JS library
- Styled Components - For styles
In order to import custom font, i added the following snippet inside <head>...</head>
tag of ./index.html
.
<style>
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap");
</style>
Then to assign this font to root, i added the following snippet inside ./src/App/App.styled.ts
file.
:root {
font-family: "Outfit", sans-serif;
font-size: 15px;
}
./src/styled.d.ts
./src/theme.ts
./src/App/App.tsx
- Website - Arbaz Ajaz
- Frontend Mentor - @bitofarbaz
- Twitter - @bitofarbaz