diff --git a/frontend/src/app.css b/frontend/src/app.css new file mode 100644 index 0000000..3380f0c --- /dev/null +++ b/frontend/src/app.css @@ -0,0 +1,56 @@ +/* https://www.joshwcomeau.com/css/custom-css-reset/ */ + +/* 1. Use a more-intuitive box-sizing model */ +*, *::before, *::after { + box-sizing: border-box; +} + +/* 2. Remove default margin */ +* { + margin: 0; +} + +body { + /* 3. Add accessible line-height */ + line-height: 1.5; + /* 4. Improve text rendering */ + -webkit-font-smoothing: antialiased; + font-family: arial, "sans-serif"; +} + +button, input { + border: none; + outline: none; + box-shadow: none; +} + +/* 5. Improve media defaults */ +img, picture, video, canvas, svg { + display: block; + max-width: 100%; +} + +/* 6. Inherit fonts for form controls */ +input, button, textarea, select { + font: inherit; +} + +/* 7. Avoid text overflows */ +p, h1, h2, h3, h4, h5, h6 { + overflow-wrap: break-word; +} + +/* 8. Improve line wrapping */ +p { + text-wrap: pretty; +} +h1, h2, h3, h4, h5, h6 { + text-wrap: balance; +} + +/* + 9. Create a root stacking context +*/ +#root, #__next { + isolation: isolate; +} \ No newline at end of file diff --git a/frontend/src/lib/components/NftTile.svelte b/frontend/src/lib/components/NftTile.svelte new file mode 100644 index 0000000..c61eaf6 --- /dev/null +++ b/frontend/src/lib/components/NftTile.svelte @@ -0,0 +1,82 @@ + + +
+ + +
+ + diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte index 04b5b0d..49adf2c 100644 --- a/frontend/src/routes/+layout.svelte +++ b/frontend/src/routes/+layout.svelte @@ -1,4 +1,6 @@ @@ -9,3 +11,13 @@ {@render children()} + + \ No newline at end of file diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte index 450e3a0..dec1a1d 100644 --- a/frontend/src/routes/+page.svelte +++ b/frontend/src/routes/+page.svelte @@ -1,31 +1,192 @@ -

BIDI

+
+
-

NFTs

+
+
+ {#if !data.nfts.length} +

No NFTs have been minted yet.

+ {:else} +
    + {#each data.nfts as nft} + + {/each} +
+ {/if} +
-{#if !data.nfts.length} -

No NFTs have been minted yet.

-{:else} - -{/if} + +
+
diff --git a/frontend/static/0.png b/frontend/static/0.png new file mode 100644 index 0000000..3e42a23 Binary files /dev/null and b/frontend/static/0.png differ