style: format

This commit is contained in:
quantum9Innovation 2024-02-15 19:46:20 +00:00 committed by github-actions[bot]
parent 0ad477bc36
commit cb14236f98

View file

@ -35,7 +35,7 @@ export default function AuthorDisplay({
const { website } = data const { website } = data
const images: HTMLImageElement[] = [] const images: HTMLImageElement[] = []
nationality.forEach(n => { nationality.forEach((n) => {
const { flag } = nationalities[n] const { flag } = nationalities[n]
const image = new Image() const image = new Image()
image.src = flag image.src = flag
@ -45,10 +45,10 @@ export default function AuthorDisplay({
return ( return (
<> <>
<Konami action={handleKonami} /> <Konami action={handleKonami} />
{snowfallActivated && {snowfallActivated && (
<Snowfall <Snowfall
snowflakeCount={500} snowflakeCount={500}
color="white" color='white'
images={images} images={images}
radius={[20, 60]} radius={[20, 60]}
style={{ style={{
@ -60,7 +60,7 @@ export default function AuthorDisplay({
height: `${document.documentElement.scrollHeight}px`, height: `${document.documentElement.scrollHeight}px`,
}} }}
/> />
} )}
<span>{mainPosition} at </span> <span>{mainPosition} at </span>
<Link href={`/affiliation/${mainAffiliationShort}`}> <Link href={`/affiliation/${mainAffiliationShort}`}>
{mainAffiliation.name} {mainAffiliation.name}