Skip to content

Commit c9bc1aa

Browse files
ai -> library/ai
something in the works here something in the works
1 parent b2b884b commit c9bc1aa

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

next.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
module.exports = {
22
reactStrictMode: true,
3+
async redirects() {
4+
return [
5+
{
6+
source: "/ai",
7+
destination: "/library/ai",
8+
permanent: true
9+
}
10+
];
11+
},
312
}

pages/ai.js renamed to pages/library/ai.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import React from 'react';
55

66
import { NextSeo } from 'next-seo';
77

8-
import Reading from '../components/reading.js';
8+
import Reading from '../../components/reading.js';
99

10-
import styles from '../styles/blog.module.scss';
10+
import styles from '../../styles/blog.module.scss';
1111

1212

1313
export default function AI({ readings }) {

pages/projects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export async function getStaticProps() {
5757
{
5858
"title": "AI Reading List",
5959
"description": "My reading list for the most important question humanity has faced: how do we adapt to a new world with AI? Curated by me and automatically updated every hour via an API that I've built out.",
60-
"link": "/ai",
60+
"link": "/library/ai",
6161
"photo": "/projects/people-walking.jpg",
6262
"photoalt": "Human silhouettes walking around"
6363
},

0 commit comments

Comments
 (0)