fixed everything!
This commit is contained in:
parent
a0aea05e00
commit
1104866a76
2 changed files with 19 additions and 4 deletions
|
@ -174,13 +174,17 @@ export default function AuthorDisplay({
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
<Bio />
|
<Bio />
|
||||||
|
<hr className='mx-auto w-full h-1 border-0 bg-slate-200 my-2 rounded-md' />
|
||||||
|
<br />
|
||||||
{authorsDocuments.length > 0 && (
|
{authorsDocuments.length > 0 && (
|
||||||
<>
|
<>
|
||||||
<h1 className='text-3xl md:my-6 my-4 font-serif'>
|
<h1 className='text-3xl md:my-6 my-4 font-serif'>
|
||||||
Published documents
|
Published documents
|
||||||
</h1>
|
</h1>
|
||||||
{authorsDocuments.map((d) => (
|
{authorsDocuments.map((d) => (
|
||||||
|
<Fragment key={d.slug}>
|
||||||
<DocumentCard doc={d.doc} href={`/document/view/${d.slug}`} />
|
<DocumentCard doc={d.doc} href={`/document/view/${d.slug}`} />
|
||||||
|
</Fragment>
|
||||||
))}
|
))}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -6,12 +6,23 @@ const inter = Inter({ weight: '400', subsets: ['latin'] })
|
||||||
|
|
||||||
export default function News() {
|
export default function News() {
|
||||||
return (
|
return (
|
||||||
<div className={inter.className + ' mt-6 bg-slate-800 rounded-lg p-6 w-full basis-full md:basis-2/5 my-4 lg:my-0 max-h-[250px] overflow-y-auto shadow-md shadow-slate-500'}>
|
<div
|
||||||
<div className={zillaSlab.className + ' font-serif text-3xl text-slate-200'}>eeXiv News</div>
|
className={
|
||||||
|
inter.className +
|
||||||
|
' mt-6 bg-slate-800 rounded-lg p-6 w-full basis-full md:basis-2/5 my-4 lg:my-0 max-h-[250px] overflow-y-auto shadow-slate-500 shadow-sm'
|
||||||
|
}
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
className={zillaSlab.className + ' font-serif text-3xl text-slate-200'}
|
||||||
|
>
|
||||||
|
eeXiv News
|
||||||
|
</div>
|
||||||
<div className='text-lg text-slate-400 mb-4'>
|
<div className='text-lg text-slate-400 mb-4'>
|
||||||
Stay up to date with what is happening at eeXiv.
|
Stay up to date with what is happening at eeXiv.
|
||||||
</div>
|
</div>
|
||||||
<div className={zillaSlab.className + ' text-slate-200 text-2xl mb-2'}>Latest news</div>
|
<div className={zillaSlab.className + ' text-slate-200 text-2xl mb-2'}>
|
||||||
|
Latest news
|
||||||
|
</div>
|
||||||
<ul className='text-slate-50 px-6 list-disc'>
|
<ul className='text-slate-50 px-6 list-disc'>
|
||||||
<li key={1}>
|
<li key={1}>
|
||||||
eeXiv 2.1 has been released! Documents are now statically generated
|
eeXiv 2.1 has been released! Documents are now statically generated
|
||||||
|
|
Loading…
Reference in a new issue