Skip to content

Commit

Permalink
Add assets and fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
Donovan Roubos committed Mar 16, 2020
1 parent 8c70468 commit 5f0c371
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 5 deletions.
Binary file added public/img/hero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions public/img/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,19 @@ import React from 'react'
// Components
import Button from '../components/atoms/Button'

// Styles
import '../styles/pages/home.scss'

function Homepage() {
return (
<main className="home">
<div className="grid">
<div className="container-sm">
<h1 className="title-layer1-700">
<span role="img" aria-label="wave">👋</span>
<span role="img" aria-label="wave">👋 </span>
Assignment boilerplate
</h1>
<Button>Doe is</Button>
<Button>Click here</Button>
</div>
</div>
</main>
Expand Down
2 changes: 2 additions & 0 deletions src/styles/base/_fonts.scss
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
// Import font face here
@import url('https://fonts.googleapis.com/css?family=Lora&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
3 changes: 0 additions & 3 deletions src/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,3 @@
@import './base/reset';
@import './base/base';
@import './base/typography';

// Pages
@import './pages/home';
2 changes: 2 additions & 0 deletions src/styles/pages/_home.scss → src/styles/pages/home.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.home {
padding: 0 64px;

h1 {
margin: 96px 0;
}
Expand Down

0 comments on commit 5f0c371

Please sign in to comment.