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

Commit b72e369

Browse files
author
Colin McDonnell
committed
Removed references to vriad
1 parent e350961 commit b72e369

File tree

9 files changed

+29
-42
lines changed

9 files changed

+29
-42
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if you're happy and you know it, star this repo
77
</p>
88
<p align="center">
99
<a href="https://opensource.org/licenses/MIT" rel="nofollow">
10-
<img src="https://img.shields.io/github/license/vriad/devii?alt" alt="License" style="width:100px;">
10+
<img src="https://img.shields.io/github/license/colinhacks/devii?alt" alt="License" style="width:100px;">
1111
</a>
1212
</p>
1313

@@ -25,7 +25,7 @@ if you're happy and you know it, star this repo
2525
- Automatic RSS feed generation
2626
- SEO best practices (title tag, meta tags, canonical URLs)
2727

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

3030
<!--
3131
@@ -251,7 +251,7 @@ There's nothing "under the hood" here. You can view and modify all the files tha
251251

252252
To get started customizing, check out the source code of `index.tsx` (the home page), `BlogPost.tsx` (the blog post template), and `Markdown.tsx` (the Markdown renderer).
253253

254-
Head to the GitHub repo to get started: [https://github.com/vriad/devii](https://github.com/vriad/devii). If you like this project, leave a ⭐️star⭐️ to help more people find Devii 😎
254+
Head to the GitHub repo to get started: [https://github.com/colinhacks/devii](https://github.com/colinhacks/devii). If you like this project, leave a ⭐️star⭐️ to help more people find Devii 😎
255255

256256
# CLI
257257

components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const Header: React.FC = () => (
55
<div className="header">
66
<a href="/">{globals.siteName}</a>
77
<div className="flex-spacer" />
8-
<a href="https://github.com/vriad/devii">GitHub</a>
8+
<a href="https://github.com/colinhacks/devii">GitHub</a>
99
<a href="/blog/the-ultimate-tech-stack">Motivation</a>
1010
</div>
1111
);

md/blog/devii.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ Devii is a starter kit for building a personal website with the best tools 2020
3333

3434
- **Utterly customizable**: We provide a minimal interface to get you started, but you can customize every aspect of the rendering and styling by just modifying `index.tsx` (the home page), `BlogPost.tsx` (the blog post template), and `Markdown.tsx` (the Markdown renderer). And of course you can add entirely new pages as well!
3535

36-
Head to the GitHub repo to get started: [https://github.com/vriad/devii](https://github.com/vriad/devii). If you like this project, leave a ⭐️star⭐️ to help more people find Devii 😎
36+
Head to the GitHub repo to get started: [https://github.com/colinhacks/devii](https://github.com/colinhacks/devii). If you like this project, leave a ⭐️star⭐️ to help more people find Devii 😎

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,26 @@ title: Choosing a tech stack for my personal dev blog in 2020
33
published: true
44
datePublished: 1590463136775
55
author: Colin McDonnell
6-
authorTwitter: vriad
6+
authorTwitter: colinhacks
77
authorPhoto: /img/profile.jpg
88
tags:
99
- Static Site Generators
1010
- React
1111
- Next.js
1212
thumbnailPhoto: /img/pancakes_thumb.jpeg
1313
bannerPhoto: /img/pancakes.jpeg
14-
canonicalUrl: https://vriad.com/essays/devii
14+
canonicalUrl: https://colinhacks.com/essays/devii
1515
---
1616

17-
> Originally published at [https://vriad.com/essays/devii](https://vriad.com/essays/devii). Check out the HN <del>roast</del> discussion <a href="https://news.ycombinator.com/item?id=23309002">here</a>! 🤗
17+
> Originally published at [https://colinhacks.com/essays/devii](https://colinhacks.com/essays/devii). Check out the HN <del>roast</del> discussion <a href="https://news.ycombinator.com/item?id=23309002">here</a>! 🤗
1818
1919
I recently set out to build my personal website — the one you're reading now, as it happens!
2020

2121
Surprisingly, it was much harder than expected to put together a "tech stack" that met my criteria. My criteria are pretty straightforward; I would expect most React devs to have a similar list. Yet it was surprisingly hard to put all these pieces together.
2222

2323
Given the lack of a decent out-of-the-box solution, I worry that many developers are settling for static-site generators that place limits on the interactivity and flexibility of your website. We can do better.
2424

25-
> Clone the repo here to get started with this setup: https://github.com/vriad/devii
25+
> Clone the repo here to get started with this setup: https://github.com/colinhacks/devii
2626
2727
Let's quickly run through my list of design goals:
2828

@@ -32,7 +32,7 @@ I want to build the site with React and TypeScript. I love them both wholehearte
3232

3333
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?
3434

35-
Plus: I want access to the npm ecosystem and all my favorite UI, animation, and styling libraries. I sincerely hope I never write another line of raw CSS ever again; CSS-in-JS 4 lyfe baby. If you want to start a Twitter feud with me about this, by all means [at me](https://twitter.com/vriad).
35+
Plus: I want access to the npm ecosystem and all my favorite UI, animation, and styling libraries. I sincerely hope I never write another line of raw CSS ever again; CSS-in-JS 4 lyfe baby. If you want to start a Twitter feud with me about this, by all means [at me](https://twitter.com/colinhacks).
3636

3737
### Good authoring experience
3838

@@ -50,7 +50,7 @@ Instead I want every page of my site to be pre-rendered to a set of fully static
5050

5151
## My solution
5252

53-
I describe my final architecture design below, along with my rationale for each choice. I distilled this setup into a website starter/boilerplate available here: https://github.com/vriad/devii. Below, I allude to certain files/functions I implemented; to see the source code of these, just clone the repo `git clone git@github.com:vriad/devii.git`
53+
I describe my final architecture design below, along with my rationale for each choice. I distilled this setup into a website starter/boilerplate available here: https://github.com/colinhacks/devii. Below, I allude to certain files/functions I implemented; to see the source code of these, just clone the repo `git clone git@github.com:colinhacks/devii.git`
5454

5555
### Next.js
5656

@@ -170,12 +170,12 @@ To start customizing, modify `index.tsx` (the home page), `Essay.tsx` (the blog
170170

171171
## Get started
172172

173-
Head to the GitHub repo to get started: [https://github.com/vriad/devii](https://github.com/vriad/devii). If you like this project, leave a ⭐️star⭐️ to help more people find Devii! 😎
173+
Head to the GitHub repo to get started: [https://github.com/colinhacks/devii](https://github.com/colinhacks/devii). If you like this project, leave a ⭐️star⭐️ to help more people find Devii! 😎
174174

175175
To jump straight into the code, clone the repo and start the development server like so:
176176

177177
```sh
178-
git clone git@github.com:vriad/devii.git mysite
178+
git clone git@github.com:colinhacks/devii.git mysite
179179
cd mysite
180180
yarn
181181
yarn dev

md/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Devii is a starter kit for building your personal developer website. Powered by the best technologies 2020 has to offer.
22

3-
It's not a a framework or a library, it's a just a simple project that contains some useful utilities and patterns that'll help you hit the ground running. In fact, the [GitHub repo for Devii](https://github.com/vriad/devii) contains the code for the site you're currently reading!
3+
It's not a a framework or a library, it's a just a simple project that contains some useful utilities and patterns that'll help you hit the ground running. In fact, the [GitHub repo for Devii](https://github.com/colinhacks/devii) contains the code for the site you're currently reading!
44

55
Devii doesn't try to be a fully functional blog out of the box. After cloning/forking the repo, you'll need to delete the contents of `index.tsx` (the page you're reading now!) and implement your own homepage. Devii makes it easier — for instance, you can access a list of all your blog posts in `props.posts` — but you still have to build the site you're imagining in your mind's eye.
66

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"description": "A Medium inspired dev blog starter for Next.js",
55
"repository": {
66
"type": "git",
7-
"url": "https://github.com/vriad/devii"
7+
"url": "https://github.com/colinhacks/devii"
88
},
9-
"author": "Colin McDonnell <colin@vriad.com>",
9+
"author": "Colin McDonnell <colin@colinhacks.com>",
1010
"license": "MIT",
1111
"bugs": {
12-
"url": "https://github.com/vriad/devii/issues"
12+
"url": "https://github.com/colinhacks/devii/issues"
1313
},
14-
"homepage": "https://github.com/vriad/devii",
14+
"homepage": "https://github.com/colinhacks/devii",
1515
"tags": [
1616
"blog template",
1717
"react",

pages/index.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ const Home = (props: {
5454
</p>
5555
<p>
5656
— Dan Abramov, taken{' '}
57-
<a href="https://github.com/vriad/devii/issues/2" target="_blank">
57+
<a
58+
href="https://github.com/colinhacks/devii/issues/2"
59+
target="_blank"
60+
>
5861
{' '}
5962
utterly out of context
6063
</a>
@@ -69,8 +72,8 @@ const Home = (props: {
6972
Next.js dynamic imports. The rest of this page (including this
7073
paragraph) are rendered with React. You can also read the README on
7174
GitHub at{' '}
72-
<a href="https://github.com/vriad/devii">
73-
https://github.com/vriad/devii
75+
<a href="https://github.com/colinhacks/devii">
76+
https://github.com/colinhacks/devii
7477
</a>
7578
.
7679
</p>
@@ -84,7 +87,7 @@ const Home = (props: {
8487

8588
<div className="section alternate">
8689
<h2 className="centered">Get started</h2>
87-
<a href="https://github.com/vriad/devii">
90+
<a href="https://github.com/colinhacks/devii">
8891
<button className="fork-button">Go to README</button>
8992
</a>
9093
</div>

rssUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const generateRSS = async (posts: PostData[]) => {
4141
feed.item({
4242
title: post.title,
4343
description: html,
44-
url: `https://vriad.com/${post.path}`,
44+
url: `${globals.url}/${post.path}`,
4545
categories: post.tags || [],
4646
author: post.author || 'Colin McDonnell',
4747
date: new Date(post.datePublished || 0).toISOString(),

sitemap.ts

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export const sitemap = '';
22
import glob from 'glob';
3+
import { globals } from './globals';
34
import { getStaticPaths as getBlogPaths } from './pages/blog/[blog]';
45

56
export const generateSitemap = async () => {
@@ -17,32 +18,15 @@ export const generateSitemap = async () => {
1718
<?xml version="1.0" encoding="UTF-8"?>
1819
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
1920
<url>
20-
<loc>https://vriad.com</loc>
21+
<loc>${globals.url}</loc>
2122
<lastmod>2020-06-01</lastmod>
2223
</url>
2324
${[...pagePaths, ...blogPaths].map((path) => {
2425
const item = [`<url>`];
25-
item.push(` <loc>https://vriad.com${path}</loc>`);
26+
item.push(` <loc>${globals.url}${path}</loc>`);
2627
item.push(` <lastmod>2020-06-01</lastmod>`);
2728
return [`<url>`];
2829
})}
29-
30-
<url>
31-
<loc>https://vriad.com/essay/zod</loc>
32-
<lastmod>2020-03-28</lastmod>
33-
</url>
34-
<url>
35-
<loc>https://vriad.com/essay/devii</loc>
36-
<lastmod>2020-05-28</lastmod>
37-
</url>
38-
<url>
39-
<loc>https://vriad.com/essay/say-no-to-emotion-core</loc>
40-
<lastmod>2020-06-05</lastmod>
41-
</url>
42-
<url>
43-
<loc>https://vriad.com/essay/css-in-js-is-inevitable</loc>
44-
<lastmod>2020-06-07</lastmod>
45-
</url>
4630
</urlset>`;
4731

4832
return sitemap;

0 commit comments

Comments
 (0)