Skip to content

Commit

Permalink
[wip] create account
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeesun Kim authored and Jeesun Kim committed Mar 5, 2024
1 parent fa09019 commit a97a399
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
26 changes: 25 additions & 1 deletion src/app/(sidebar)/account/create/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
"use client";

import { Card, Link, Text, Button, Icon } from "@stellar/design-system";

import { NextLink } from "@/components/NextLink";

export default function CreateAccount() {
return <div>Create Account</div>;
return (
<Card>
<div className="CardText">
<Text size="lg" as="h1" weight="medium">
Keypair Generator
</Text>

<Text size="sm" as="p">
These keypairs can be used on the Stellar network where one is
required. For example, it can be used as an account master key,
account signer, and/or as a stellar-core node key.
</Text>
</div>

<div className="padding-top-30">
<Button size="md" variant="tertiary">
Generate keypair
</Button>
</div>
</Card>
);
}
24 changes: 24 additions & 0 deletions src/styles/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -299,3 +299,27 @@
margin-bottom: 0 !important;
}
}

.IntroCards {
display: grid;
gap: pxToRem(12px);
grid-template-columns: 1fr 1fr;

.Card {
display: flex;
flex-direction: column;
gap: pxToRem(8px);
justify-content: space-between;

:nth-child(2) {
flex: 1;
}
}
}

// =============================================================================
// Margin | Padding
// =============================================================================
.padding-top-30 {
padding-top: pxToRem(30px);
}

0 comments on commit a97a399

Please sign in to comment.