-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update announcements * replace Tctext * update oci * update url * update * fix * fix public page view * fix * fix * fix public view page --------- Co-authored-by: Cyrille <[email protected]>
- Loading branch information
1 parent
e62dd59
commit c561fd3
Showing
8 changed files
with
193 additions
and
80 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,68 @@ | ||
import Image from 'next/image'; | ||
import { useRouter } from 'next/router'; | ||
|
||
import notFounded from '../assets/svg/404.svg'; | ||
import tcLogo from '../assets/svg/tc-logo.svg'; | ||
import TcButton from '../components/shared/TcButton'; | ||
|
||
const NotFound = () => { | ||
const router = useRouter(); | ||
|
||
return ( | ||
<div className='container'> | ||
<div className='mx-auto flex px-3 py-4 md:w-8/12 md:px-0 md:py-4'> | ||
<Image alt='Image Alt' src={tcLogo} /> | ||
</div> | ||
<div className='flex flex-col items-center justify-center p-3 md:mt-8 md:flex-row md:space-x-8 md:p-0'> | ||
<div className='hidden md:relative md:block md:h-[214px] md:w-[248px]'> | ||
<Image | ||
alt='Image Alt' | ||
src={notFounded} | ||
layout='fill' | ||
objectFit='contain' | ||
/> | ||
</div> | ||
<div className='space-y-8'> | ||
<h1 className='text-3xl font-bold'> | ||
Oops! We’re sorry, we couldn’t find <br /> the page you’re looking | ||
for. | ||
</h1> | ||
<div className='space-y-3'> | ||
<p className='text-md font-bold'>What could have caused this?</p> | ||
<div className='space-y-2'> | ||
<p className='text-base'> | ||
The link you clicked might be old and does not work anymore. | ||
</p> | ||
<p className='text-sm'> | ||
Or you might have accidentally typed the wrong URL in the | ||
address bar. | ||
</p> | ||
</div> | ||
</div> | ||
<div className='space-y-3'> | ||
<p className='text-md font-bold'>What you can do</p> | ||
<p className='text-sm'> | ||
You might retype the URL or try some helpful links instead: | ||
</p> | ||
</div> | ||
<div className='flex flex-col justify-between space-y-2 md:flex-row md:space-x-2 md:space-y-0'> | ||
<TcButton | ||
text='Community Insights' | ||
variant='outlined' | ||
onClick={() => router.push('/')} | ||
className='py-2 md:w-1/2' | ||
/> | ||
<TcButton | ||
onClick={() => router.push('/centric')} | ||
variant='outlined' | ||
text='Connect your community' | ||
className='py-2 md:w-1/2' | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default NotFound; |
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.