Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
17 changes: 12 additions & 5 deletions docs/sdks/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Turnkey also has several [wrappers for popular web3 libraries](https://docs.turn
<CheckmarkCircleIcon />,
],
[
"Arbitrary Request Signing",
"Request Authentication",
"Stamping",
<CheckmarkCircleIcon />,
<CheckmarkCircleIcon />,
Expand All @@ -154,6 +154,7 @@ Turnkey also has several [wrappers for popular web3 libraries](https://docs.turn
<Table
referenceType="server"
columnHeadings={[
{},
{},
{
text: "TypeScript",
Expand All @@ -173,28 +174,34 @@ Turnkey also has several [wrappers for popular web3 libraries](https://docs.turn
]}
tableRows={[
[
"Authentication",
"Request Authentication",
"Stamping",
<CheckmarkCircleIcon />,
<CheckmarkCircleIcon />,
<CheckmarkCircleIcon />,
<CheckmarkCircleIcon />,
<CheckmarkCircleIcon />,
],
[
"Wallet Management",
"API Client",
"Fully-Typed",
<CheckmarkCircleIcon />,
<CheckmarkCircleIcon />,
<CheckmarkCircleIcon />,
"",
"",
],
[
"Policy Management",
<CheckmarkCircleIcon />,
{
text: "Secure Enclave Channels",
url: "https://docs.turnkey.com/security/enclave-secure-channels",
},
"HPKE",
<CheckmarkCircleIcon />,
<CheckmarkCircleIcon />,
"",
"",
"",
],
]}
/>
8 changes: 6 additions & 2 deletions src/components/table/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
width: 10rem;
}

.column-headings > .column-heading.server:nth-child(2) {
width: 10rem;
}

.column-headings > .column-heading:last-child {
border-right: none;
}
Expand Down Expand Up @@ -83,7 +87,7 @@

.table-row > .table-cell.server:nth-child(2) {
padding-left: 0.5rem;
width: 7rem;
width: 10rem;
border-left: 1px solid var(--tk-border-gray-100);
}

Expand All @@ -93,7 +97,7 @@
align-items: center;
}

.table-row > .table-cell.server:nth-child(n + 2) {
.table-row > .table-cell.server:nth-child(n + 3) {
display: flex;
justify-content: center;
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion src/components/table/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function Table({ referenceType, columnHeadings, tableRows }) {
{tableRow.map((row, rowIndex) => {
return (
<div key={rowIndex} className={`table-cell ${referenceType}`}>
{row}
{row?.text ? <a href={row?.url}>{row?.text}</a> : row}
</div>
);
})}
Expand Down