Skip to content

Commit

Permalink
Feat/mvp frontend (#18)
Browse files Browse the repository at this point in the history
* commit starter-pack frontend nextjs

* start impl form create_with_range

* clean form + ui + refacto => go view

* basic UI. Waiting Cairo contract to be finish for get and claim_stream

* add interaction contract testnet => create_with_duration

* create with range

* need redeploy of contract with read functions

* add new abi + utils for stream card felt conversion

* stream card button add cancel and withdraw button max

* basic mvp with cancel withdraw => go fix create_with_duration + ui/ux

* go tabs view and pollish UI

* fix table overflow and refacto

* mvp basic => rebattle test everything + UI + get feedback

* ui basic + upgrade nextjs
  • Loading branch information
MSghais authored Jan 30, 2024
1 parent 90bcc16 commit cae302b
Show file tree
Hide file tree
Showing 26 changed files with 3,746 additions and 446 deletions.
29 changes: 29 additions & 0 deletions frontend/components/button/NavItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,33 @@ export const ExternalStylizedButtonLink: React.FC<StylizedButtonLinkProps> = ({
);
};


export const ExternalTransparentButtonLink: React.FC<StylizedButtonLinkProps> = ({
icon,
href,
text,
title,
children,
...rest
}) => {
return (
<Box as={LinkChakra} title={title} {...rest} href={href} target="_blank"
bg='transparent'
>
<Button
rel="noopener noreferrer"
display="inline-flex"
alignItems="center"
width={"100%"}
bg="transparent"
{...rest}
>
{icon && <Icon as={icon} marginRight={2} />}
{children}
</Button>
</Box>
);
};


export default StylizedButtonLink;
Loading

0 comments on commit cae302b

Please sign in to comment.