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
3 changes: 2 additions & 1 deletion assets/brand/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ Every file carries explicit colours, so pick the light file or its `-dark` twin
| `stackmap-app-icon.svg`, `-512.png`, `stackmap-apple-touch-icon-180.png` | The full mark on the near-black icon tile |
| `stackmap-favicon.svg`, `-32.png`, `-16.png` | The compact mark on the icon tile (inlined in the viewer) |
| `stackmap-readme-header.png`, `-dark` | The 1280×400 README header at 2×, in a `<picture>` at the full column width |
| `stackmap-social-card.png`, `.svg`, `-light.svg` | The 1200×630 link preview (`og:image`, the GitHub social preview) |
| `stackmap-social-card.png`, `-light.png` | The 1200×630 link preview (`og:image`, `twitter:image`); the site serves the dark one |
| `stackmap-github-preview.png` | The 1280×640 GitHub social preview (Settings › General › Social preview), with everything that matters inside GitHub's 80px crop border |

## Rules

Expand Down
Binary file added assets/brand/stackmap-github-preview.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 added assets/brand/stackmap-social-card-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion assets/brand/stackmap-social-card-light.svg

This file was deleted.

Binary file modified assets/brand/stackmap-social-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion assets/brand/stackmap-social-card.svg

This file was deleted.

2 changes: 1 addition & 1 deletion site/app/opengraph-image.alt.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
stackmap: every layer of your stack, on one map
stackmap: every layer of your stack, on one map. The viewer, open on a Commerce API diagram with a route lit
Binary file modified site/app/opengraph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion site/app/twitter-image.alt.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
stackmap: every layer of your stack, on one map
stackmap: every layer of your stack, on one map. The viewer, open on a Commerce API diagram with a route lit
Binary file modified site/app/twitter-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions site/components/site/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ import { LINKS } from './links';
import { Lockup } from './Lockup';
import { ThemeButton } from './theme';

// The landing's sections the nav follows; `install` has no link, so over it the marker hides.
// The landing's sections the nav follows; `kinds` and `install` have no link, so over them the marker hides.
const SPY = ['how', 'kinds', 'install'] as const;
type Spy = (typeof SPY)[number];

const ITEMS = [
{ ...LINKS.how, spy: 'how' as Spy },
{ ...LINKS.kinds, label: 'Kinds', spy: 'kinds' as Spy },
{ ...LINKS.examples, page: (p: string) => p.startsWith('/examples') },
{ ...LINKS.docs, page: (p: string) => p.startsWith('/docs') },
];
Expand Down
2 changes: 1 addition & 1 deletion site/lib/seo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const OPEN_GRAPH = {
type: 'website' as const,
siteName: SITE_NAME,
locale: 'en_US',
images: [{ url: '/opengraph-image.png', width: 1200, height: 630, alt: 'stackmap: every layer of your stack, on one map' }],
images: [{ url: '/opengraph-image.png', width: 1200, height: 630, alt: 'stackmap: every layer of your stack, on one map. The viewer, open on a Commerce API diagram with a route lit' }],
};

/** Every static page; the sitemap test fails when a page.tsx is added without its route here. */
Expand Down
Loading