Skip to content
Closed
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
7 changes: 5 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export default defineConfig({
'Self-hosted sandboxes in your own AWS account: a virtual machine per workspace, snapshots with memory, rollback, and a diff of what changed.',
// The organization's own mark (spin-stack/brand): the tile on its navy in dark, and clear in light,
// where the tile would read as a sticker. No alt: the name is written beside it.
logo: { dark: './src/assets/logo.png', light: './src/assets/logo-light.png', alt: '' },
favicon: '/favicon.png',
logo: { dark: './src/assets/logo.svg', light: './src/assets/logo-light.svg', alt: '' },
favicon: '/favicon.svg',
social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/spin-stack' }],
customCss: ['./src/styles/brand-tokens.css', './src/styles/brand-starlight.css', './src/styles/custom.css'],
// A hand-written page is edited here; a generated one names its source instead (Footer.astro).
Expand All @@ -42,6 +42,9 @@ export default defineConfig({
// The link preview a chat shows: public/og.png, by its absolute address.
{ tag: 'meta', attrs: { property: 'og:image', content: `${site}${base.replace(/\/$/, '')}/og.png` } },
{ tag: 'meta', attrs: { name: 'twitter:card', content: 'summary_large_image' } },
// The tab's mark where a browser takes no SVG, and the one iOS puts on a home screen.
{ tag: 'link', attrs: { rel: 'icon', type: 'image/png', sizes: '64x64', href: `${base.replace(/\/$/, '')}/favicon.png` } },
{ tag: 'link', attrs: { rel: 'apple-touch-icon', href: `${base.replace(/\/$/, '')}/apple-touch-icon.png` } },
{
tag: 'link',
attrs: { rel: 'alternate', type: 'text/plain', title: 'llms.txt', href: `${base.replace(/\/$/, '')}/llms.txt` },
Expand Down
Binary file added public/apple-touch-icon.png
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.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 68 additions & 0 deletions public/favicon.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 modified public/mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/logo-light.png
Binary file not shown.
63 changes: 63 additions & 0 deletions src/assets/logo-light.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 removed src/assets/logo.png
Binary file not shown.
68 changes: 68 additions & 0 deletions src/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 7 additions & 3 deletions tools/refgen/brand.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ import (
var brandFiles = []struct{ from, to string }{
{"dist/tokens.css", "src/styles/brand-tokens.css"},
{"dist/starlight.css", "src/styles/brand-starlight.css"},
{"logos/mark-256.png", "src/assets/logo.png"},
{"logos/mark-clear-256.png", "src/assets/logo-light.png"},
{"logos/mark-512.png", "public/mark.png"},
// The mark as brand draws it, a vector: sharp in the header and the tab at any size and on a 2x
// screen. The PNGs are for what takes no SVG: an older browser's tab, iOS's home screen.
{"logos/mark.svg", "src/assets/logo.svg"},
{"logos/mark-clear.svg", "src/assets/logo-light.svg"},
{"logos/mark.svg", "public/favicon.svg"},
{"logos/favicon-64.png", "public/favicon.png"},
{"logos/apple-touch-icon.png", "public/apple-touch-icon.png"},
{"logos/mark-512.png", "public/mark.png"},
{"shots/shots.json", "src/data/shots.json"},
}

Expand Down
Loading