Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .fallow/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*
3 changes: 3 additions & 0 deletions .fallow/dupes-baseline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"clone_groups": []
}
4 changes: 4 additions & 0 deletions .fallow/health-baseline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"runtime_coverage_findings": [],
"target_keys": []
}
2 changes: 2 additions & 0 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,7 @@ jobs:
# audit needs a merge base; depth-1 checkout has no local main ref
fetch-depth: 0
- uses: ./.github/actions/install-bun-and-dependencies
- name: Astro sync
run: bun run astro sync
- name: Fallow audit
run: bun run fallow:audit -- --base ${{ github.event.pull_request.base.sha || 'origin/main' }}
39 changes: 37 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
// @ts-check
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';
import {vanillaExtractPlugin} from '@vanilla-extract/vite-plugin';
import {defineConfig} from 'astro/config';

// https://astro.build/config
export default defineConfig({});
/*
* Constants.
*/

const SITE_URL = 'https://greglinscheid.com';

const SITEMAP_EXCLUDED_PATHS = ['/404/', '/500/'];

/*
* Config.
*/

export default defineConfig({
site: SITE_URL,
trailingSlash: 'always',
markdown: {
syntaxHighlight: 'shiki',
shikiConfig: {
themes: {
light: 'github-light',
dark: 'github-dark'
}
}
},
integrations: [
mdx(),
sitemap({
filter: page => !SITEMAP_EXCLUDED_PATHS.some(path => page.includes(path))
})
],
vite: {
plugins: [vanillaExtractPlugin()]
}
});
263 changes: 261 additions & 2 deletions bun.lock

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
"fallow:audit": "fallow audit"
},
"devDependencies": {
"@astrojs/mdx": "^6.0.2",
"@astrojs/rss": "^4.0.18",
"@astrojs/sitemap": "^3.7.3",
"@vanilla-extract/css": "^1.20.1",
"@vanilla-extract/vite-plugin": "^5.2.2",
"astro": "^6.4.4",
"fallow": "^2.66.1",
"typescript": "~6.0.2",
Expand Down
Binary file added public/Resume - Greg Linscheid.pdf
Binary file not shown.
Binary file added public/blog/copyparty-2025-08-15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
210 changes: 210 additions & 0 deletions public/blog/copyparty.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/blog/hello-world.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon.ico
Binary file not shown.
9 changes: 0 additions & 9 deletions public/favicon.svg

This file was deleted.

Binary file added public/fonts/atkinson-bold.woff
Binary file not shown.
Binary file added public/fonts/atkinson-regular.woff
Binary file not shown.
Binary file added public/greg-portrait.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/milo-index.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/milo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: *
Allow: /

Sitemap: https://greglinscheid.com/sitemap-index.xml
43 changes: 43 additions & 0 deletions src/components/BaseHead.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
import '../styles/code.css.ts';
import '../styles/global.css.ts';

interface Props {
title: string;
description: string;
image?: string;
}

const canonicalURL = new URL(Astro.url.pathname, Astro.site);

const {title, description, image = '/blog/hello-world.jpg'} = Astro.props;
---

<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" />
<meta name="generator" content={Astro.generator} />

<link rel="preconnect" href="https://fonts.bunny.net" />
<link
href="https://fonts.bunny.net/css?family=fraunces:opsz,wght@9..144,600;9..144,700|source-sans-3:400,600,700"
rel="stylesheet"
/>

<link rel="canonical" href={canonicalURL} />

<title>{title}</title>
<meta name="title" content={title} />
<meta name="description" content={description} />

<meta property="og:type" content="website" />
<meta property="og:url" content={Astro.url} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={new URL(image, Astro.url)} />

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:url" content={Astro.url} />
<meta name="twitter:title" content={title} />
<meta name="twitter:description" content={description} />
<meta name="twitter:image" content={new URL(image, Astro.url)} />
30 changes: 30 additions & 0 deletions src/components/BaseLayout.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
import BaseHead from './BaseHead.astro';
import Breadcrumbs from './Breadcrumbs.astro';
import Footer from './Footer.astro';
import {MAIN_CONTENT_ID, main, skipLink} from '../styles/global.css';

interface Props {
title: string;
description: string;
image?: string;
hasBreadcrumbs?: boolean;
}

const {title, description, image, hasBreadcrumbs = true} = Astro.props;
---

<!doctype html>
<html lang="en">
<head>
<BaseHead title={title} description={description} image={image} />
</head>
<body>
<a class={skipLink} href={`#${MAIN_CONTENT_ID}`}>Skip to content</a>
<main class={main} id={MAIN_CONTENT_ID} tabindex="-1">
{hasBreadcrumbs ? <Breadcrumbs /> : undefined}
<slot />
</main>
<Footer />
</body>
</html>
Loading