From 3679722b7acd4d7056d7dded8b7b6564462f528c Mon Sep 17 00:00:00 2001
From: Kristóf Marussy <kristof@marussy.com>
Date: Wed, 20 Mar 2024 01:21:25 +0100
Subject: Simplify license links

---
 src/components/licenses.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/components/licenses.tsx')

diff --git a/src/components/licenses.tsx b/src/components/licenses.tsx
index 85b0cb2..f038b5f 100644
--- a/src/components/licenses.tsx
+++ b/src/components/licenses.tsx
@@ -15,7 +15,7 @@ export type LicenseLinkProps = LinkProps & { label?: string };
 
 export function LicenseLink({ children, label, ...props }: LicenseLinkProps) {
   return (
-    <Link className={styles.link} {...props}>
+    <Link {...props}>
       <Certificate weight="bold" aria-hidden="true" className={styles.icon} />
       <span className="sr-only">{label ?? 'License'}: </span>
       {children}
@@ -29,7 +29,7 @@ export function MITLicenseLink() {
 
 export function CCLicenseLink({ children, label, ...props }: LicenseLinkProps) {
   return (
-    <Link className={styles.link} {...props}>
+    <Link {...props}>
       <CreativeCommonsIcon className={styles.icon} hidden />
       <span className="sr-only">{label ?? 'Creative Commons license'}: </span>
       {children}
@@ -51,7 +51,7 @@ export function ClosedAccessLink({
   ...props
 }: LicenseLinkProps) {
   return (
-    <Link className={styles.link} {...props}>
+    <Link {...props}>
       <Lock weight="bold" aria-hidden="true" className={styles.icon} />
       <span className="sr-only">{label ?? 'Closed access'}: </span>
       {children}
-- 
cgit v1.2.3-54-g00ecf

