Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TACo landing page #113

Merged
merged 21 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
03075f5
add taco page and components
evandrosaturnino Mar 19, 2024
bba7e46
add highlighted words array in title
evandrosaturnino Mar 19, 2024
a78b219
add taco comparison table
evandrosaturnino Mar 19, 2024
743ecdc
fix header layout responsiveness
evandrosaturnino Mar 19, 2024
0a3a1ed
update taco table row height
evandrosaturnino Mar 19, 2024
029fd00
fix taco images paths and buttons texts
evandrosaturnino Mar 20, 2024
bf43acb
add component image to taco page
evandrosaturnino Mar 20, 2024
cf58554
refactor taco page icons
evandrosaturnino Mar 20, 2024
6d33a67
refactor taco landing page copies
evandrosaturnino Mar 27, 2024
7c73f90
update inference protection image in taco page
evandrosaturnino Mar 27, 2024
31818a2
refactor toggle taco panel functionality
evandrosaturnino Mar 27, 2024
eb14689
refactor taco table alignment and sizes
evandrosaturnino Mar 27, 2024
7240090
update highlighted words in taco features title
evandrosaturnino Mar 27, 2024
b0f1fcb
adds new inference protection image in taco page
evandrosaturnino Mar 27, 2024
fbd1071
update taco page copies
evandrosaturnino Mar 28, 2024
daa6ffa
update taco examples from png to svg
evandrosaturnino Mar 28, 2024
e625f84
refactor inference protection svg
evandrosaturnino Mar 28, 2024
7dd9268
update nav bar prioritizing taco over tbtc sdk
evandrosaturnino Apr 3, 2024
fb8b86f
fix navbar bad indentation
evandrosaturnino Apr 3, 2024
5d9ddae
capitalize the taco info title
evandrosaturnino Apr 11, 2024
a030d2f
update taco table description
evandrosaturnino Apr 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/Card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export interface CardButton {
label: string
url: string
variant: string
posthogLabel?: string
}

