Skip to content

Commit

Permalink
Merge pull request #1868 from starknet-io/feature/cta-homepage
Browse files Browse the repository at this point in the history
Add gradient cta homepage
  • Loading branch information
rafaelcruzazevedo authored Dec 27, 2023
2 parents 48bb9f7 + 723fb24 commit 144a26d
Show file tree
Hide file tree
Showing 4 changed files with 354 additions and 264 deletions.
10 changes: 10 additions & 0 deletions workspaces/website/src/components/Button/Button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ export const Ghost = () => (
</ThemeProvider>
);

export const Gradient = () => (
<ThemeProvider>
<HStack p={12}>
<>
<Button variant="gradient">Gradient button</Button>
</>
</HStack>
</ThemeProvider>
);

export const PrimaryHero = () => (
<ThemeProvider>
<HStack p={12}>
Expand Down
3 changes: 2 additions & 1 deletion workspaces/website/src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ type props = {
| "filter"
| "filterActive"
| "category"
| "icon";
| "icon"
| "gradient";
children: React.ReactNode;
toId?: string;
href?: string;
Expand Down
Loading

0 comments on commit 144a26d

Please sign in to comment.