Skip to content

Commit

Permalink
fixup! fixup! fixup! Switch from Gatsby to Astro
Browse files Browse the repository at this point in the history
  • Loading branch information
john-kurkowski committed May 4, 2024
1 parent 17f95ef commit c85130b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions lostpixel.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { join } from 'path'
function pagePaths(): string[] {
const siteUrl = 'https://johnkurkowski.com'
const sitemapXml = readFileSync(
join(__dirname, 'public', 'sitemap-0.xml'),
join(__dirname, 'dist', 'sitemap-0.xml'),
'utf-8',
)
const urlsRe = new RegExp(`${siteUrl}(/[^<]*)`, 'g')
Expand All @@ -26,6 +26,6 @@ export const config: CustomProjectConfig = {
lostPixelProjectId: 'clud602ae10romo0e861bvpv2',
pageShots: {
pages: pagePaths().map((path) => ({ path, name: slugify(path) })),
baseUrl: 'http://172.17.0.1:9000',
baseUrl: 'http://172.17.0.1:4321',
},
}
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build]
command = "npm test && npm run build"
publish = "public/"
publish = "dist/"

[build.environment]
NODE_VERSION = "20.12.0"
Expand Down
3 changes: 0 additions & 3 deletions src/css/sticky-footer.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/* stylelint-disable-next-line selector-id-pattern */
#___gatsby,
#gatsby-focus-wrapper,
body,
html {
height: 100%;
Expand Down
4 changes: 2 additions & 2 deletions src/pages/about.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ workflows in company tech talks. Java, Spring, GWT, Hadoop, Django.
## Colophon

This site is coded and written in [iTerm2] and [vim]. It is built around the
framework [GatsbyJS]. The site’s preferred display font is the humanist [Open
framework [Astro]. The site’s preferred display font is the humanist [Open
Sans]. The preferred body font is the modern serif [Lora]. The site is hosted on
[Netlify]. [Its source is available on GitHub][GitHub source].

[Astro]: https://astro.build/
[Corporate UX Maturity: Stages 1-4]:
https://www.nngroup.com/articles/ux-maturity-stages-1-4/
[GatsbyJS]: https://www.gatsbyjs.org/
[GitHub source]: https://github.com/john-kurkowski/john-kurkowski.github.io
[Good Ideas From Mobile Design That Are Good Everywhere]:
/posts/good-ideas-from-mobile-design-that-are-good-everywhere/
Expand Down

0 comments on commit c85130b

Please sign in to comment.