diff --git a/.eslintrc.json b/.eslintrc.json index bffb357..f0f3abe 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,3 +1,6 @@ { - "extends": "next/core-web-vitals" + "extends": "next/core-web-vitals", + "rules": { + "@next/next/no-img-element": "off" + } } diff --git a/src/app/author/[author]/page.tsx b/src/app/author/[author]/page.tsx index bdcf410..71555fe 100644 --- a/src/app/author/[author]/page.tsx +++ b/src/app/author/[author]/page.tsx @@ -29,6 +29,12 @@ export default function Page({ {mainAffiliation.name} + + {authorData.website ? ( +
+ Visit at: {authorData.website} +
+ ) : null} ) } @@ -100,12 +106,6 @@ export default function Page({ return ( <>

Bio:

- {authorData.website ? ( -

- You can visit me at:{' '} - {authorData.website} -

- ) : null}

{authorData.bio}

) @@ -122,14 +122,14 @@ export default function Page({ />
-
+
{name.first} {name.nickname ? ` "${name.nickname}"` : null} {name.last} -
+