From 26f9eb996e7d5dd5f01c564ffb472ffef77ff100 Mon Sep 17 00:00:00 2001 From: Ryan Malloy Date: Sat, 21 Feb 2026 11:32:16 -0700 Subject: [PATCH] =?UTF-8?q?Move=20resistor=20color=20guide=20to=20/referen?= =?UTF-8?q?ce/resistor-colors,=20add=2050=CE=A9=20button=20on=20homepage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Promotes the full ResistorColorGuide component to a dedicated reference page and replaces the homepage section with a compact inline SVG link showing Green-Black-Black-Gold (50Ω ±5%) band colors. --- frontend/src/pages/index.astro | 34 +++++++++++++++++-- .../src/pages/reference/resistor-colors.astro | 12 +++++++ 2 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 frontend/src/pages/reference/resistor-colors.astro diff --git a/frontend/src/pages/index.astro b/frontend/src/pages/index.astro index 772a649..37aefa7 100644 --- a/frontend/src/pages/index.astro +++ b/frontend/src/pages/index.astro @@ -3,7 +3,6 @@ import { Icon } from 'astro-icon/components'; import NotebookLayout from '../layouts/NotebookLayout.astro'; import NotebookGallery from '../components/NotebookGallery'; import PipelineStrip from '../components/PipelineStrip.astro'; -import ResistorColorGuide from '../components/ResistorColorGuide.astro'; import FeaturedNotebooks from '../components/FeaturedNotebooks.astro'; import OscilloscopeDisplay from '../components/OscilloscopeDisplay.astro'; import { fetchNotebookList } from '../lib/server-api'; @@ -73,9 +72,38 @@ try { - +
- +
diff --git a/frontend/src/pages/reference/resistor-colors.astro b/frontend/src/pages/reference/resistor-colors.astro new file mode 100644 index 0000000..8abc7d5 --- /dev/null +++ b/frontend/src/pages/reference/resistor-colors.astro @@ -0,0 +1,12 @@ +--- +import NotebookLayout from '../../layouts/NotebookLayout.astro'; +import ResistorColorGuide from '../../components/ResistorColorGuide.astro'; +--- + + + +