Begin styling projects page
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 13m15s
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 13m15s
This commit is contained in:
11
src/components/MDX/A.astro
Normal file
11
src/components/MDX/A.astro
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
import type { HTMLAttributes } from "astro/types";
|
||||
|
||||
interface Props extends HTMLAttributes<"a"> {}
|
||||
|
||||
import Link from "@components/Link.astro";
|
||||
|
||||
const { href, ...attrs } = Astro.props as Props;
|
||||
---
|
||||
|
||||
<Link href={href} {...attrs}><slot /></Link>
|
||||
Reference in New Issue
Block a user