Refactor styles and imports for consistency and maintainability:
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

- **CSS restructuring**: Moved `styles` folder into `src` for better organization.
- **Updated imports**: Adjusted component CSS imports to reflect new paths.
- **Component tweaks**:
  - Increased HoverCard width from `350px` to `400px` for better visual balance.
  - Adjusted Footer layout: reorganized copyright and added email link.
  - Modified Drinks circle dimensions (from `6em` to `9em`) for improved design.
- **Footer styles**: Changed copyright section's layout with top spacing and border adjustments.
This commit is contained in:
k
2025-08-02 13:50:56 +02:00
parent 1a6be67af1
commit 2fab4bf70b
22 changed files with 25 additions and 30 deletions

View File

@ -1,7 +1,7 @@
---
// src/components/HoverCard.astro
import "../../styles/components/HoverCard.css";
const { title, description, image = "", date } = Astro.props;
import "../styles/components/HoverCard.css";
const {title, description, image = ""} = Astro.props;
---
<article class="hover-card">
@ -9,9 +9,6 @@ const { title, description, image = "", date } = Astro.props;
<img class="card-image" src={image} alt={title} />
</div>
<h3 class="card-title" set:html={title} />
<h4 class="card_date">{date}</h4>
<div class="hover-text">
<p set:html={description} />
</div>