-
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
ff72348
commit c1e5a4a
Showing
8 changed files
with
49 additions
and
7 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 |
---|---|---|
|
@@ -66,3 +66,9 @@ | |
line-height: 13px; | ||
color: #93989a; | ||
} | ||
|
||
.cards { | ||
padding: 12px 16px; | ||
|
||
border-top: 1px solid #f3f3f3; | ||
} |
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 |
---|---|---|
|
@@ -61,6 +61,10 @@ | |
.text { | ||
color: #000; | ||
} | ||
|
||
svg path { | ||
fill: #000; | ||
} | ||
} | ||
|
||
.light { | ||
|
3 changes: 3 additions & 0 deletions
3
frontend/src/features/collections/components/mint-limit-info-card/index.ts
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 { MintLimitInfoCard } from './mint-limit-info-card'; | ||
|
||
export { MintLimitInfoCard }; |
20 changes: 20 additions & 0 deletions
20
frontend/src/features/collections/components/mint-limit-info-card/mint-limit-info-card.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,20 @@ | ||
import LandscapeSVG from '../../assets/landscape.svg?react'; | ||
import { InfoCard, Props as InfoCardProps } from '../info-card'; | ||
|
||
type Props = Omit<InfoCardProps, 'heading' | 'text' | 'SVG'> & { | ||
heading: string | null; | ||
text: number; | ||
}; | ||
|
||
function MintLimitInfoCard({ heading, text, ...props }: Props) { | ||
return ( | ||
<InfoCard | ||
heading={heading ? `of ${heading} to be minted` : 'Unlimited series'} | ||
text={`${text} NFTs`} | ||
SVG={LandscapeSVG} | ||
{...props} | ||
/> | ||
); | ||
} | ||
|
||
export { MintLimitInfoCard }; |
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