← Corpus / lost-in-public / prompt
Move functionality and style of Concepts and Vocabulary into specific components
We should use astro components as best we can, and try to keep styles managably within their own components
- Path
- prompts/code-style/Move-Functionality-and-Style-to-Specific-Components.md
- Authors
- Michael Staton
- Augmented with
- Windsurf Cascade on Claude 3.5 Sonnet
- Tags
- Code-Style · Component-based Architecture · Readability · Component-Management
Context
I have moved the components/vocabulary/VocabularyEntry.astro component to components/reference/VocabularyEntry.astro.
(Let’s make sure that doesn’t blow up anything.)
Objective:
Move the functionality and style of both Concepts and Vocabulary currently in
site/src/pages/more-about/index.astro
into two components:
components/reference/ConceptPreviewCard.astrocomponents/reference/VocabularyPreviewCard.astro
into the @components/reference directory.