Skip to content

Commit 8ce9daf

Browse files
authored
Home updates (#5)
* Home page updates - Add heading to home page - Wrap quote in a p - Give quote some margins * Tone down the margins, fam
1 parent d6c2e4e commit 8ce9daf

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/App.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ a {
6666
margin: 1em;
6767
}
6868

69+
.callout p {
70+
margin: .2em;
71+
}
72+
6973
.callout a {
7074
color: #DD0B1E;
7175
}

src/components/Home.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ import {h} from 'preact'; /** @jsx h */
22
import {Link} from 'preact-router';
33

44
export const Home = () => (
5-
<div class='content'>
5+
<div>
6+
<h1>Hello</h1>
7+
<div class='content'>
68
<div class='callout'>
7-
&ldquo;Creating a website about yourself feels kind of like when you were a kid and had to move schools; suddenly you find yourself standing in front of the class, explaining your weird & overly complicated story like an idiot.&rdquo; - Me (<Link href="/about">Learn More...</Link>)
9+
<p>&ldquo;Creating a website about yourself feels kind of like when you were a kid and had to move schools; suddenly you find yourself standing in front of the class, explaining your weird & overly complicated story like an idiot.&rdquo; - Me (<Link href="/about">Learn More...</Link>)</p>
810
</div>
11+
</div>
912
</div>
1013
);

0 commit comments

Comments
 (0)