From 449f71511e539878af4c65f073cdc373b469c45e Mon Sep 17 00:00:00 2001 From: João Augusto Costa Branco Marado Torres Date: Sun, 6 Jul 2025 22:27:04 -0300 Subject: feat: more structured data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Augusto Costa Branco Marado Torres --- src/components/organisms/Date.astro | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/components/organisms/Date.astro') diff --git a/src/components/organisms/Date.astro b/src/components/organisms/Date.astro index c1ec7e5..960cfb7 100644 --- a/src/components/organisms/Date.astro +++ b/src/components/organisms/Date.astro @@ -1,8 +1,11 @@ --- +import type { HTMLAttributes } from "astro/types"; + interface Props { date: Date; locales: Intl.LocalesArgument; options: Intl.DateTimeFormatOptions; + itemprop: HTMLAttributes<"time">["itemprop"]; } const { date, locales, options } = Astro.props; -- cgit v1.2.3