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

Commit d113820

Browse files
author
Colin McDonnell
committed
Added items to Header
1 parent bbed044 commit d113820

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ A dev blog starter for 2020.
2424
- Works as a Markdown static-site generator out of the box
2525
- Supports static exporting and hot reload (powered by Next.js)
2626
- Makes it easy to write custom pages/code in React + TypeScript
27-
- Out of the box support for code blocks with syntax highlighting
27+
- Support for code blocks with syntax highlighting
2828

2929
Read more about the motivation + design behind Devii at [https://vriad.com/blog/devii](https://vriad.com/blog/devii).
3030

components/Header.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,15 @@ export const Header: React.FC = () => (
1919
<a href="/" style={{ textDecoration: 'none' }}>
2020
<p style={{ color: 'white' }}>{config.siteName}</p>
2121
</a>
22+
<div style={{ flex: 1 }} />
23+
<a href="https://github.com/vriad/devii" style={{ textDecoration: 'none' }}>
24+
<p style={{ padding: '0px 1em', color: 'white' }}>GitHub</p>
25+
</a>
26+
<a
27+
href="https://devii.dev/blog/the-ultimate-tech-stack/"
28+
style={{ textDecoration: 'none' }}
29+
>
30+
<p style={{ padding: '0px 1em', color: 'white' }}>Motivation</p>
31+
</a>
2232
</div>
2333
);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Let's quickly run through my list of design goals:
2525

2626
### React (+ TypeScript)
2727

28-
I want to build the site f in React and TypeScript. I love them both wholeheartedly, I use them for my day job, and they're gonna be around for a long time. Plus writing untyped JS makes me feel dirty.
28+
I want to build the site with React and TypeScript. I love them both wholeheartedly, I use them for my day job, and they're gonna be around for a long time. Plus writing untyped JS makes me feel dirty.
2929

3030
I don't want limitations on what my personal website can be/become. Sure, at present my site consists of two simple, static blog posts. But down the road, I may want to build a page that contains an interactive visualization, a filterable table, or a demo of a React component I'm open-sourcing. Even something simple (like the email newsletter signup form at the bottom of this page) was much more pleasant to implement in React; how did we use to build forms again?
3131

pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const Home = (props: {
8383

8484
<p style={{ textAlign: 'right' }}>
8585
— Dan Abramov, taken{' '}
86-
<a href="https://github.com/vriad/devii" target="_blank">
86+
<a href="https://github.com/vriad/devii/issues/2" target="_blank">
8787
utterly out of context
8888
</a>
8989
</p>

0 commit comments

Comments
 (0)