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

Solana-Token-Frontend-UI-Modification #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

### Screenshot

![](/public/solanaScreenshot.PNG)

This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Getting Started
Expand Down Expand Up @@ -32,3 +37,4 @@ You can check out [the Next.js GitHub repository](https://github.com/vercel/next
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.

2 changes: 1 addition & 1 deletion components/BalanceDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const BalanceDisplay: FC = () => {

return (
<div>
<p>{publicKey ? `SOL Balance: ${balance / LAMPORTS_PER_SOL}` : ""}</p>
<p>{publicKey ? `Balance: ${balance / LAMPORTS_PER_SOL} SOL` : ""}</p>
</div>
);
};
2 changes: 1 addition & 1 deletion components/CreateMint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const CreateMintForm: FC = () => {
<div>
<p>Token Mint Address: {mint}</p>
<p>View your transaction on </p>
<a href={link()}>Solana Explorer</a>
<a href={link()} target="_blank">Solana Explorer</a>
</div>
) : null}
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/CreateTokenAccount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const CreateTokenAccountForm: FC = () => {
<div>
<p>Token Account Address: {tokenAccount}</p>
<p>View your transaction on </p>
<a href={link()}>Solana Explorer</a>
<a href={link()} target="_blank">Solana Explorer</a>
</div>
) : null}
</div>
Expand Down
6 changes: 3 additions & 3 deletions components/MintToForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ export const MintToForm: FC = () => {
)}
{txSig ? (
<div>
<p>Token Balance: {balance} </p>
<p>View your transaction on </p>
<a href={link()}>Solana Explorer</a>
<p className={styles.formText}>Token Balance: {balance} </p>
<p className={styles.formText}>View your transaction on </p>
<a href={link()} target="_blank">Solana Explorer</a>
</div>
) : null}
</div>
Expand Down
Loading