From 7cdb5dfc77419807621eeb8a2a25d6e27f82d4be Mon Sep 17 00:00:00 2001 From: Alexander Karan Date: Fri, 22 May 2026 12:55:38 +0800 Subject: [PATCH] Added Depot Logo --- .../assets/depot-logo-horizontal-on-dark.svg | 23 +++++++++ .../assets/depot-logo-horizontal-on-light.svg | 23 +++++++++ .../docs/src/components/FocusedToggle.astro | 3 +- .../docs/src/components/MPAStatsTable.astro | 5 -- packages/docs/src/components/PageHeader.astro | 38 ++++++++++++-- .../docs/src/components/SPAStatsTable.astro | 5 -- .../docs/src/components/SSRStatsTable.astro | 5 -- packages/docs/src/pages/dev-time.astro | 8 +-- .../docs/src/pages/framework/[slug].astro | 17 ------- packages/docs/src/pages/index.astro | 49 +++++++++++++++++-- packages/docs/src/pages/run-time.astro | 4 +- 11 files changed, 128 insertions(+), 52 deletions(-) create mode 100644 packages/docs/src/assets/depot-logo-horizontal-on-dark.svg create mode 100644 packages/docs/src/assets/depot-logo-horizontal-on-light.svg diff --git a/packages/docs/src/assets/depot-logo-horizontal-on-dark.svg b/packages/docs/src/assets/depot-logo-horizontal-on-dark.svg new file mode 100644 index 00000000..3dcfcb32 --- /dev/null +++ b/packages/docs/src/assets/depot-logo-horizontal-on-dark.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + diff --git a/packages/docs/src/assets/depot-logo-horizontal-on-light.svg b/packages/docs/src/assets/depot-logo-horizontal-on-light.svg new file mode 100644 index 00000000..53869e01 --- /dev/null +++ b/packages/docs/src/assets/depot-logo-horizontal-on-light.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + diff --git a/packages/docs/src/components/FocusedToggle.astro b/packages/docs/src/components/FocusedToggle.astro index f6f51394..1a9e88da 100644 --- a/packages/docs/src/components/FocusedToggle.astro +++ b/packages/docs/src/components/FocusedToggle.astro @@ -8,13 +8,12 @@ - Show focused frameworks only + Core frameworks diff --git a/packages/docs/src/components/SPAStatsTable.astro b/packages/docs/src/components/SPAStatsTable.astro index 46746466..15fe073e 100644 --- a/packages/docs/src/components/SPAStatsTable.astro +++ b/packages/docs/src/components/SPAStatsTable.astro @@ -1,7 +1,6 @@ --- import { spaStats } from '../lib/collections' import { getFrameworkSlug } from '../lib/utils' -import MethodologyTag from './MethodologyTag.astro' import StatsTable from './StatsTable.astro' const columns = [ @@ -22,10 +21,6 @@ const columns = [ const tableData = spaStats --- - - Measured on GitHub Actions (ubuntu-latest, Node 24) using Lighthouse flow with - Chromium. - ({ })) --- - - Measured on GitHub Actions (ubuntu-latest, Node 24) using custom SSR benchmark - apps. - - Dev Time Stats - - - Measured using pnpm on GitHub Actions (ubuntu-latest, Node 24) based on the - starter project set up by each framework's CLI. - + Dev Time Stats

Dependency Counts

diff --git a/packages/docs/src/pages/framework/[slug].astro b/packages/docs/src/pages/framework/[slug].astro index 9066d9c3..379e8e22 100644 --- a/packages/docs/src/pages/framework/[slug].astro +++ b/packages/docs/src/pages/framework/[slug].astro @@ -2,7 +2,6 @@ import { getCollection } from 'astro:content' import BackLink from '../../components/BackLink.astro' import DevTimeChart from '../../components/DevTimeChart.astro' -import MethodologyTag from '../../components/MethodologyTag.astro' import MPAStatsMethodologyNotes from '../../components/MPAStatsMethodologyNotes.astro' import PageHeader from '../../components/PageHeader.astro' import SPAStatsMethodologyNotes from '../../components/SPAStatsMethodologyNotes.astro' @@ -224,10 +223,6 @@ const mpaData = runtime

Dev Time Performance

- - Measured using pnpm on GitHub Actions (ubuntu-latest, Node 24) based on the - starter project set up by each framework's CLI. -

Runtime Performance

SSR Performance

- - Measured on GitHub Actions (ubuntu-latest, Node 24) using custom SSR - benchmark apps. -

SPA Performance

- - Measured on GitHub Actions (ubuntu-latest, Node 24) using Lighthouse - flow with Chromium. -

MPA Performance

- - Measured on GitHub Actions (ubuntu-latest, Node 24) using Lighthouse - flow with Chromium. - - Framework Tracker + Framework Tracker For a full list of what we plan to track see{' '} - + +

+ All tests and stat generation is run on Depot runners to ensure fairer and + faster testing. +

+
+

Dev Time Performance

Dependency Counts

@@ -72,4 +89,30 @@ import Layout from '../layouts/Layout.astro' .roadmap-link { font-weight: 500; } + + .depot-text { + color: var(--ft-muted); + display: inline; + } + + .depot-logo { + display: inline; + } + + .depot-logo :global(svg) { + transform: scale(0.75); + transform-origin: left center; + } + + .logo-dark { + display: none; + } + + :global(html.dark) .logo-light { + display: none; + } + + :global(html.dark) .logo-dark { + display: inline; + } diff --git a/packages/docs/src/pages/run-time.astro b/packages/docs/src/pages/run-time.astro index caea77fc..2e9f728a 100644 --- a/packages/docs/src/pages/run-time.astro +++ b/packages/docs/src/pages/run-time.astro @@ -1,5 +1,4 @@ --- -import FocusedToggle from '../components/FocusedToggle.astro' import MPACharts from '../components/MPACharts.astro' import MPAStatsMethodologyNotes from '../components/MPAStatsMethodologyNotes.astro' import MPAStatsTable from '../components/MPAStatsTable.astro' @@ -13,8 +12,7 @@ import Layout from '../layouts/Layout.astro' --- - Run Time Stats - + Run Time Stats

SSR Performance