-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Fernanda Castillo <[email protected]>
- Loading branch information
Showing
10 changed files
with
125 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@salt-ds/core": minor | ||
--- | ||
|
||
Add secondary variant to `Card` and `InteractableCard` via `variant` prop. |
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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { ReactElement } from "react"; | ||
import { Card, H3, Text } from "@salt-ds/core"; | ||
|
||
export const Secondary = (): ReactElement => { | ||
return ( | ||
<Card variant="secondary" style={{ width: "256px" }}> | ||
<H3>Sustainable investing products</H3> | ||
<Text> | ||
We have a commitment to provide a wide range of investment solutions to | ||
enable you to align your financial goals to your values. | ||
</Text> | ||
</Card> | ||
); | ||
}; |
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,26 @@ | ||
import { ReactElement } from "react"; | ||
import { | ||
InteractableCard as SaltInteractableCard, | ||
H3, | ||
Link, | ||
Text, | ||
} from "@salt-ds/core"; | ||
|
||
export const SecondaryInteractableCard = (): ReactElement => { | ||
return ( | ||
<Link | ||
style={{ textDecoration: "none" }} | ||
href="https://saltdesignsystem.com/" | ||
IconComponent={null} | ||
target="_blank" | ||
> | ||
<SaltInteractableCard variant="secondary" style={{ width: "256px" }}> | ||
<H3>Sustainable investing products</H3> | ||
<Text> | ||
We have a commitment to provide a wide range of investment solutions | ||
to enable you to align your financial goals to your values. | ||
</Text> | ||
</SaltInteractableCard> | ||
</Link> | ||
); | ||
}; |
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
c6f5fee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
saltdesignsystem – ./
saltdesignsystem-git-main-fed-team.vercel.app
www.saltdesignsystem.com
next.saltdesignsystem.com
saltdesignsystem.vercel.app
saltdesignsystem-fed-team.vercel.app