Skip to content

refactor: extract reusable feature card component#102

Open
KGFCH2 wants to merge 1 commit into
Dev-Card:mainfrom
KGFCH2:refactor/reusable-feature-card
Open

refactor: extract reusable feature card component#102
KGFCH2 wants to merge 1 commit into
Dev-Card:mainfrom
KGFCH2:refactor/reusable-feature-card

Conversation

@KGFCH2
Copy link
Copy Markdown

@KGFCH2 KGFCH2 commented May 15, 2026

Closes #101

Summary: Extract feature card into a reusable Svelte component.

Copilot AI review requested due to automatic review settings May 15, 2026 13:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the landing page feature cards into a reusable Svelte component, supporting Issue #101 by reducing duplicated markup and moving card-specific styling into a dedicated component.

Changes:

  • Adds FeatureCard.svelte with typed props and encapsulated styles.
  • Replaces repeated feature-card markup in the landing page with reusable component instances.
  • Removes feature-card-specific styles from the landing page stylesheet.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
apps/web/src/routes/+page.svelte Imports and uses the reusable feature card component for the features section.
apps/web/src/lib/components/FeatureCard.svelte Adds the reusable feature card component and its scoped styles.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -0,0 +1,55 @@
<script lang="ts">
import type { Snippet } from 'svelte';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactoring the Feature Card

2 participants