PDPA Features: ✅ Cookie consent banner ✅ Consent logging API ✅ Admin dashboard ✅ Privacy Policy ✅ Terms & Conditions Technical: ✅ Astro 5.x + Tailwind v4 ✅ Docker on port 80 ✅ SQLite database ✅ 15 pages built Ready for Easypanel deployment.
13 lines
335 B
Plaintext
13 lines
335 B
Plaintext
---
|
|
import { default as Picture, type Props as PictureProps } from './Picture.astro';
|
|
|
|
type Props = PictureProps;
|
|
|
|
const { class: className, ...props } = Astro.props;
|
|
import './image.css';
|
|
---
|
|
|
|
{/* Applying class outside of the spread prevents it from applying unnecessary astro-* classes */}
|
|
|
|
<Picture {...props} class={className} />
|