Some corrections with types and undeleted file
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 18m1s

This commit is contained in:
2025-08-14 09:48:52 +09:30
parent 63e0e1fd28
commit 1f45a74b2a
19 changed files with 54 additions and 105 deletions

View File

@@ -3,9 +3,9 @@ import type { HTMLAttributes } from "astro/types";
interface Props extends HTMLAttributes<"a"> {}
import Link from "@components/Link.astro";
import TextLink from "@components/TextLink.astro";
const { href, ...attrs } = Astro.props as Props;
const { href, ...attrs } = Astro.props;
---
<Link href={href} {...attrs}><slot /></Link>
<TextLink href={href} {...attrs}><slot /></TextLink>

View File

@@ -7,4 +7,4 @@ interface Props extends HTMLAttributes<"p"> {}
const { ...attrs } = Astro.props as Props;
---
<Paragraph className="my-4" {...attrs}><slot /></Paragraph>
<Paragraph class="my-4" {...attrs}><slot /></Paragraph>