Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "aireadi.org",
"name": "eyeactstudy.org",
"version": "0.0.1",
"private": false,
"typings": "index.d.ts",
Expand Down Expand Up @@ -46,21 +46,21 @@
"react-lottie-player": "^1.5.0",
"react-toastify": "^9.1.1",
"react-use": "^17.5.0",
"rehype-document": "7.0.3",
"rehype-external-links": "3.0.0",
"rehype-format": "5.0.0",
"rehype-highlight": "7.0.0",
"rehype-raw": "7.0.0",
"rehype-document": "^7.0.3",
"rehype-external-links": "^3.0.0",
"rehype-format": "^5.0.1",
"rehype-highlight": "^7.0.1",
"rehype-raw": "^7.0.0",
"rehype-sanitize": "6.0.0",
"rehype-stringify": "10.0.0",
"rehype-stringify": "^10.0.1",
"remark": "15.0.1",
"remark-gfm": "^4.0.0",
"remark-parse": "11.0.0",
"remark-rehype": "11.1.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.1",
"sharp": "^0.31.3",
"sib-api-v3-sdk": "^8.4.2",
"tailwind-merge": "^1.7.0",
"unified": "11.0.4",
"unified": "^11.0.5",
"words-count": "^2.0.2"
},
"devDependencies": {
Expand Down
54 changes: 25 additions & 29 deletions src/pages/404.tsx
Original file line number Diff line number Diff line change
@@ -1,41 +1,37 @@
import Link from 'next/link';

import Layout from '@/components/layout/Layout';
import ArrowLink from '@/components/links/ArrowLink';
import ButtonLink from '@/components/links/ButtonLink';
import LottieAnimation from '@/components/lotties';
import Seo from '@/components/Seo';

import heroLottie from '~/lotties/404.json';

export default function NotFoundPage() {
return (
<Layout>
<Seo templateTitle='404' />

<main>
<section className='layout flex h-[calc(100vh-60px)] flex-col items-center justify-center text-center'>
<div className='flex items-center justify-center space-x-4'>
<LottieAnimation
animationData={heroLottie}
width={250}
height={250}
/>
<div className='max-w-lg text-left'>
<h1 className='mt-8 text-6xl font-black'>404!</h1>
<h2 className='my-4 text-2xl'>
The page you are looking for might have been removed or had its
name changed or is temporarily unavailable.
</h2>
<ArrowLink
className='mt-4 inline-flex items-center md:text-lg'
href='/'
as={ButtonLink}
variant='light'
>
Back to Home
</ArrowLink>
</div>
<main className='grid min-h-full place-items-center bg-white px-6 py-24 sm:py-32 lg:px-8'>
<div className='text-center'>
<p className='text-base font-semibold text-indigo-600'>404</p>
<h1 className='mt-4 text-balance text-5xl font-semibold tracking-tight text-gray-900 sm:text-7xl'>
Page not found
</h1>
<p className='mt-6 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8'>
Sorry, we couldn’t find the page you’re looking for.
</p>
<div className='mt-6 space-x-4'>
<Link
href='/'
className='rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600'
>
Go back home
</Link>
<Link
href='/contact'
className='text-sm font-semibold text-gray-900'
>
Contact support <span aria-hidden='true'>&rarr;</span>
</Link>
</div>
</section>
</div>
</main>
</Layout>
);
Expand Down
7 changes: 0 additions & 7 deletions src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ class MyDocument extends Document {
type='font/woff2'
crossOrigin='anonymous'
/>

<script
async
defer
data-website-id='b6587885-8dd3-426f-a805-4caa432aaaa2'
src='https://umami.fairdataihub.org/mushroom'
/>
</Head>

<body
Expand Down
8 changes: 5 additions & 3 deletions src/pages/team/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const TeamPage: React.FC<InferGetStaticPropsType<typeof getStaticProps>> = ({
{'mastodon' in member.social && (
<li className='flex items-center justify-center text-gray-500 transition-all hover:text-sky-600'>
<a
href={member.social.mastodon}
href={member.social.mastodon as string | undefined}
rel='noopener noreferrer'
target='_blank'
className='cursor-newtab'
Expand Down Expand Up @@ -192,7 +192,7 @@ const TeamPage: React.FC<InferGetStaticPropsType<typeof getStaticProps>> = ({
{'profiles' in member.social && (
<li className='flex items-center justify-center text-gray-500 transition-all hover:text-sky-600'>
<a
href={member.social.profiles}
href={member.social.profiles as string | undefined}
rel='noopener noreferrer'
target='_blank'
className='cursor-newtab'
Expand All @@ -206,7 +206,9 @@ const TeamPage: React.FC<InferGetStaticPropsType<typeof getStaticProps>> = ({
{'medprofile' in member.social && (
<li className='flex items-center justify-center text-gray-500 transition-all hover:text-sky-600'>
<a
href={member.social.medprofile}
href={
member.social.medprofile as string | undefined
}
rel='noopener noreferrer'
target='_blank'
className='cursor-newtab'
Expand Down