generated from sweetmantech/DACIRKUS_PERFORMERS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #131 from SweetmanTech/tech322/web3-bonasi
Tech322/web3 bonsai
- Loading branch information
Showing
7 changed files
with
55 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
const CollectDropButton = ({ className = "" }: { className?: string }) => ( | ||
<button type="button" className={`${className} bg-darkgray py-[3px] w-full`} disabled> | ||
Collect | ||
</button> | ||
) | ||
|
||
export default CollectDropButton |
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,3 @@ | ||
import CollectDropButton from "./CollectDropButton" | ||
|
||
export default CollectDropButton |
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,20 @@ | ||
const DropCollect = ({ isPopup, children, title, artist, animationUrl }) => ( | ||
<div className="w-full flex flex-col gap-1.5"> | ||
<video | ||
src={animationUrl} | ||
preload="auto" | ||
controls | ||
playsInline | ||
webkit-playsinline | ||
x5-playsinline | ||
muted | ||
className={`${isPopup ? "h-[200px]" : "h-[300px]"}`} | ||
/> | ||
{children} | ||
<span className={`uppercase text-[12px] ${isPopup ? "md:text-[14px]" : "md:text-[16px]"}`}> | ||
{title} By {artist} | ||
</span> | ||
</div> | ||
) | ||
|
||
export default DropCollect |
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,16 @@ | ||
import CollectDropButton from "@/components/CollectDropButton" | ||
import DropCollect from "@/components/DropCollect" | ||
import data from "@/lib/zora-drops" | ||
|
||
const BonsaiSection = ({ isPopup }) => ( | ||
<DropCollect | ||
title={data[12].title} | ||
artist={data[12].artist} | ||
isPopup={isPopup} | ||
animationUrl={data[12].ipfs} | ||
> | ||
<CollectDropButton /> | ||
</DropCollect> | ||
) | ||
|
||
export default BonsaiSection |
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