-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e3139ae
commit 42c7512
Showing
27 changed files
with
115 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import Link from 'next/link'; | ||
import { IoIosArrowForward } from 'react-icons/io'; | ||
|
||
import LanguageSwitcher from '@/components/buttons/LanguageSwitcher'; | ||
import ThemeSwitcher from '@/components/buttons/ThemeSwitcher'; | ||
import { NoPrefetchLink } from '@/components/links/CustomLink'; | ||
|
||
type Props = { | ||
httpCode: number; | ||
|
@@ -24,7 +24,7 @@ const ErrorPage = ({ t, httpCode }: Props) => { | |
width={500} | ||
/> | ||
</div> | ||
<Link href='/'> | ||
<NoPrefetchLink href='/'> | ||
<a> | ||
<div className='group relative inline-flex cursor-pointer items-center overflow-hidden rounded border border-current px-7 py-2 text-blue-600 focus:outline-none focus:ring active:text-blue-500 dark:text-gray-500 dark:active:text-gray-500'> | ||
<span className='absolute right-0 translate-x-full transition-transform group-hover:-translate-x-4'> | ||
|
@@ -36,27 +36,27 @@ const ErrorPage = ({ t, httpCode }: Props) => { | |
</span> | ||
</div> | ||
</a> | ||
</Link> | ||
</NoPrefetchLink> | ||
<div className='mt-4 block text-xs text-gray-400'> | ||
<Link href='mailto:[email protected]'> | ||
<NoPrefetchLink href='mailto:[email protected]'> | ||
<a | ||
target='_blank' | ||
className='cursor-pointer hover:underline' | ||
rel='noreferrer' | ||
> | ||
<span>{t('footer.feedback')}</span> | ||
</a> | ||
</Link> | ||
</NoPrefetchLink> | ||
<span className='px-1'>·</span> | ||
<Link href='https://github.com/HelloGitHub-Team/geese'> | ||
<NoPrefetchLink href='https://github.com/HelloGitHub-Team/geese'> | ||
<a | ||
target='_blank' | ||
className='cursor-pointer hover:underline' | ||
rel='noreferrer' | ||
> | ||
<span>{t('footer.source')}</span> | ||
</a> | ||
</Link> | ||
</NoPrefetchLink> | ||
|
||
<p className='mt-2'> | ||
<span className='cursor-default'> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.