-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Video Modal, Landing Page Image, 404 page, Copy Link in Cry…
…ptobot single (#211) * feat:video modal added * feat:added hero image * ✅ feat:added custom 404 page * featt: ✅ copy link functionality in cryptobot single * feat: ✅ sharable link in successful transaction * 🐛 fix:redirect to marketplace if bot not found, build fixed hopefully * feat: ✅ sharable link of cryptobot after successfull minting * feat: ✅ error modal if no cryptobot in transaction * feat : ✅ error modal in claim-transaction * feat: ✅ added phase 2 video link Co-authored-by: Bhaskar Singh <[email protected]>
- Loading branch information
1 parent
c3488ef
commit 1e52a73
Showing
6 changed files
with
338 additions
and
106 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,42 @@ | ||
import React, { useState } from 'react'; | ||
import { Link } from 'gatsby'; | ||
import NavBar from 'src/components/NavBar'; | ||
import ErrorBot from 'src/images/error.png'; | ||
|
||
const Error404 = () => { | ||
return ( | ||
<> | ||
<NavBar /> | ||
<main | ||
className={`flex h-full w-full items-center justify-center bg-base-900 text-white`} | ||
style={{ | ||
minHeight: `calc(100vh - 5rem)`, | ||
}} | ||
> | ||
<div | ||
className={`flex justify-center items-center flex-col -mt-16`} | ||
style={{ | ||
maxWidth: '70vw', | ||
}} | ||
> | ||
<img src={ErrorBot} className={`h-64 w-64`} /> | ||
<h3 className={`font-black text-4xl mt-4`}>Oops</h3> | ||
<p className={`text-center text-2xl mt-4`}> | ||
This cryptobot does not exists. Try exploring on Marketplace or | ||
build your own while learning in Academy | ||
</p> | ||
<div className={`mt-6 space-x-4`}> | ||
<Link | ||
to="/tezos" | ||
className={`py-3 px-9 text-xl bg-primary-600 hover:bg-primary-700 text-white font-bold rounded focus:outline-none`} | ||
> | ||
Home | ||
</Link> | ||
</div> | ||
</div> | ||
</main> | ||
</> | ||
); | ||
}; | ||
|
||
export default Error404; |
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.