);
-}
+}
\ No newline at end of file
diff --git a/dapp/src/app/page.tsx b/dapp/src/app/page.tsx
index 205f025..e96a3c4 100644
--- a/dapp/src/app/page.tsx
+++ b/dapp/src/app/page.tsx
@@ -1,7 +1,35 @@
-const Home = () => {
- return (
-
- );
-}
-
-export default Home;
\ No newline at end of file
+import Link from "next/link";
+import { ArrowRight } from "lucide-react";
+
+export default function Home() {
+ return (
+
+
My Assets
+
+
+
+
+
Connect Your Wallet
+
To view your assets, please connect your wallet.
+
+
+
+
+
+ {/* Dark overlay */}
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/dapp/src/app/view-listed-asset/component/FilterBar.tsx b/dapp/src/app/view-listed-asset/component/FilterBar.tsx
new file mode 100644
index 0000000..edea660
--- /dev/null
+++ b/dapp/src/app/view-listed-asset/component/FilterBar.tsx
@@ -0,0 +1,16 @@
+export default function FilterBar() {
+ return (
+
+
filter:
+
+
+
+
+
+
+
+
+
+
+ );
+}
diff --git a/dapp/src/app/view-listed-asset/component/ListingInfo.tsx b/dapp/src/app/view-listed-asset/component/ListingInfo.tsx
new file mode 100644
index 0000000..105fda1
--- /dev/null
+++ b/dapp/src/app/view-listed-asset/component/ListingInfo.tsx
@@ -0,0 +1,70 @@
+import Image from "next/image";
+import Punk from "@/assets/punk.png";
+import Net from "@/assets/net.png";
+import Reload from "@/assets/reload.png";
+import Angle from "@/assets/angle.png";
+
+export default function ListingInfo() {
+ return (
+
+
+
Listing Information
+
+
+
+
+
+
+
+
+
+
+
+
Cryptopunk #1232
+
Cryptopunk VQ (STRK)
+
+
+ Listed
+
+
+
+
+
+
+ Currency
+ All
+
+
+ Acceptable Amount
+ 0.001 STRK
+
+
+ Loan Duration
+ 14 days
+
+
+ APR
+ 8%
+
+
+
+
+ You can unlist your item at any time.
+
+
+
+
+
+
+
+ );
+}
diff --git a/dapp/src/app/view-listed-asset/component/LoanRow.tsx b/dapp/src/app/view-listed-asset/component/LoanRow.tsx
new file mode 100644
index 0000000..9eb829b
--- /dev/null
+++ b/dapp/src/app/view-listed-asset/component/LoanRow.tsx
@@ -0,0 +1,17 @@
+export default function LoanRow() {
+ return (
+
+
2,856.41
+
0D673a4...2
+
1.17%
+
14.19%
+
30 days
+
2,891.75
+
+
+
+
+ );
+}
diff --git a/dapp/src/app/view-listed-asset/component/LoanTable.tsx b/dapp/src/app/view-listed-asset/component/LoanTable.tsx
new file mode 100644
index 0000000..045a31d
--- /dev/null
+++ b/dapp/src/app/view-listed-asset/component/LoanTable.tsx
@@ -0,0 +1,33 @@
+import FilterBar from './FilterBar';
+import LoanRow from './LoanRow';
+
+export default function LoanTable() {
+ return (
+
+
+
+
+
+
+
Loan value
+
Lender
+
Interest
+
APR
+
Duration
+
Repayment
+
Action
+
+
+
+ {[...Array(6)].map((_, i) => (
+
+ ))}
+
+
+
+ Showing 1 to 6 of 13 items
+
+
+
+ );
+}
diff --git a/dapp/src/app/view-listed-asset/page.tsx b/dapp/src/app/view-listed-asset/page.tsx
new file mode 100644
index 0000000..0a40202
--- /dev/null
+++ b/dapp/src/app/view-listed-asset/page.tsx
@@ -0,0 +1,23 @@
+import React from 'react';
+import ListingInfo from './component/ListingInfo';
+import LoanTable from './component/LoanTable';
+
+const Page = () => {
+ return (
+
+
+
+
+
+
+
+
+
+
+
+ );
+};
+
+export default Page;
diff --git a/dapp/src/assets/angle.png b/dapp/src/assets/angle.png
new file mode 100644
index 0000000..6f890b2
Binary files /dev/null and b/dapp/src/assets/angle.png differ
diff --git a/dapp/src/assets/back.png b/dapp/src/assets/back.png
new file mode 100644
index 0000000..f2c8807
Binary files /dev/null and b/dapp/src/assets/back.png differ
diff --git a/dapp/src/assets/net.png b/dapp/src/assets/net.png
new file mode 100644
index 0000000..4e7f0ed
Binary files /dev/null and b/dapp/src/assets/net.png differ
diff --git a/dapp/src/assets/punk.png b/dapp/src/assets/punk.png
new file mode 100644
index 0000000..de31d20
Binary files /dev/null and b/dapp/src/assets/punk.png differ
diff --git a/dapp/src/assets/reload.png b/dapp/src/assets/reload.png
new file mode 100644
index 0000000..58c7da0
Binary files /dev/null and b/dapp/src/assets/reload.png differ
diff --git a/dapp/tailwind.config.ts b/dapp/tailwind.config.ts
index 109807b..95de64d 100644
--- a/dapp/tailwind.config.ts
+++ b/dapp/tailwind.config.ts
@@ -11,6 +11,17 @@ export default {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
+ purple: {
+ 500: "#8855FF",
+ 600: "#7040E0",
+ 700: "#5C30C0",
+ },
+ gray: {
+ 800: "#1A1A2E",
+ },
+ },
+ backgroundImage: {
+ 'page-bg': "url('/images/bg-image.png')",
},
},
},
diff --git a/website/src/app/view-listed-asset/component/FilterBar.tsx b/website/src/app/view-listed-asset/component/FilterBar.tsx
new file mode 100644
index 0000000..edea660
--- /dev/null
+++ b/website/src/app/view-listed-asset/component/FilterBar.tsx
@@ -0,0 +1,16 @@
+export default function FilterBar() {
+ return (
+
+
filter:
+
+
+
+
+
+
+
+
+
+
+ );
+}
diff --git a/website/src/app/view-listed-asset/component/ListingInfo.tsx b/website/src/app/view-listed-asset/component/ListingInfo.tsx
new file mode 100644
index 0000000..105fda1
--- /dev/null
+++ b/website/src/app/view-listed-asset/component/ListingInfo.tsx
@@ -0,0 +1,70 @@
+import Image from "next/image";
+import Punk from "@/assets/punk.png";
+import Net from "@/assets/net.png";
+import Reload from "@/assets/reload.png";
+import Angle from "@/assets/angle.png";
+
+export default function ListingInfo() {
+ return (
+
+
+
Listing Information
+
+
+
+
+
+
+
+
+
+
+
+
Cryptopunk #1232
+
Cryptopunk VQ (STRK)
+
+
+ Listed
+
+
+
+
+
+
+ Currency
+ All
+
+
+ Acceptable Amount
+ 0.001 STRK
+
+
+ Loan Duration
+ 14 days
+
+
+ APR
+ 8%
+
+
+
+
+ You can unlist your item at any time.
+
+
+
+
+
+
+
+ );
+}
diff --git a/website/src/app/view-listed-asset/component/LoanRow.tsx b/website/src/app/view-listed-asset/component/LoanRow.tsx
new file mode 100644
index 0000000..9eb829b
--- /dev/null
+++ b/website/src/app/view-listed-asset/component/LoanRow.tsx
@@ -0,0 +1,17 @@
+export default function LoanRow() {
+ return (
+
+
2,856.41
+
0D673a4...2
+
1.17%
+
14.19%
+
30 days
+
2,891.75
+
+
+
+
+ );
+}
diff --git a/website/src/app/view-listed-asset/component/LoanTable.tsx b/website/src/app/view-listed-asset/component/LoanTable.tsx
new file mode 100644
index 0000000..045a31d
--- /dev/null
+++ b/website/src/app/view-listed-asset/component/LoanTable.tsx
@@ -0,0 +1,33 @@
+import FilterBar from './FilterBar';
+import LoanRow from './LoanRow';
+
+export default function LoanTable() {
+ return (
+
+
+
+
+
+
+
Loan value
+
Lender
+
Interest
+
APR
+
Duration
+
Repayment
+
Action
+
+
+
+ {[...Array(6)].map((_, i) => (
+
+ ))}
+
+
+
+ Showing 1 to 6 of 13 items
+
+
+
+ );
+}
diff --git a/website/src/app/view-listed-asset/page.tsx b/website/src/app/view-listed-asset/page.tsx
new file mode 100644
index 0000000..0a40202
--- /dev/null
+++ b/website/src/app/view-listed-asset/page.tsx
@@ -0,0 +1,23 @@
+import React from 'react';
+import ListingInfo from './component/ListingInfo';
+import LoanTable from './component/LoanTable';
+
+const Page = () => {
+ return (
+
+
+
+
+
+
+
+
+
+
+
+ );
+};
+
+export default Page;
diff --git a/website/src/assets/angle.png b/website/src/assets/angle.png
new file mode 100644
index 0000000..6f890b2
Binary files /dev/null and b/website/src/assets/angle.png differ
diff --git a/website/src/assets/back.png b/website/src/assets/back.png
new file mode 100644
index 0000000..f2c8807
Binary files /dev/null and b/website/src/assets/back.png differ
diff --git a/website/src/assets/net.png b/website/src/assets/net.png
new file mode 100644
index 0000000..4e7f0ed
Binary files /dev/null and b/website/src/assets/net.png differ
diff --git a/website/src/assets/punk.png b/website/src/assets/punk.png
new file mode 100644
index 0000000..de31d20
Binary files /dev/null and b/website/src/assets/punk.png differ
diff --git a/website/src/assets/reload.png b/website/src/assets/reload.png
new file mode 100644
index 0000000..58c7da0
Binary files /dev/null and b/website/src/assets/reload.png differ