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
31 changes: 0 additions & 31 deletions .eslintrc.json

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
pull_request:
push:
branches: [master]

concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# Preview only. Replaces Travis CI (Node 12 → next export → gh-pages).
# Do not deploy to Cloudflare Pages production or attach kylecesmat.com
# until Kyle has previewed this PR and explicitly approved.
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm
- run: npm ci
- run: npm run check
- run: npm run build
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist
retention-days: 7
38 changes: 14 additions & 24 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,34 +1,24 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
node_modules/
.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem
# build
dist/
.astro/
.wrangler/

# debug
# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local
# env
.env
.env.*
!.env.example

# vercel
# misc
.DS_Store
*.pem
.vercel
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
11 changes: 10 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
{
"singleQuote": true,
"arrowParens": "always"
"arrowParens": "always",
"plugins": ["prettier-plugin-astro"],
"overrides": [
{
"files": "*.astro",
"options": {
"parser": "astro"
}
}
]
}
13 changes: 0 additions & 13 deletions .stylelintrc

This file was deleted.

18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

32 changes: 27 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,30 @@
# kylecesmat.com

## Project Plan
Personal site. **This branch is stack + hosting only** — copy and IA land in follow-up PRs.

- [x] Create base site, theme, settle on css tools
- [x] Content writing
- [ ] Deployment
- [ ] Totally unneeded, but lets [deploy serverless](https://github.com/serverless-nextjs/serverless-next.js)
## Stack

- [Astro](https://astro.build/) 7, static output to `dist/`
- Node 22 (see `.nvmrc`)
- Cloudflare Pages via `wrangler.jsonc` (`pages_build_output_dir: ./dist`)
- GitHub Actions: **build + `astro check` only** — no production deploy from CI

## Local

```bash
npm ci
npm run dev
npm run build
```

## Cloudflare cutover (not this PR)

Nameservers are already Cloudflare (`jake` / `lisa`). Records are DNS-only (grey-cloud) to GitHub Pages. Preview this branch first. Go-live later: attach Pages custom domain on the apex, orange-cloud the records, keep nameservers, then retire GitHub Pages / `gh-pages`.

Keep the existing www→apex 301. Pages `_redirects` cannot do host-level redirects; after cutover use a Cloudflare Redirect Rule on proxied `www`.

## Removed vs the old Next site

- Travis CI + `gh-pages` deploy
- Universal Analytics (`UA-104533559-1`)
- Next 13 `next export`
12 changes: 12 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { defineConfig } from 'astro/config';
import sitemap from '@astrojs/sitemap';

export default defineConfig({
site: 'https://kylecesmat.com',
output: 'static',
trailingSlash: 'never',
integrations: [sitemap()],
redirects: {
'/currently': '/',
},
});
40 changes: 0 additions & 40 deletions components/footer/footer.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions components/footer/index.tsx

This file was deleted.

35 changes: 0 additions & 35 deletions components/header/header.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions components/header/index.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions components/page/index.tsx

This file was deleted.

25 changes: 0 additions & 25 deletions components/page/page.module.css

This file was deleted.

11 changes: 0 additions & 11 deletions components/page/page.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions components/timeline/index.tsx

This file was deleted.

40 changes: 0 additions & 40 deletions components/timeline/timeline.module.css

This file was deleted.

Loading
Loading