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 index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<link rel="preload" href="assets/fonts/space-grotesk-bold.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="assets/fonts/ibm-plex-mono-latin-400-normal.woff2" as="font" type="font/woff2" crossorigin>
<script src="theme.js?v=c4917c18"></script>
<link rel="stylesheet" href="styles.css?v=2e8d8e15">
<link rel="stylesheet" href="styles.css?v=299e377f">
<script src="stack.js?v=8b37b17e" defer></script>
<script src="tools.js?v=6083c786" defer></script>
</head>
Expand Down Expand Up @@ -60,7 +60,7 @@
<div class="shell hero-inner">
<div class="hero-copy">
<h1 id="headline">The Data Stack for Engineers of the Future</h1>
<p class="lede"><strong>Writing SQL is no longer the hard part. Knowing it's right is.</strong> Independent tools grounded in software engineering fundamentals, so you can keep pace with the frontier without breaking what works.</p>
<p class="lede"><strong>Writing SQL is no longer the hard part.<br>Knowing it’s right, and keeping it that way, is.</strong> Independent tools grounded in software engineering fundamentals, so you can keep pace with the frontier without breaking what works.</p>
<div class="actions">
<a class="button primary" href="#tools">Explore the tools</a>
<a class="button" href="https://github.com/sqlstack-io">GitHub <span aria-hidden="true">↗</span></a>
Expand Down
2 changes: 1 addition & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ img { display: block; object-fit: contain; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 48px; min-height: min(640px, calc(100vh - 59px)); padding-block: 64px; }
h1 { margin: 0; max-width: 11ch; font-size: clamp(44px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -.05em; font-weight: 800; text-wrap: balance; }
.lede { max-width: 34em; margin: 28px 0 0; color: var(--muted); font-size: 19px; line-height: 1.5; }
.lede strong { color: var(--ink); font-weight: 600; }
.lede strong { display: block; color: var(--ink); font-weight: 600; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.button:hover { text-decoration: none; border-color: var(--muted); }
Expand Down
9 changes: 8 additions & 1 deletion tests/website.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,14 @@ test('tools, stack layers, sharing assets and responsive layout work in both the
await page.emulateMedia({ colorScheme: theme });
await page.goto('/');
await expect(page.getByRole('heading', { level: 1 })).toHaveText('The Data Stack for Engineers of the Future');
await expect(page.locator('.hero .lede strong')).toHaveText("Writing SQL is no longer the hard part. Knowing it's right is.");
const lede = page.locator('.hero .lede strong');
await expect(lede).toHaveText('Writing SQL is no longer the hard part. Knowing it’s right, and keeping it that way, is.', { useInnerText: true });
// The grey sentence starts on its own line, below the bold lines.
expect(await lede.evaluate((bold) => {
const range = document.createRange();
range.selectNodeContents(bold.nextSibling);
return range.getClientRects()[0].top >= bold.getBoundingClientRect().bottom - 1;
})).toBe(true);
await expect(page.locator('.hero .actions')).toContainText('Use one, or use them all.');
await expect(page.getByRole('heading', { level: 2 })).toHaveText('Independent tools. Shared foundations.');
const logo = page.getByRole('link', { name: 'SQLStack home', exact: true }).locator('img:visible');
Expand Down