style: format
This commit is contained in:
parent
0ad477bc36
commit
cb14236f98
1 changed files with 4 additions and 4 deletions
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue