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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Open `http://localhost:4173`. No build step or package installation is required

The page uses self-hosted Inter and Space Grotesk fonts. Their licenses are included in
`assets/fonts/`. Product icons are optimized PNG derivatives of the original brand artwork.
The header uses the SQLStack logo lockup (mark and wordmark) as transparent light and dark PNGs in
`assets/icons/sqlstack-lockup.png` and `assets/icons/sqlstack-lockup-dark.png`.

The theme defaults to the system preference. The accessible header toggle saves an explicit
light/dark preference in the browser. Without JavaScript, the page remains usable in light mode.
Expand Down
Binary file added assets/icons/sqlstack-lockup-dark.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/icons/sqlstack-lockup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@
<header class="site-header">
<div class="shell header-inner">
<a class="brand" href="./" aria-label="SQLStack home">
<img class="logo-for-light" src="assets/icons/sqlstack.png" width="40" height="34" alt="">
<img class="logo-for-dark" src="assets/icons/sqlstack-dark.png" width="40" height="34" alt="">
<span>SQLStack</span>
<img class="logo-for-light" src="assets/icons/sqlstack-lockup.png" width="144" height="34" alt="SQLStack">
<img class="logo-for-dark" src="assets/icons/sqlstack-lockup-dark.png" width="144" height="34" alt="SQLStack">
</a>
<div class="header-actions">
<a class="nav-icon" href="https://github.com/sqlstack-io" aria-label="SQLStack on GitHub">
Expand Down
1 change: 0 additions & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ img { display: block; object-fit: contain; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); text-decoration: none; }
.brand span { font-family: "Space Grotesk", sans-serif; font-size: 22px; font-weight: 700; letter-spacing: 0; }
.nav-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--muted); }
.nav-icon:hover { color: var(--ink); }
.nav-icon:focus-visible { outline-offset: 3px; }
Expand Down
9 changes: 5 additions & 4 deletions tests/website.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@ test('approved products, sharing assets and responsive navigation work in both t
await expect(page.getByRole('heading', { level: 1 })).toHaveText('Your data stack. Engineered for safer change.');
await expect(page.locator('.hero .lede')).toHaveText('Rust-backed SQL and Python tools for data engineers.');
await expect(page.getByRole('heading', { level: 3 })).toHaveText(names);
const wordmark = page.locator('.brand span');
for (const [property, value] of [['font-family', '"Space Grotesk", sans-serif'], ['font-weight', '700'], ['letter-spacing', 'normal'], ['font-size', '22px']]) {
await expect(wordmark).toHaveCSS(property, value);
}
const logo = page.getByRole('link', { name: 'SQLStack home', exact: true }).locator('img:visible');
await expect(logo).toHaveAttribute('src', `assets/icons/sqlstack-lockup${theme === 'dark' ? '-dark' : ''}.png`);
await expect(logo).toHaveAttribute('alt', 'SQLStack');
await expect(page.getByRole('link', { name: 'SQLStack on GitHub', exact: true })).toHaveAttribute('href', 'https://github.com/sqlstack-io');
for (const [name, website] of [['SQLBuild', 'https://sqlbuild.com'], ['SQLTide', 'https://sqltide.io/'], ['SQLClean', 'https://sqlclean.io'], ['Fensu', 'https://fensu.io/'], ['SQLLoad', 'https://sqlload.io'], ['SQLQuack', 'https://sqlquack.io']]) {
const card = page.getByRole('article', { name, exact: true });
Expand Down Expand Up @@ -103,6 +102,8 @@ test('approved products, sharing assets and responsive navigation work in both t
}
for (const [path, width, height] of [
['/assets/og-sqlstack-dark.png', 1200, 630],
['/assets/icons/sqlstack-lockup.png', 432, 102],
['/assets/icons/sqlstack-lockup-dark.png', 432, 102],
['/assets/favicon-16.png', 16, 16],
['/assets/favicon-32.png', 32, 32],
['/assets/favicon-dark-32.png', 32, 32],
Expand Down
Loading