-
+
-
By
+ By
{arxivEntry.author.map( (author:any, i:number) => (
{(i ? ', ' : '')}{author.name}
))}
-
+
arXiv:{arxivid}
[ {arxivEntry.category.join(", ")}
]
-
+
{paper?.github !== undefined && paper.github !== "" ?
(github:{paper?.github})
: ''
@@ -45,38 +48,3 @@ const paper = getPaper(arxivid)
{arxivEntry.summary}
-
-
-
-
diff --git a/src/components/GrIcon.astro b/src/components/GrIcon.astro
new file mode 100644
index 0000000..210bac6
--- /dev/null
+++ b/src/components/GrIcon.astro
@@ -0,0 +1,33 @@
+---
+import { LocalIcons } from './LocalIcons';
+
+interface Props {
+ name: keyof typeof LocalIcons;
+ label?: string;
+ color?: string;
+ size?: string;
+ class?: string;
+}
+
+const { name, label, size = '1em', color } = Astro.props;
+const a11yAttrs = label ? ({ 'aria-label': label } as const) : ({ 'aria-hidden': 'true' } as const);
+---
+
+