export interface CardCategory {
Expand Down
29 changes: 0 additions & 29 deletions src/components/HighlightWord.tsx

This file was deleted.

36 changes: 36 additions & 0 deletions src/components/HighlightWords.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import React, { FC } from "react"
import { BoxProps, Text } from "@chakra-ui/react"

export interface HighlightWordsProps extends BoxProps {
title: string
highlighted?: string[]
}

export const HighlightWords: FC<HighlightWordsProps> = ({
title,
highlighted = [],
...boxProps
}) => {
const words = title.split(/\s+/)

return (
<>
{words.map((word, index) => {
const isHighlighted = highlighted.includes(word)

return (
<React.Fragment key={`text-${index}`}>
{isHighlighted ? (
<Text as="span" bgClip="text" {...boxProps}>
{word}
</Text>
) : (
word
)}
{index < words.length - 1 && " "}
</React.Fragment>
)
})}
</>
)
}
4 changes: 2 additions & 2 deletions src/components/Navbar/DesktopNav/DesktopNavLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ const DesktopNavLinks: FC<DesktopNavLinksProps> = ({
}) => {
return (
<HStack
w="100%"
w={{ base: "100%", xl: "auto" }}
borderRight="1px solid"
borderLeft="1px solid"
borderColor="gray.700"
px={8}
spacing={4}
display={{ base: "none", md: "inherit" }}
justifyContent={{ base: "end", lg: "start" }}
justifyContent={{ base: "end", xl: "start" }}
as="nav"
>
{navLinks.map(({ subitems, label, url }) => {
Expand Down
9 changes: 5 additions & 4 deletions src/components/Navbar/SocialMediaLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,19 @@ const SocialMediaLinks: FC<
> = ({ isMobileDrawerFooter, links, ...stackProps }) => {
return (
<HStack
spacing={6}
w="100%"
spacing={5}
display={{
base: isMobileDrawerFooter ? "inherit" : "none",
lg: "inherit",
xl: "inherit",
}}
justifyContent={{
base: isMobileDrawerFooter ? "center" : "flex-end",
lg: "flex-start",
xl: "flex-start",
}}
borderLeft={{
base: isMobileDrawerFooter ? "none" : "1px solid",
lg: "none",
xl: "none",
}}
borderColor="brand.300"
marginBottom={isMobileDrawerFooter ? 8 : undefined}
Expand Down
4 changes: 3 additions & 1 deletion src/components/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,19 @@ export const Navbar: FC = () => {
<>
{showBanner && <WhatsNextBanner onClose={closeBanner} />}
<HStack
w="100%"
bg="gray.900"
h="90px"
borderBottom="1px solid"
borderColor="gray.700"
as="header"
>
<Container
maxW="1140px"
h="100%"
maxW="none"
display="flex"
justifyContent="space-between"
pr={{ base: 0, xl: 8 }}
>
<ThresholdBrand />
<MobileDrawer
Expand Down
1 change: 1 addition & 0 deletions src/components/PageSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const ResponsiveStack: FC<
base: columnReverse ? "column" : "column-reverse",
md: rowReverse ? "row-reverse" : "row",
}}
position="relative"
justifyContent="space-between"
{...props}
>
Expand Down
5 changes: 3 additions & 2 deletions src/components/ThresholdBrand.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ const ThresholdBrand: FC<{ isDrawerOpen?: boolean } & StackProps> = ({
}) => {
return (
<HStack
minW={{ base: "184px", lg: "225px" }}
justifyContent={isDrawerOpen ? "center" : "flex-start"}
w={{ xl: "100%" }}
minW={{ base: "184px", xl: "225px" }}
justifyContent={isDrawerOpen ? "center" : "end"}
pr="32px"
{...props}
>
Expand Down
2 changes: 2 additions & 0 deletions src/content/components/nav-bar.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ nav_items:
subitems:
- label: tBTC SDK
url: /build/tbtc-sdk
- label: TACo
url: /build/taco
- label: Docs
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
url: https://docs.threshold.network/
isExternal: true
Expand Down
213 changes: 213 additions & 0 deletions src/content/pages/build/taco.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@
---
template: build-page/taco
path: /build/taco
title: TACo Page
seoTitle: Threshold Taco
seoDescription: "TACo (Threshold Access Control) enables end-to-end encrypted data sharing and communication."
tacoInfo:
title: "TACo: Privacy without trust"
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
description: "Give your users true sovereignty over their data, today. TACo – the first and only access control layer you aren’t forced to trust."
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
image: /images/taco-encryption.svg
buttons:
- label: Start Building
url: https://docs.threshold.network/app-development/threshold-access-control-tac/integration-guide
variant: EXTERNAL_SOLID
- label: Trust Overview
url: https://docs.threshold.network/app-development/threshold-access-control-tac/trust-assumptions/cbd-mainnet-version
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
variant: EXTERNAL_OUTLINE
rowReverse: false
tacoFeaturesInfo:
title: "The Fully Decentralized End-to-End Encryption"
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
description: "Empower users to share data with qualifying recipients, and no-one else Encryption via a decentralized cryptosystem."
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
highlighted: ["Decentralized", "Encryption"]
tacoFeatures:
- title: "Web3 needs TACo"
cards:
- title: "Decentralized Storage"
description: "TACo is the perfect compliment to persistent storage, finally enabling users to grant future access without having to download & re-encrypt locally."
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
icon: /images/storage-icon.svg
- title: "Web3 Social Networks"
description: "TACo enables many-to-many data sharing, minus a centralized authority that eventually decides to harvest and monetize interpersonal communication."
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
icon: /images/social-icon.svg
- title: "Media content-gating"
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
description: "Whether it's a stream, a movie or a collectible, TACo enforces decryption rights to media, so owning an NFT has meaning beyond a symbolic receipt."
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
icon: /images/media-icon.svg
- title: "The Web needs TACo"
cards:
- title: "Hyper-sensitive data"
description: "From reproductive health data to seed phrase recovery, TACo is leveraged to ensure that high-stakes data sharing doesn’t involve trusting an intermediary."
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
icon: /images/locker-icon.svg
- title: "IoT & Connected Vehicles"
description: "TACo is the antidote to the interconnected hardware panopticon, where every waking (and sleeping) moment of our lives is surveilled."
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
icon: /images/iot-icon.svg
- title: "Activism & Human Rights"
description: "TACo protects those most at risk of intimidation, censorship and reprisal based on a data leaks – whether via a hack, subpoena, or a data vending business model."
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
icon: /images/activism-icon.svg
tacoDiagramsInfo:
title: "Integrate a Privacy Layer with Nothing to Hide"
description: "TACo isn't just auditable, it's comprehensible, from high-level schematic to client code."
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
image: /images/taco-grid.svg
background: /images/glowing-background.png
tacoDiagrams:
- title: "Generating a DKG Cohort"
preTitle: "learn"
description: "Independent nodes sampled from the Threshold network form a cohort – who collectively generate a DKG public key."
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
image: /images/first-taco-diagram.svg
buttons:
- label: "nucypher/ferveo"
url: https://github.com/nucypher/ferveo
variant: EXTERNAL_OUTLINE
- label: "nucypher-contracts"
url: https://github.com/nucypher/nucypher-contracts
variant: EXTERNAL_OUTLINE
- title: "Encrypting Private Data"
preTitle: "learn"
description: "Data owners specify conditions for decryption, embedded with private data and encrypted with the DKG public key."
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
image: "/images/second-taco-diagram.svg"
buttons:
- label: "taco-web"
url: https://github.com/nucypher/taco-web
variant: EXTERNAL_OUTLINE
- label: "nucypher/main"
url: https://github.com/nucypher/nucypher/tree/main
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
variant: EXTERNAL_OUTLINE
- title: "Accessing Decrypted Data"
preTitle: "learn"
description: "Requesters present state to the cohort, who verify conditions fulfillment before provisioning decryption material."
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
image: "/images/third-taco-diagram.svg"
buttons:
- label: "taco-web"
url: https://github.com/nucypher/taco-web
variant: EXTERNAL_OUTLINE
- label: "nucypher/main"
url: https://github.com/nucypher/nucypher/tree/main
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
variant: EXTERNAL_OUTLINE
tacoExamplesInfo:
title: "Access conditions that fit your use case"
derekpierre marked this conversation as resolved.
Show resolved Hide resolved
preTitle: "build"
description: "Whatever the business logic for data access, TACo nodes will enforce it. Specify and combine EVM, RPC and time-based conditions. Non-blockchain coming soon."
image: "/images/ecosystem-grid.svg"
rowReverse: false
tacoExamples:
- title: "NFT-gating"
description: "Predicate decryption rights on the holding of special-purpose NFTs. Works for digital media, event streams and beyond."
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
image: "/images/nft-gating.png"
- title: "Secret recovery"
description: "Share your seed phrase or password – to beneficiaries or your future self – without risking DOS by an intermediary."
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
image: "/images/secret-recovery.png"
- title: "Inference protection"
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
description: "Prevent third-parties from harvesting or blocking communication between end-users and generative models."
image: "/images/inference-protection.png"
derekpierre marked this conversation as resolved.
Show resolved Hide resolved
tacoTableInfo:
title: "The Zero Compromise Solution"
highlighted: ["Zero", "Compromise"]
description: "Choose a service that’s easy to integrate and that’s actually decentralized."
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
rowReverse: false
tacoTable:
headers:
[
"Feature / Service Choice",
"TACo",
"LIT",
"EVM Contract",
"PKI",
"Cloud Service",
]
features:
- label: "Scalable to millions of users"
evandrosaturnino marked this conversation as resolved.
Show resolved Hide resolved
options:
- project: "Taco"
image: "/images/check-purple.svg"
- project: "LIT"
image: "/images/check-white.svg"
- project: "EVM Contract"
image: "/images/x-gray.svg"
- project: "PKI"
image: "/images/x-gray.svg"
- project: "Cloud Service"
image: "/images/check-white.svg"
- label: "Arbitrary access conditions"
options:
- project: "Taco"
image: "/images/check-purple.svg"
- project: "LIT"
image: "/images/check-white.svg"
- project: "EVM Contract"
image: "/images/x-gray.svg"
- project: "PKI"
image: "/images/x-gray.svg"
- project: "Cloud Service"
image: "/images/check-white.svg"
- label: "Redundant & highly available"
options:
- project: "Taco"
image: "/images/check-purple.svg"
- project: "LIT"
image: "/images/dash-white.svg"
- project: "EVM Contract"
image: "/images/check-white.svg"
- project: "PKI"
image: "/images/x-gray.svg"
- project: "Cloud Service"
image: "/images/check-white.svg"
- label: "Cryptoeconomically secured"
options:
- project: "Taco"
image: "/images/check-purple.svg"
- project: "LIT"
image: "/images/x-gray.svg"
- project: "EVM Contract"
image: "/images/check-white.svg"
- project: "PKI"
image: "/images/x-gray.svg"
- project: "Cloud Service"
image: "/images/x-gray.svg"
- label: "Battle-tested network"
options:
- project: "Taco"
image: "/images/check-purple.svg"
- project: "LIT"
image: "/images/x-gray.svg"
- project: "EVM Contract"
image: "/images/check-white.svg"
- project: "PKI"
image: "/images/x-gray.svg"
- project: "Cloud Service"
image: "/images/x-gray.svg"
- label: "Transparent trust model"
options:
- project: "Taco"
image: "/images/check-purple.svg"
- project: "LIT"
image: "/images/x-gray.svg"
- project: "EVM Contract"
image: "/images/check-white.svg"
- project: "PKI"
image: "/images/check-white.svg"
- project: "Cloud Service"
image: "/images/dash-white.svg"
- label: "Track record with infra"
options:
- project: "Taco"
image: "/images/check-purple.svg"
- project: "LIT"
image: "/images/x-gray.svg"
- project: "EVM Contract"
image: "/images/check-white.svg"
- project: "PKI"
image: "/images/x-gray.svg"
- project: "Cloud Service"
image: "/images/x-gray.svg"
- label: "Multi-chain"
options:
- project: "Taco"
image: "/images/dash-purple.svg"
- project: "LIT"
image: "/images/check-white.svg"
- project: "EVM Contract"
image: "/images/x-gray.svg"
- project: "PKI"
image: "/images/x-gray.svg"
- project: "Cloud Service"
image: "/images/x-gray.svg"
---
2 changes: 1 addition & 1 deletion src/content/pages/build/tbtc-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ seoTitle: Threshold tBTC SDK
seoDescription: "Develop applications using tBTC SDK, and leverage the Bitcoins strength across various blockchains, enhancing user flexibility and market reach"
sdkInfo:
title: "tBTC SDK: Supercharge Your Project with Bitcoin"
highlightedWord: "tBTC SDK:"
highlighted: ["tBTC", "SDK:"]
description: "Unlock the power of blockchain – The ultimate toolkit for harnessing Bitcoin's potential."
image: /images/tbtc-sdk.svg
buttons:
Expand Down
Loading
Loading