Skip to content

Commit 015d687

Browse files
committed
Update SQLTide website link and simplify benchmark copy
Amp-Thread-ID: https://ampcode.com/threads/T-ede8de20-2143-49b4-be09-527940c285aa
1 parent 9b37b9e commit 015d687

3 files changed

Lines changed: 12 additions & 9 deletions

File tree

‎index.html‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ <h3 id="sqlbuild-name">SQLBuild</h3>
8484
<img class="product-icon" src="assets/icons/sqltide.png" width="52" height="52" alt="">
8585
<div class="product-content">
8686
<h3 id="sqltide-name">SQLTide</h3>
87-
<p>ClickHouse streaming pipelines with change-aware backfills and bounded replay.</p>
87+
<p>Streaming pipelines for ClickHouse. Build and check new versions before promotion.</p>
8888
<div class="product-links">
89-
<a href="https://docs.streambuild.dev" aria-label="SQLTide docs">Docs <span aria-hidden="true">↗</span></a>
89+
<a href="https://sqltide.io/" aria-label="SQLTide website">Website <span aria-hidden="true">↗</span></a>
9090
<a href="https://github.com/sqlstack-io/sqltide" aria-label="SQLTide on GitHub">GitHub <span aria-hidden="true">↗</span></a>
9191
</div>
9292
</div>
@@ -106,7 +106,7 @@ <h2 id="check-title">Keep it sound.</h2>
106106
<img class="product-icon logo-for-dark" src="assets/icons/sqlclean-dark.png" width="52" height="52" alt="">
107107
<div class="product-content">
108108
<h3 id="sqlclean-name">SQLClean</h3>
109-
<p><span class="text-line">SQL linting and formatting.</span> Lint 10,000 files in <a href="https://sqlclean.io/docs/benchmarks/">under a second.</a><sup><a href="#benchmark" aria-label="Benchmark conditions">*</a></sup></p>
109+
<p><span class="text-line">SQL linting and formatting.</span> Lint 10,000 files in <a href="https://sqlclean.io/docs/benchmarks/">under a second.</a></p>
110110
<div class="product-links">
111111
<a href="https://sqlclean.io" aria-label="SQLClean website">Website <span aria-hidden="true">↗</span></a>
112112
<a href="https://github.com/sqlstack-io/sqlclean" aria-label="SQLClean on GitHub">GitHub <span aria-hidden="true">↗</span></a>
@@ -152,7 +152,6 @@ <h3 id="sqlload-name">SQLLoad</h3>
152152
</div>
153153
</section>
154154
</div>
155-
<p class="benchmark" id="benchmark" tabindex="-1">* Published benchmark: 10,282 files, default lint rules, 4 CPUs, 0.81 s.</p>
156155
</main>
157156

158157
<footer class="shell site-footer">

‎styles.css‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ h3 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 24.94308px;
106106
.fensu h3 { font-size: 25.5px; }
107107
.product-content > p { margin: 4px 0 12px; min-height: 42px; font-size: 15px; line-height: 1.4; color: var(--muted); }
108108
.text-line { display: block; }
109-
sup { font-size: 11px; line-height: 0; }
110-
sup a { color: var(--muted); text-decoration: none; padding-inline: 2px; }
111109
.product-links { display: flex; gap: 28px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; }
112110
.product-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
113111
.product-links a:hover { text-decoration: underline; }
@@ -121,10 +119,9 @@ sup a { color: var(--muted); text-decoration: none; padding-inline: 2px; }
121119
.upcoming-name { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
122120
.badge { display: inline-block; padding: 6px 10px; border-radius: 4px; font-size: 12px; line-height: 16px; color: var(--gold-ink); background: var(--gold-bg); white-space: nowrap; }
123121
.sqlload .badge { color: var(--pink-ink); background: var(--pink-bg); }
124-
.benchmark { margin: 0 0 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
125122
.site-footer { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 24px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; }
126123
.site-footer span:last-child { color: var(--muted); }
127-
#tools, #benchmark { scroll-margin-top: 20px; }
124+
#tools { scroll-margin-top: 20px; }
128125

129126
@media (max-width: 1200px) {
130127
.tool-row { grid-template-columns: 250px minmax(0, 1fr); }
@@ -154,6 +151,5 @@ sup a { color: var(--muted); text-decoration: none; padding-inline: 2px; }
154151
.upcoming .product { min-height: 116px; }
155152
.upcoming-name { gap: 8px; }
156153
.badge { padding-inline: 8px; }
157-
.benchmark { margin-bottom: 16px; }
158154
.site-footer { flex-wrap: wrap; }
159155
}

‎tests/website.spec.mjs‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ test('approved products, sharing assets and responsive navigation work in both t
5151
await expect(page.getByRole('link', { name: 'SQLStack on GitHub', exact: true })).toHaveAttribute('href', 'https://github.com/sqlstack-io');
5252
await expect(page.getByText('Compile-time checks, tested behaviour and enforceable architecture.', { exact: true })).toBeVisible();
5353
await expect(page.locator('footer')).toContainText('Independent tools. Shared foundations. 100% open source.');
54+
const sqltideWebsite = page.getByRole('article', { name: 'SQLTide', exact: true }).getByRole('link', { name: 'SQLTide website', exact: true });
55+
await expect(sqltideWebsite).toHaveAttribute('href', 'https://sqltide.io/');
56+
await expect(sqltideWebsite).toHaveText('Website ↗');
57+
const sqlclean = page.getByRole('article', { name: 'SQLClean', exact: true });
58+
await expect(sqlclean.locator('p')).toHaveText('SQL linting and formatting. Lint 10,000 files in under a second.');
59+
await expect(sqlclean.getByRole('link', { name: 'under a second.', exact: true })).toHaveAttribute('href', 'https://sqlclean.io/docs/benchmarks/');
60+
await expect(page.getByText('Published benchmark:', { exact: false })).toHaveCount(0);
5461
for (const name of names.slice(4)) {
5562
const card = page.getByRole('article', { name, exact: true });
5663
await expect(card.getByText('Coming soon', { exact: true })).toBeVisible();
@@ -60,6 +67,7 @@ test('approved products, sharing assets and responsive navigation work in both t
6067
for (const width of [320, 390, 768, 1536]) {
6168
await page.setViewportSize({ width, height: 900 });
6269
expect(await page.evaluate(() => document.documentElement.scrollWidth <= innerWidth)).toBe(true);
70+
await expect(sqltideWebsite).toBeVisible();
6371
await expect(page.getByRole('button', { name: 'Dark mode', exact: true })).toBeInViewport();
6472
}
6573
await expect(page.locator('.hero').getByRole('link')).toHaveCount(1);

0 commit comments

Comments
 (0)