Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Commit 8fc3e43

Browse files
author
Colin McDonnell
committed
Fmc
1 parent 0f59bf1 commit 8fc3e43

File tree

3 files changed

+56
-36
lines changed

3 files changed

+56
-36
lines changed

md/blog/the-ultimate-tech-stack.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ published: true
44
datePublished: 1590463136775
55
author: Colin McDonnell
66
authorTwitter: vriad
7-
authorPhoto: https://vriad.com/colin_square_small.jpg
8-
tags:
7+
authorPhoto: /profile.jpg
8+
tags:
99
- Static Site Generators
1010
- React
1111
- Next.js
12-
thumbnailPhoto: https://vriad.com/pancakes_thumb.jpeg
13-
bannerPhoto: https://vriad.com/pancakes.jpeg
12+
thumbnailPhoto: /pancakes_thumb.jpeg
13+
bannerPhoto: /pancakes.jpeg
1414
canonicalUrl: https://vriad.com/essays/devii
1515
---
1616

pages/index.tsx

Lines changed: 51 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -20,43 +20,59 @@ const Home = (props: {
2020
posts: PostData[];
2121
}) => {
2222
return (
23-
<div style={{
24-
width: '100%'
25-
}}>
23+
<div
24+
style={{
25+
width: '100%',
26+
}}
27+
>
2628
<Head>
2729
<title>Introducing Devii</title>
2830
<link rel="icon" href="/favicon.ico" />
2931
</Head>
30-
<div style={{
31-
maxWidth: '550px',
32-
margin: 'auto',
33-
padding: '50px 3vw'
34-
}}>
32+
<div
33+
style={{
34+
maxWidth: '550px',
35+
margin: 'auto',
36+
padding: '50px 3vw',
37+
}}
38+
>
3539
<Markdown source={props.introduction} />
3640
</div>
3741

3842
<div style={sectionStyle}>
39-
<h2 style={{
40-
margin: '4px 0px',
41-
fontSize: '34pt'
42-
}}>Features</h2>
43-
<div style={{
44-
maxWidth: '550px'
45-
}}>
43+
<h2
44+
style={{
45+
margin: '4px 0px',
46+
fontSize: '34pt',
47+
}}
48+
>
49+
Features
50+
</h2>
51+
<div
52+
style={{
53+
maxWidth: '550px',
54+
}}
55+
>
4656
<Markdown source={props.features} />
4757
</div>
4858
</div>
4959

5060
<div style={sectionStyle}>
51-
<h2 style={{
52-
margin: '4px 0px',
53-
fontSize: '34pt'
54-
}}>My blog posts</h2>
55-
<p style={{
56-
maxWidth: '550px',
57-
paddingBottom: '30px',
58-
lineHeight: 1.7
59-
}}>
61+
<h2
62+
style={{
63+
margin: '4px 0px',
64+
fontSize: '34pt',
65+
}}
66+
>
67+
My blog posts
68+
</h2>
69+
<p
70+
style={{
71+
maxWidth: '550px',
72+
paddingBottom: '30px',
73+
lineHeight: 1.7,
74+
}}
75+
>
6076
This section demonstrates the power of dynamic imports. Every Markdown
6177
file under <code>/md/blog</code> is automatically parsed into a
6278
structured TypeScript object and available in the{' '}
@@ -81,10 +97,12 @@ const Home = (props: {
8197
</div>
8298

8399
<div style={{ ...sectionStyle }}>
84-
<h2 style={{
85-
textAlign: 'center',
86-
fontSize: '34pt'
87-
}}>
100+
<h2
101+
style={{
102+
textAlign: 'center',
103+
fontSize: '34pt',
104+
}}
105+
>
88106
Testimonials
89107
</h2>
90108
<blockquote
@@ -110,7 +128,7 @@ const Home = (props: {
110128
<h2
111129
style={{
112130
textAlign: 'center',
113-
fontSize: '34pt'
131+
fontSize: '34pt',
114132
}}
115133
>
116134
README.md
@@ -120,7 +138,7 @@ const Home = (props: {
120138
textAlign: 'center',
121139
maxWidth: '600px',
122140
margin: 'auto',
123-
lineHeight: 1.7
141+
lineHeight: 1.7,
124142
}}
125143
>
126144
Below is the README.md for devii. It was imported and rendered using
@@ -156,7 +174,8 @@ const Home = (props: {
156174
style={{
157175
margin: '4px 0px',
158176
fontSize: '22pt',
159-
paddingBottom: '30px' }}
177+
paddingBottom: '30px',
178+
}}
160179
>
161180
Get started
162181
</h2>
@@ -168,6 +187,7 @@ const Home = (props: {
168187
fontSize: '14pt',
169188
border: 'none',
170189
borderRadius: '10px',
190+
cursor: 'pointer',
171191
}}
172192
>
173193
Fork Devii on GitHub

public/rss.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[My Awesome Blog]]></title><description><![CDATA[I write about code 'n stuff]]></description><link>https://alyssaphacker.com</link><image><url>https://alyssaphacker.com/icon.png</url><title>My Awesome Blog</title><link>https://alyssaphacker.com</link></image><generator>RSS for Node</generator><lastBuildDate>Sun, 27 Sep 2020 21:55:32 GMT</lastBuildDate><atom:link href="https://alyssaphacker.com/rss.xml" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Mar 2020 04:00:00 GMT</pubDate><copyright><![CDATA[2020 Alyssa P. Hacker]]></copyright><language><![CDATA[en]]></language><managingEditor><![CDATA[alyssa@example.com]]></managingEditor><webMaster><![CDATA[alyssa@example.com]]></webMaster><ttl>60</ttl><item><title><![CDATA[Dan Abramov knows about Devii]]></title><description><![CDATA[<p>Dan Abramov knows about Devii!</p>
1+
<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[My Awesome Blog]]></title><description><![CDATA[I write about code 'n stuff]]></description><link>https://alyssaphacker.com</link><image><url>https://alyssaphacker.com/icon.png</url><title>My Awesome Blog</title><link>https://alyssaphacker.com</link></image><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2020 03:06:14 GMT</lastBuildDate><atom:link href="https://alyssaphacker.com/rss.xml" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Mar 2020 04:00:00 GMT</pubDate><copyright><![CDATA[2020 Alyssa P. Hacker]]></copyright><language><![CDATA[en]]></language><managingEditor><![CDATA[alyssa@example.com]]></managingEditor><webMaster><![CDATA[alyssa@example.com]]></webMaster><ttl>60</ttl><item><title><![CDATA[Dan Abramov knows about Devii]]></title><description><![CDATA[<p>Dan Abramov knows about Devii!</p>
22
<blockquote>
33
<p>Seems like it might be useful!
44
— Dan Abramov, taken entirely out of context</p>

0 commit comments

Comments
 (0)