-
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.
- Loading branch information
1 parent
12da77b
commit cd6deaf
Showing
56 changed files
with
537 additions
and
490 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
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,17 +1,18 @@ | ||
import * as React from 'react'; | ||
|
||
export const CopyIcon = ({ className = "h-5 w-5" }: { className?: string }) => ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
className={className} | ||
fill="none" | ||
viewBox="0 0 24 24" | ||
stroke="currentColor"> | ||
<path | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
strokeWidth="2" | ||
d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z" | ||
/> | ||
</svg> | ||
export const CopyIcon = ({ className = 'h-5 w-5' }: { className?: string }) => ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
className={className} | ||
fill="none" | ||
viewBox="0 0 24 24" | ||
stroke="currentColor" | ||
> | ||
<path | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
strokeWidth="2" | ||
d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z" | ||
/> | ||
</svg> | ||
); |
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,6 +1,5 @@ | ||
import * as React from 'react'; | ||
|
||
|
||
export const Discord = () => ( | ||
<svg | ||
width="20" | ||
|
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,15 +1,16 @@ | ||
import * as React from 'react'; | ||
|
||
export const DownArrow = () => ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
className="m-auto mt-1 h-5 w-5 items-center text-center" | ||
viewBox="0 0 20 20" | ||
fill="currentColor"> | ||
<path | ||
fillRule="evenodd" | ||
d="M14.707 10.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L9 12.586V5a1 1 0 012 0v7.586l2.293-2.293a1 1 0 011.414 0z" | ||
clipRule="evenodd" | ||
/> | ||
</svg> | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
className="m-auto mt-1 h-5 w-5 items-center text-center" | ||
viewBox="0 0 20 20" | ||
fill="currentColor" | ||
> | ||
<path | ||
fillRule="evenodd" | ||
d="M14.707 10.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L9 12.586V5a1 1 0 012 0v7.586l2.293-2.293a1 1 0 011.414 0z" | ||
clipRule="evenodd" | ||
/> | ||
</svg> | ||
); |
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,6 +1,5 @@ | ||
import * as React from 'react'; | ||
|
||
|
||
export const Github = () => ( | ||
<svg | ||
width="20" | ||
|
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,17 +1,18 @@ | ||
import * as React from "react"; | ||
import * as React from 'react'; | ||
|
||
export const HashtagIcon = () => ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
className="w-[150%]" | ||
fill="none" | ||
viewBox="0 0 24 24" | ||
stroke="currentColor"> | ||
<path | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
strokeWidth={2} | ||
d="M7 20l4-16m2 16l4-16M6 9h14M4 15h14" | ||
/> | ||
</svg> | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
className="w-[150%]" | ||
fill="none" | ||
viewBox="0 0 24 24" | ||
stroke="currentColor" | ||
> | ||
<path | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
strokeWidth={2} | ||
d="M7 20l4-16m2 16l4-16M6 9h14M4 15h14" | ||
/> | ||
</svg> | ||
); |
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,14 +1,14 @@ | ||
export * from "./logout-icon"; | ||
export * from "./crypto-wallets"; | ||
export * from "./magic"; | ||
export * from "./ethereum"; | ||
export * from "./loading-spinner"; | ||
export * from "./twitter"; | ||
export * from "./github"; | ||
export * from "./link-icon"; | ||
export * from "./discord"; | ||
export * from "./down-arrow"; | ||
export * from "./red-heart"; | ||
export * from "./transparent-heart"; | ||
export * from "./hashtag"; | ||
export * from "./copy-icon"; | ||
export * from './logout-icon'; | ||
export * from './crypto-wallets'; | ||
export * from './magic'; | ||
export * from './ethereum'; | ||
export * from './loading-spinner'; | ||
export * from './twitter'; | ||
export * from './github'; | ||
export * from './link-icon'; | ||
export * from './discord'; | ||
export * from './down-arrow'; | ||
export * from './red-heart'; | ||
export * from './transparent-heart'; | ||
export * from './hashtag'; | ||
export * from './copy-icon'; |
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,11 +1,12 @@ | ||
import * as React from "react"; | ||
import * as React from 'react'; | ||
export const RedHeart = () => ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 122.88 107.39" | ||
className={`h-4 w-auto fill-red-700`}> | ||
<defs></defs> | ||
<title>red-heart</title> | ||
<path d="M60.83,17.18c8-8.35,13.62-15.57,26-17C110-2.46,131.27,21.26,119.57,44.61c-3.33,6.65-10.11,14.56-17.61,22.32-8.23,8.52-17.34,16.87-23.72,23.2l-17.4,17.26L46.46,93.55C29.16,76.89,1,55.92,0,29.94-.63,11.74,13.73.08,30.25.29c14.76.2,21,7.54,30.58,16.89Z" /> | ||
</svg> | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 122.88 107.39" | ||
className={`h-4 w-auto fill-red-700`} | ||
> | ||
<defs></defs> | ||
<title>red-heart</title> | ||
<path d="M60.83,17.18c8-8.35,13.62-15.57,26-17C110-2.46,131.27,21.26,119.57,44.61c-3.33,6.65-10.11,14.56-17.61,22.32-8.23,8.52-17.34,16.87-23.72,23.2l-17.4,17.26L46.46,93.55C29.16,76.89,1,55.92,0,29.94-.63,11.74,13.73.08,30.25.29c14.76.2,21,7.54,30.58,16.89Z" /> | ||
</svg> | ||
); |
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,9 +1,9 @@ | ||
import * as React from "react"; | ||
import * as React from 'react'; | ||
|
||
export const TransparentHeart = () => ( | ||
<svg className="h-5 w-auto fill-current" viewBox="0 0 24 24"> | ||
<g> | ||
<path d="M12 21.638h-.014C9.403 21.59 1.95 14.856 1.95 8.478c0-3.064 2.525-5.754 5.403-5.754 2.29 0 3.83 1.58 4.646 2.73.814-1.148 2.354-2.73 4.645-2.73 2.88 0 5.404 2.69 5.404 5.755 0 6.376-7.454 13.11-10.037 13.157H12zM7.354 4.225c-2.08 0-3.903 1.988-3.903 4.255 0 5.74 7.034 11.596 8.55 11.658 1.518-.062 8.55-5.917 8.55-11.658 0-2.267-1.823-4.255-3.903-4.255-2.528 0-3.94 2.936-3.952 2.965-.23.562-1.156.562-1.387 0-.014-.03-1.425-2.965-3.954-2.965z"></path> | ||
</g> | ||
</svg> | ||
<svg className="h-5 w-auto fill-current" viewBox="0 0 24 24"> | ||
<g> | ||
<path d="M12 21.638h-.014C9.403 21.59 1.95 14.856 1.95 8.478c0-3.064 2.525-5.754 5.403-5.754 2.29 0 3.83 1.58 4.646 2.73.814-1.148 2.354-2.73 4.645-2.73 2.88 0 5.404 2.69 5.404 5.755 0 6.376-7.454 13.11-10.037 13.157H12zM7.354 4.225c-2.08 0-3.903 1.988-3.903 4.255 0 5.74 7.034 11.596 8.55 11.658 1.518-.062 8.55-5.917 8.55-11.658 0-2.267-1.823-4.255-3.903-4.255-2.528 0-3.94 2.936-3.952 2.965-.23.562-1.156.562-1.387 0-.014-.03-1.425-2.965-3.954-2.965z"></path> | ||
</g> | ||
</svg> | ||
); |
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,33 +1,34 @@ | ||
import dynamic from "next/dynamic"; | ||
import * as React from "react"; | ||
import type { NFT } from "@/types"; | ||
import { MediaComponent } from "@/components"; | ||
import dynamic from 'next/dynamic'; | ||
import * as React from 'react'; | ||
import type { NFT } from '@/types'; | ||
import { MediaComponent } from '@/components'; | ||
|
||
export const Gallery = ({ nfts }: { nfts: NFT[] }) => { | ||
return ( | ||
<div className="bg-transparent"> | ||
<div className="mx-auto max-w-2xl lg:max-w-7xl"> | ||
<h2 className="sr-only">NFTs</h2> | ||
return ( | ||
<div className="bg-transparent"> | ||
<div className="mx-auto max-w-2xl lg:max-w-7xl"> | ||
<h2 className="sr-only">NFTs</h2> | ||
|
||
<div className="grid grid-cols-1 gap-y-6 gap-x-6 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 xl:gap-x-4"> | ||
{nfts.map((nft, idx) => { | ||
return ( | ||
<a | ||
key={idx} | ||
href={`https://opensea.io/assets/${nft.contract_address}/${nft.token_id}`} | ||
target="_blank" | ||
rel="noreferrer" | ||
className="group"> | ||
<div className="aspect-w-1 aspect-h-1 xl:aspect-w-7 xl:aspect-h-8 w-full overflow-hidden rounded-lg bg-gray-200"> | ||
<MediaComponent mediaUrl={nft.file_url} /> | ||
</div> | ||
{/* <h3 className="mt-4 text-sm text-gray-700">{product.name}</h3> | ||
<div className="grid grid-cols-1 gap-y-6 gap-x-6 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 xl:gap-x-4"> | ||
{nfts.map((nft, idx) => { | ||
return ( | ||
<a | ||
key={idx} | ||
href={`https://opensea.io/assets/${nft.contract_address}/${nft.token_id}`} | ||
target="_blank" | ||
rel="noreferrer" | ||
className="group" | ||
> | ||
<div className="aspect-w-1 aspect-h-1 xl:aspect-w-7 xl:aspect-h-8 w-full overflow-hidden rounded-lg bg-gray-200"> | ||
<MediaComponent mediaUrl={nft.file_url} /> | ||
</div> | ||
{/* <h3 className="mt-4 text-sm text-gray-700">{product.name}</h3> | ||
<p className="mt-1 text-lg font-medium text-gray-900">{product.price}</p> */} | ||
</a> | ||
); | ||
})} | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
</a> | ||
); | ||
})} | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; |
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.