Skip to content

Commit 3ddf241

Browse files
authored
Merge pull request #482 from scaffold-eth/challenge-tokenization-new-ui
Tokenization New UI
2 parents ef2c99f + da278e5 commit 3ddf241

8 files changed

Lines changed: 16 additions & 14 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Before you begin, you need to install the following tools:
5656
Then download the challenge to your computer and install dependencies by running:
5757

5858
```sh
59-
npx create-eth@2.0.20 -e challenge-tokenization challenge-tokenization
59+
npx create-eth@2.0.22 -e challenge-tokenization challenge-tokenization
6060
```
6161

6262
> When prompted, choose your preferred Solidity framework: **Hardhat** or **Foundry**.
@@ -106,6 +106,8 @@ yarn start
106106

107107
📱 Open [http://localhost:3000](http://localhost:3000) to see the app.
108108

109+
> _Note: the UI in screenshots may differ slightly from the current version._
110+
109111
---
110112

111113
⚠️ We've disabled Cursor auto-suggestions (Tab completions and predictions) via `.vscode/settings.json` to reduce distractions while you code. AI chat and agent features are still enabled, and we've included `AGENTS.md` and `CLAUDE.md` files with project context to help AI assistants understand the codebase.

extension/README.md.args.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ yarn start
8989
9090
📱 Open [http://localhost:3000](http://localhost:3000) to see the app.
9191
92+
> _Note: the UI in screenshots may differ slightly from the current version._
93+
9294
---
9395
9496
⚠️ We've disabled Cursor auto-suggestions (Tab completions and predictions) via \`.vscode/settings.json\` to reduce distractions while you code. AI chat and agent features are still enabled, and we've included \`AGENTS.md\` and \`CLAUDE.md\` files with project context to help AI assistants understand the codebase.

extension/packages/nextjs/app/ipfsDownload/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const IpfsDownload: NextPage = () => {
4040
<h1 className="text-center mb-4">
4141
<span className="block text-4xl font-bold">Download from IPFS</span>
4242
</h1>
43-
<div className={`flex border-2 border-accent/95 bg-base-200 rounded-full text-accent w-96`}>
43+
<div className={`flex border-2 border-accent/95 bg-base-200 text-accent w-96`}>
4444
<input
4545
className="input input-ghost focus:outline-none focus:bg-transparent focus:text-secondary-content h-[2.2rem] min-h-[2.2rem] px-4 border w-full font-medium placeholder:text-accent/50 text-secondary-content/75"
4646
placeholder="IPFS CID"
@@ -59,7 +59,7 @@ const IpfsDownload: NextPage = () => {
5959

6060
{mounted && (
6161
<LazyReactJson
62-
style={{ padding: "1rem", borderRadius: "0.75rem" }}
62+
style={{ padding: "1rem" }}
6363
src={yourJSON}
6464
theme="solarized"
6565
enableClipboard={false}

extension/packages/nextjs/app/ipfsUpload/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const IpfsUpload: NextPage = () => {
4444

4545
{mounted && (
4646
<LazyReactJson
47-
style={{ padding: "1rem", borderRadius: "0.75rem" }}
47+
style={{ padding: "1rem" }}
4848
src={yourJSON}
4949
theme="solarized"
5050
enableClipboard={false}

extension/packages/nextjs/app/myNFTs/_components/NFTCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const NFTCard = ({ nft }: { nft: Collectible }) => {
1414
<figure className="relative">
1515
{/* eslint-disable-next-line */}
1616
<img src={nft.image} alt="NFT Image" className="h-60 min-w-full" />
17-
<figcaption className="glass absolute bottom-4 left-4 p-4 rounded-xl">
17+
<figcaption className="glass absolute bottom-4 left-4 p-4">
1818
<span className="text-white "># {nft.id}</span>
1919
</figcaption>
2020
</figure>

extension/packages/nextjs/app/page.tsx.args.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const description = `
1212
width="727"
1313
height="231"
1414
alt="challenge banner"
15-
className="rounded-xl border-4 border-primary"
15+
className="border-4 border-primary"
1616
/>
1717
<div className="max-w-3xl">
1818
<p className="text-center text-lg mt-8">

extension/packages/nextjs/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{
22
"dependencies": {
3-
"@scaffold-ui/components": "0.1.11",
4-
"@scaffold-ui/debug-contracts": "0.1.10",
5-
"@scaffold-ui/hooks": "0.1.8",
63
"ipfs-utils": "^9.0.14",
74
"kubo-rpc-client": "^3.0.1",
85
"react-json-view": "^1.21.3"

extension/packages/nextjs/styles/globals.css.args.mjs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ export const postContent = `
1919
--color-warning: #ffcf72;
2020
--color-error: #ff8863;
2121
22-
/* radius / button rounding */
23-
--radius-field: 9999rem;
24-
--radius-box: 1rem;
22+
--radius-field: 0rem;
23+
--radius-box: 0rem;
24+
--radius-selector: 0rem;
2525
2626
/* tooltip tail width */
2727
--tt-tailw: 6px;
@@ -48,8 +48,9 @@ export const postContent = `
4848
--color-warning: #ffcf72;
4949
--color-error: #ff8863;
5050
51-
--radius-field: 9999rem;
52-
--radius-box: 1rem;
51+
--radius-field: 0rem;
52+
--radius-box: 0rem;
53+
--radius-selector: 0rem;
5354
5455
--tt-tailw: 6px;
5556
--tt-bg: var(--color-primary); /* if you need a tooltip bg override */

0 commit comments

Comments
 (0)