Skip to content

Commit 6dae7e6

Browse files
➕ chore(package): add next-sitemap
1 parent b038e85 commit 6dae7e6

File tree

5 files changed

+213
-9
lines changed

5 files changed

+213
-9
lines changed

next-sitemap.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
siteUrl: 'https://www.ythecombinator.space',
3+
autoLastmod: false,
4+
generateRobotsTxt: true,
5+
generateIndexSitemap: false,
6+
};

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"scripts": {
1010
"dev": "next",
1111
"build": "next build",
12+
"postbuild": "next-sitemap",
1213
"start": "next start",
1314
"lint": "next lint",
1415
"lint:deadcode": "! ts-prune | grep -v \"used in module\"",
@@ -48,7 +49,9 @@
4849
"next-contentlayer": "^0.3.0",
4950
"next-mdx-remote": "^4.4.1",
5051
"next-seo": "^5.15.0",
52+
"next-sitemap": "^4.1.3",
5153
"next-themes": "^0.2.1",
54+
"pa11y": "^6.2.3",
5255
"pliny": "^0.0.10",
5356
"postcss": "^8.4.21",
5457
"puppeteer": "^19.7.1",

public/robots.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# *
2+
User-agent: *
3+
Allow: /
4+
5+
# Host
6+
Host: https://www.ythecombinator.space
7+
8+
# Sitemaps
9+
Sitemap: https://www.ythecombinator.space/sitemap.xml

public/sitemap.xml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
3+
<url><loc>https://www.ythecombinator.space</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
4+
<url><loc>https://www.ythecombinator.space/about</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
5+
<url><loc>https://www.ythecombinator.space/about/experience</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
6+
<url><loc>https://www.ythecombinator.space/posts</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
7+
<url><loc>https://www.ythecombinator.space/talks</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
8+
<url><loc>https://www.ythecombinator.space/about/clients</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
9+
<url><loc>https://www.ythecombinator.space/about/life</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
10+
<url><loc>https://www.ythecombinator.space/posts/2022-wrapped</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
11+
<url><loc>https://www.ythecombinator.space/posts/jheniffer-was-always-my-favorite-color</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
12+
<url><loc>https://www.ythecombinator.space/posts/driving-towards-a-universal-navigation-strategy-in-react</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
13+
<url><loc>https://www.ythecombinator.space/posts/it-s-all-about-trusting-the-magic-of-beginnings</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
14+
<url><loc>https://www.ythecombinator.space/posts/a-whole-day-playing-with-ipfs</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
15+
<url><loc>https://www.ythecombinator.space/posts/swift-in-the-sky-with-types</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
16+
<url><loc>https://www.ythecombinator.space/posts/o-que-ha-de-novo-com-o-angularjs</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
17+
<url><loc>https://www.ythecombinator.space/talks/deep-diving-on-concurrent-react</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
18+
<url><loc>https://www.ythecombinator.space/talks/the-art-of-notifications</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
19+
<url><loc>https://www.ythecombinator.space/talks/playing-with-watchconnectivity-for-24-hours</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
20+
<url><loc>https://www.ythecombinator.space/talks/designing-for-humans-like-you-and-me</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
21+
<url><loc>https://www.ythecombinator.space/talks/an-introduction-to-git-and-github</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
22+
<url><loc>https://www.ythecombinator.space/talks/super-hybrid-apps-with-ionic</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
23+
<url><loc>https://www.ythecombinator.space/talks/jumping-on-an-adventure-with-metadata-micro-data-and-open-graph</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
24+
<url><loc>https://www.ythecombinator.space/talks/an-open-source-mobile-project-in-two-weeks</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
25+
<url><loc>https://www.ythecombinator.space/talks/back-to-the-future-functional-programming-nowadays</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
26+
<url><loc>https://www.ythecombinator.space/talks/rethinking-automation-npm-to-rule-them-all</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
27+
<url><loc>https://www.ythecombinator.space/talks/break-on-through-to-the-l-side</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
28+
<url><loc>https://www.ythecombinator.space/talks/javascript-in-the-sky-with-types</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
29+
<url><loc>https://www.ythecombinator.space/talks/its-2023-and-i-can-finally-talk-about-atomic-css</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
30+
<url><loc>https://www.ythecombinator.space/talks/hydration-islands-streaming-resumability-oh-my</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
31+
<url><loc>https://www.ythecombinator.space/talks/web-performance-apis-that-you-probably-never-knew-existed</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
32+
<url><loc>https://www.ythecombinator.space/talks/inside-fiber-the-in-depth-overview-you-wanted-a-tldr-for</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
33+
<url><loc>https://www.ythecombinator.space/talks/consistent-ux-at-scale-lessons-learned-when-i-wore-the-designops-hat</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
34+
<url><loc>https://www.ythecombinator.space/talks/the-best-is-yet-to-come-the-future-of-react</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
35+
<url><loc>https://www.ythecombinator.space/talks/the-hitchhikers-guide-to-the-front-end-performance</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
36+
<url><loc>https://www.ythecombinator.space/talks/code-sharing-at-scale-one-codebase-for-web-mobile-and-desktop</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
37+
<url><loc>https://www.ythecombinator.space/talks/the-day-i-reverse-engineered-a-gameboy-advance-game</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
38+
<url><loc>https://www.ythecombinator.space/talks/react-16-x-way-beyond-hooks</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
39+
<url><loc>https://www.ythecombinator.space/talks/state-of-the-art-react-development-flow-with-typescript</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
40+
<url><loc>https://www.ythecombinator.space/talks/the-correctness-by-design-duck-will-bite-php</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
41+
<url><loc>https://www.ythecombinator.space/talks/building-swift-libraries</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
42+
<url><loc>https://www.ythecombinator.space/talks/server-side-goes-serverless</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
43+
<url><loc>https://www.ythecombinator.space/talks/the-future-favors-swift</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
44+
<url><loc>https://www.ythecombinator.space/talks/sweet-macros-o-mine</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
45+
<url><loc>https://www.ythecombinator.space/talks/spritekit-up-and-running</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
46+
<url><loc>https://www.ythecombinator.space/talks/the-state-of-the-state-react-state-management-in-2019</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
47+
</urlset>

0 commit comments

Comments
 (0)