update data

This commit is contained in:
Youwen Wu 2024-02-10 20:09:36 -08:00
parent 7eaa3b997b
commit 86473b9880
3 changed files with 7 additions and 3 deletions

View file

@ -1,6 +1,7 @@
import { authors, affiliations, nationalities } from '../../db/data'
import { Zilla_Slab } from 'next/font/google'
import Link from 'next/link'
import { notFound } from 'next/navigation'
import { Fragment } from 'react'
const zillaSlab = Zilla_Slab({ subsets: ['latin'], weight: ['500'] })
@ -13,7 +14,7 @@ export default function Page({
const authorData = authors[params.author]
// console.log(authorData)
if (!authorData) {
return
notFound()
}
const { name, affiliation, image, nationality, formerAffiliations } =
@ -32,7 +33,10 @@ export default function Page({
{authorData.website ? (
<div className='mt-2'>
Visit at: <a href={authorData.website}>{authorData.website}</a>
Visit at:{' '}
<a href={authorData.website} target='_blank'>
{authorData.website}
</a>
</div>
) : null}
</>

View file

@ -265,6 +265,7 @@ export const authors: Authors = {
image: 'https://cdn-icons-png.freepik.com/512/3177/3177440.png',
nationality: ['ind', 'eth', 'usa'],
bio: 'The king of jank.',
website: 'https://github.com/quantum9Innovation',
},
ywu: {
name: {

View file

@ -1 +0,0 @@
declare module 'unix-timestamp'