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
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Deploy

# Push to main → deploy to bitbaum. All logic lives in one place:
# catomean/fleetcrown/.github/workflows/selfhost-deploy.yml
# bitbaum/fleetcrown/.github/workflows/selfhost-deploy.yml
on:
workflow_dispatch: {}
push:
branches: [main]

jobs:
deploy:
uses: catomean/fleetcrown/.github/workflows/selfhost-deploy.yml@main
uses: bitbaum/fleetcrown/.github/workflows/selfhost-deploy.yml@main
with:
app: substrata
secrets: inherit
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ npm run verify # type-check + lint + tests
## Deployment

Push to `main`. CD is the shared self-host pipeline
(`catomean/fleetcrown/.github/workflows/selfhost-deploy.yml`), which waits
(`bitbaum/fleetcrown/.github/workflows/selfhost-deploy.yml`), which waits
for this commit's CI, builds, rsyncs to bitbaum and health-checks before
declaring done. Port and hostname come from `scripts/hetzner/apps.conf` in
fleetcrown — the SSOT for what runs on the box.
6 changes: 3 additions & 3 deletions app/[[...path]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import {
sitePages,
} from '@/config/site-content';
import { SITE } from '@/lib/site';
import { SiteFooter, SiteMasthead } from '@/components/SiteChrome';
import { SiteSections } from '@/components/SiteSections';
import Link from 'next/link';
import { SiteFooter, SiteMasthead, SiteSections } from 'sitekit/react';

interface RouteParams {
params: Promise<{ path?: string[] }>;
Expand Down Expand Up @@ -45,7 +45,7 @@ export default async function Page({ params }: RouteParams) {

return (
<div className="flex min-h-screen flex-col bg-surface-page">
<SiteMasthead chrome={chrome} navItems={siteNavItems(pages)} currentPath={currentPath} />
<SiteMasthead chrome={chrome} navItems={siteNavItems(pages)} currentPath={currentPath} Link={Link} />
<main className="flex-1">
<div className="mx-auto max-w-shell px-4 py-14 sm:px-6 sm:py-20 lg:px-8">
{!pageRendersOwnHeader(page) && (
Expand Down
3 changes: 3 additions & 0 deletions app/globals.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
@import 'tailwindcss';
/* The renderers live in the sitekit package now; Tailwind must scan them or
their semantic classes are never emitted. */
@source '../node_modules/sitekit/dist';

/**
* Substrata's design tokens — the SSOT for every visual decision.
Expand Down
59 changes: 0 additions & 59 deletions components/SiteChrome.tsx

This file was deleted.

65 changes: 0 additions & 65 deletions components/SiteNav.tsx

This file was deleted.

57 changes: 0 additions & 57 deletions components/SiteSections.tsx

This file was deleted.

141 changes: 0 additions & 141 deletions components/sections/DataSections.tsx

This file was deleted.

Loading
Loading