@@ -4,7 +4,10 @@ import { format } from 'date-fns';
44
55import { extractArxivID , getPaper } from '../lib/arxiv'
66
7+ import LinkSpan from './LinkSpan.astro'
8+
79import StarlightPage from '@astrojs/starlight/components/StarlightPage.astro';
10+ import { Icon } from '@astrojs/starlight/components';
811
912const props = Astro.props;
1013
@@ -18,21 +21,21 @@ const paper = getPaper(arxivid)
1821<StarlightPage
1922 frontmatter ={ { title: arxivEntry .title , editUrl:false , tableOfContents:false } } }
2023>
21- <p class =" byline text-xs " >
24+ <p class =" byline text-sm " >
2225 <time itemprop =" published" datetime ={ format (arxivEntry .published , ' yyyy-MM-dd' )} >
2326 Published { format (arxivEntry .published , ' MMMM do, yyyy' )}
2427 </time >
25- <address class =" author text-xs " >By
28+ <address class =" author text-sm " >By
2629 { arxivEntry .author .map ( (author : any , i : number ) => (
2730 <span >{ (i ? ' , ' : ' ' )} <a rel = " author" class = " url fn n" >{ author .name } </a ></span >
2831 ))}
2932 </address >
30- <cite class =" arxivid text-xs " >
33+ <cite class =" arxivid text-sm " >
3134 <a href ={ arxivEntry .id } >arXiv:{ arxivid } </a >
3235 [ { arxivEntry .category .join (" , " )}
3336 ]
3437 </cite >
35- <cite class =" github text-xs " >
38+ <cite class =" github text-sm " >
3639 { paper ?.github !== undefined && paper .github !== " " ?
3740 (<a href = { " https://github.com/" + paper ?.github } >github:{ paper ?.github } </a >)
3841 : ' '
@@ -45,38 +48,3 @@ const paper = getPaper(arxivid)
4548 <blockquote ><p >{ arxivEntry .summary } </p ></blockquote >
4649
4750</StarlightPage >
48-
49-
50-
51- <!-- <StarlightPage
52- frontmatter={{ title: `${entry.title.text}`, editUrl:false, tableOfContents:false} }}
53- >
54-
55- <p class="byline text-xs">
56- <time pubdate={format(pubDate, 'yyyy-MM-dd')} title="August 28th, 2011">Published {format(pubDate, 'MMMM do, yyyy')}</time>
57- <address class="author text-xs">By
58- {authors.map( (author:any, i:number) => (
59- <span key={i}>{(i ? ', ' : '')}
60- <a rel="author" class="url fn n">{author.name.text}</a>
61- </span>
62- ))}
63- </address>
64- <cite class="arxivid text-xs">
65- <a href={entry.id.text}>arXiv:{arxivid}</a>
66- [ {categories.map( (category:any) => category._attributes.term).join(", ")}
67- ]
68- </cite>
69- <cite class="github text-xs">
70- {paper?.github !== undefined && paper.github !== "" ?
71- (<a href={"https://github.com/" + paper?.github}>github:{paper?.github}</a>)
72- : ''
73- }
74-
75- </cite>
76- </p>
77-
78-
79- <h2 id="quote">Abstract</h2>
80- <blockquote><p>{entry.summary.text}</p></blockquote>
81-
82- </StarlightPage> -->
0 commit comments