-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed yarn snapshot and more intuitive with single token cards
- Loading branch information
1 parent
1ca268a
commit 6cc8bfa
Showing
8 changed files
with
83 additions
and
9 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
11 changes: 11 additions & 0 deletions
11
...es/nextjs/components/rep-tokens/cards/stylized-cards/token-properties/DescriptionCard.tsx
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,11 @@ | ||
import { StylizedStringCard } from "../StylizedStringCard"; | ||
import { Token } from "~~/components/rep-tokens/hooks/Hooks"; | ||
|
||
type Props = { | ||
token: Token; | ||
type?: "default" | "bold"; | ||
}; | ||
|
||
export const DescriptionCard = ({ token, type = "default" }: Props) => { | ||
return <StylizedStringCard value={token?.description} type={type} />; | ||
}; |
16 changes: 16 additions & 0 deletions
16
...js/components/rep-tokens/cards/stylized-cards/token-properties/MaxMintAmountPerTxCard.tsx
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 { StylizedStringCard } from "../StylizedStringCard"; | ||
import { Token } from "~~/components/rep-tokens/hooks/Hooks"; | ||
|
||
type Props = { | ||
token: Token; | ||
type?: "default" | "bold"; | ||
}; | ||
|
||
export const MaxMintAmountPerTxCard = ({ token, type = "default" }: Props) => { | ||
return ( | ||
<StylizedStringCard | ||
value={`Max Mint Amount Per Tx: ` + token?.properties?.maxMintAmountPerTx?.toString()} | ||
type={type} | ||
/> | ||
); | ||
}; |
11 changes: 11 additions & 0 deletions
11
packages/nextjs/components/rep-tokens/cards/stylized-cards/token-properties/NameCard.tsx
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,11 @@ | ||
import { StylizedStringCard } from "../StylizedStringCard"; | ||
import { Token } from "~~/components/rep-tokens/hooks/Hooks"; | ||
|
||
type Props = { | ||
token: Token; | ||
type?: "default" | "bold"; | ||
}; | ||
|
||
export const NameCard = ({ token, type = "bold" }: Props) => { | ||
return <StylizedStringCard value={token?.name} type={type} />; | ||
}; |
11 changes: 11 additions & 0 deletions
11
...ges/nextjs/components/rep-tokens/cards/stylized-cards/token-properties/RedeemableCard.tsx
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,11 @@ | ||
import { StylizedStringCard } from "../StylizedStringCard"; | ||
import { Token } from "~~/components/rep-tokens/hooks/Hooks"; | ||
|
||
type Props = { | ||
token: Token; | ||
type?: "default" | "bold"; | ||
}; | ||
|
||
export const RedeemableCard = ({ token, type = "default" }: Props) => { | ||
return <StylizedStringCard value={`Redeemable: ` + token?.properties?.isRedeemable?.toString()} type={type} />; | ||
}; |
11 changes: 11 additions & 0 deletions
11
...ages/nextjs/components/rep-tokens/cards/stylized-cards/token-properties/SoulboundCard.tsx
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,11 @@ | ||
import { StylizedStringCard } from "../StylizedStringCard"; | ||
import { Token } from "~~/components/rep-tokens/hooks/Hooks"; | ||
|
||
type Props = { | ||
token: Token; | ||
type?: "default" | "bold"; | ||
}; | ||
|
||
export const SoulboundCard = ({ token, type = "default" }: Props) => { | ||
return <StylizedStringCard value={`Soulbound: ` + token?.properties?.isSoulbound?.toString()} type={type} />; | ||
}; |