-
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.
- Loading branch information
1 parent
1172e85
commit 1b8af5f
Showing
9 changed files
with
140 additions
and
219 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
.../rep-tokens-demo/MainTokensCardConfig.tsx → ...demo/_components/MainTokensCardConfig.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
111 changes: 111 additions & 0 deletions
111
packages/nextjs/app/rep-tokens-demo/_components/MainTokensCardWithNumberOverlayConfig.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,111 @@ | ||
// import { TokenCardClasses } from "../rep-tokens/cards/token-card/TokenCard"; | ||
// import { TokenGroupCardElementsClasses } from "../rep-tokens/cards/token-group-card/TokenGroupCard"; | ||
// export const tokensCardPropertiesClasses = { | ||
// card: "bg-base-300 flex flex-col items-center", | ||
// container: "flex justify-center", | ||
// } as TokenGroupCardElementsClasses; | ||
// export const tokenCardPropertiesClasses = { | ||
// card: "px-5 py-5 relative w-64", | ||
// baseTokenCardElementsClasses: { | ||
// balance: { | ||
// container: "absolute top-1/4 left-1/2 transform -translate-x-1/2 -translate-y-1/3", | ||
// value: "text-9xl mx-auto text-center", | ||
// }, | ||
// name: { | ||
// value: "text-1xl text-center object-center mx-auto font-bold break-all", | ||
// }, | ||
// description: { | ||
// value: "text-1xl mx-auto text-center break-words", | ||
// }, | ||
// image: { | ||
// value: "rounded mx-auto", | ||
// }, | ||
// }, | ||
// } as TokenCardClasses; | ||
import { ImageProps } from "../../../components/rep-tokens/cards/value-cards/ImageCard"; | ||
import { | ||
ImageValueCardConfigProp, | ||
TokenCardConfigProps, | ||
TokenCardValuesConfigProps, | ||
ValueCardConfigProps, | ||
} from "../../../components/rep-tokens/types/Types"; | ||
import { TokenGroupCardConfigProps } from "../../../components/rep-tokens/types/Types"; | ||
|
||
export const balanceProps = { | ||
isRendering: true, | ||
classes: { | ||
card: "absolute top-1/4 left-1/2 transform -translate-x-1/2 -translate-y-1/3", | ||
value: "text-9xl mx-auto text-center text-black", | ||
}, | ||
isPrettyLoading: true, | ||
} as ValueCardConfigProps; | ||
|
||
export const imageProps = { | ||
isRendering: true, | ||
classes: { | ||
card: "bg-slate-300 p-1", | ||
value: "rounded mx-auto", | ||
}, | ||
imageProperties: new ImageProps("Token", 256, 256), | ||
isPrettyLoading: true, | ||
} as ImageValueCardConfigProp; | ||
|
||
export const nameProps = { | ||
isRendering: true, | ||
classes: { | ||
card: "bg-slate-300", | ||
value: "text-1xl text-center object-center mx-auto font-bold break-all text-black", | ||
}, | ||
isPrettyLoading: true, | ||
} as ValueCardConfigProps; | ||
|
||
export const descriptionProps = { | ||
isRendering: true, | ||
classes: { | ||
card: "bg-slate-300", | ||
value: "text-1xl mx-auto text-center break-words text-black", | ||
}, | ||
isPrettyLoading: true, | ||
} as ValueCardConfigProps; | ||
|
||
export const addressProps = { | ||
isRendering: true, | ||
classes: { | ||
card: "flex items-center justify-center bg-slate-300", | ||
value: "ml-1.5 text-base font-normal text-cyan-800", | ||
}, | ||
isPrettyLoading: true, | ||
} as ValueCardConfigProps; | ||
|
||
export const tokenCardValuesProps = { | ||
balanceProps, | ||
imageProps, | ||
nameProps, | ||
descriptionProps, | ||
addressProps, | ||
} as TokenCardValuesConfigProps; | ||
|
||
export const tokenCardProps = { | ||
isRendering: true, | ||
cardClasses: "bg-slate-600 px-5 py-5 relative w-64", | ||
valuesProps: tokenCardValuesProps, | ||
} as TokenCardConfigProps; | ||
|
||
export const tokenGroupCardConfigProps = { | ||
isRendering: true, | ||
cardClasses: { | ||
card: "bg-slate-900 flex flex-col items-center p-5", | ||
value: "bg-slate-800 flex justify-center p-5", | ||
}, | ||
address: { | ||
isRendering: true, | ||
classes: { | ||
card: "my-5 flex items-center justify-center bg-slate-300", | ||
value: "ml-1.5 text-base font-normal text-cyan-800", | ||
}, | ||
isPrettyLoading: true, | ||
} as ValueCardConfigProps, | ||
|
||
isPrettyLoading: true, | ||
tokenCardProps, | ||
} as TokenGroupCardConfigProps; |
File renamed without changes.
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 was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
packages/nextjs/components/rep-tokens-demo/MainTokensCardWithNumberOverlayConfig.tsx
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
packages/nextjs/components/rep-tokens-demo/assets/CopyIcon.tsx
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
packages/nextjs/components/rep-tokens-demo/assets/DiamondIcon.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.