-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from threshold-network/tbtc-sdk-page
Add tBTC SDK Page ## Description Add the tBTC SDK landing page to the website with multiple sections - Updated navbar to accommodate a new category for the upcoming Threshold products, starting with the tBTC SDK (thUSD and TACo). - [Add tbtc sdk landing page](b03599a) - [Fix integration component margin](5a7ff4c) - [Refactor nav bar menu content](d681d1e) Figma's design prototype: https://www.figma.com/file/5eN3hPMkCVOpXb5YQw6CtB/tBTC-SDK?type=design&node-id=1264%3A185&mode=design&t=btHMRHkFwM2x8nJN-1 ## Notice - [x] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/shapeshift/web/pulls) for the same update/change? ## Pull Request Type - [x] New Feature (Breaking/Non-breaking Change) ## Issue (if applicable) Closes issue #90 ## Testing Please outline all testing steps 1. Clone the repo - git clone https://github.com/threshold-network/website.git 2. Install dependencies - yarn install 3. Run the app - yarn start ## Screenshots (if applicable) ![image](https://github.com/threshold-network/website/assets/60587527/62fb9d92-ef50-4fc1-9669-bde0452a70b1) ![image](https://github.com/threshold-network/website/assets/60587527/12e640d1-51ac-4432-bf9e-295bf7515bbe) ![image](https://github.com/threshold-network/website/assets/60587527/c9bc4848-56c5-4654-983d-8b7f140c057f) For mobile: ![image](https://github.com/threshold-network/website/assets/60587527/07d8ad35-7e7b-492b-a47c-1ea681f38789)
- Loading branch information
Showing
28 changed files
with
1,058 additions
and
104 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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
.eslintcache | ||
|
||
# Generated | ||
build/ | ||
/build/ | ||
dist/ | ||
|
||
# Yarn | ||
|
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
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,30 @@ | ||
import { FC } from "react" | ||
import { CardButton } from "../Card" | ||
import { ButtonProps, Stack } from "@chakra-ui/react" | ||
import ExternalButtonLink from "../Buttons/ExternalButtonLink" | ||
import { ExternalLinkHref } from "./types" | ||
|
||
interface NavCTAButtonsProps extends ButtonProps { | ||
menuButtons: CardButton[] | ||
} | ||
|
||
const NavCTAButtons: FC<NavCTAButtonsProps> = ({ menuButtons, ...props }) => { | ||
return ( | ||
<Stack direction={{ base: "column", sm: "row" }} spacing={8}> | ||
{menuButtons.map((_: CardButton) => { | ||
return ( | ||
<ExternalButtonLink | ||
variant="special" | ||
href={_.url as ExternalLinkHref} | ||
key={_.label} | ||
{...props} | ||
> | ||
{_.label} | ||
</ExternalButtonLink> | ||
) | ||
})} | ||
</Stack> | ||
) | ||
} | ||
|
||
export default NavCTAButtons |
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,5 @@ | ||
--- | ||
template: build-page | ||
path: /build | ||
title: Build | ||
--- |
Oops, something went wrong.