From 94deb9fa68b2c522747f5bfeea6d9168265c51f5 Mon Sep 17 00:00:00 2001 From: tpSpace Date: Sat, 17 Jan 2026 17:33:15 +0700 Subject: [PATCH 1/4] remove footer --- app/marketplace/my-data/page.tsx | 123 ++++++++++++++----------------- app/marketplace/page.tsx | 21 ++---- components/Navbar.tsx | 4 +- 3 files changed, 65 insertions(+), 83 deletions(-) diff --git a/app/marketplace/my-data/page.tsx b/app/marketplace/my-data/page.tsx index 5d5c1f1..640b93d 100644 --- a/app/marketplace/my-data/page.tsx +++ b/app/marketplace/my-data/page.tsx @@ -46,22 +46,22 @@ export default function MyDataPage() { // Reset common props gsap.set(progressRef.current, { width: "0%", backgroundColor: "white" }); - if(pathRef.current) pathRef.current.style.fill = "white"; + if (pathRef.current) pathRef.current.style.fill = "white"; if (processingType === 'create') { gsap.set(sealRef.current, { scale: 3, opacity: 0, rotation: -45, borderColor: "white", boxShadow: "none", x: 0 }); gsap.set(iconRef.current, { scale: 0.5, opacity: 0, color: "white", rotation: 0 }); - if(iconRef.current) iconRef.current.innerText = "lock"; + if (iconRef.current) iconRef.current.innerText = "lock"; tl.to(overlayRef.current, { opacity: 1, duration: 0.2 }) - .to(textRef.current, { - duration: 0.5, - onStart: () => { - if(textRef.current) { - textRef.current.innerText = "ENCRYPTING METADATA"; + .to(textRef.current, { + duration: 0.5, + onStart: () => { + if (textRef.current) { + textRef.current.innerText = "ENCRYPTING METADATA"; textRef.current.className = "mt-12 text-3xl font-black text-white uppercase tracking-[0.2em] text-center px-4"; } - if(subTextRef.current) subTextRef.current.innerText = "Preparing asset for encryption"; + if (subTextRef.current) subTextRef.current.innerText = "Preparing asset for encryption"; } }) .to(progressRef.current, { width: "60%", duration: 1.2, ease: "power2.inOut" }) @@ -69,18 +69,18 @@ export default function MyDataPage() { .to(overlayRef.current, { backgroundColor: "#101618", duration: 0.1, yoyo: true, repeat: 1 }, "-=0.2") .to(iconRef.current, { scale: 1, opacity: 1, duration: 0.3, ease: "back.out(1.7)" }) .add(() => { - if(textRef.current) textRef.current.innerText = "VERIFYING ZK-PROOFS"; - if(subTextRef.current) subTextRef.current.innerText = "Generating SNARKs on Sui Network..."; + if (textRef.current) textRef.current.innerText = "VERIFYING ZK-PROOFS"; + if (subTextRef.current) subTextRef.current.innerText = "Generating SNARKs on Sui Network..."; }) .to(progressRef.current, { width: "90%", duration: 1 }) .to(sealRef.current, { borderColor: "#ccff00", boxShadow: "0 0 30px #ccff00", duration: 0.3 }) .to(iconRef.current, { color: "#ccff00", duration: 0.3 }, "<") .add(() => { - if(textRef.current) { - textRef.current.innerText = "ASSET SECURED"; - textRef.current.classList.add("text-accent-lime"); - } - if(subTextRef.current) subTextRef.current.innerText = "Listing created successfully."; + if (textRef.current) { + textRef.current.innerText = "ASSET SECURED"; + textRef.current.classList.add("text-accent-lime"); + } + if (subTextRef.current) subTextRef.current.innerText = "Listing created successfully."; }) .to(progressRef.current, { width: "100%", backgroundColor: "#ccff00", duration: 0.3 }) .to(sealRef.current, { scale: 1.1, duration: 0.2, yoyo: true, repeat: 1 }); @@ -88,47 +88,47 @@ export default function MyDataPage() { } else { gsap.set(sealRef.current, { scale: 0.5, opacity: 0, rotation: 0, borderColor: "white", boxShadow: "none", x: 0 }); gsap.set(iconRef.current, { scale: 1, opacity: 1, color: "white", rotation: 0 }); - if(iconRef.current) iconRef.current.innerText = "lock"; + if (iconRef.current) iconRef.current.innerText = "lock"; tl.to(overlayRef.current, { opacity: 1, duration: 0.2 }) .to(sealRef.current, { scale: 1, opacity: 1, duration: 0.5, ease: "back.out(1.7)" }) .add(() => { - if(textRef.current) { - textRef.current.innerText = "VERIFYING OWNERSHIP"; - textRef.current.className = "mt-12 text-3xl font-black text-white uppercase tracking-[0.2em] text-center px-4"; - } - if(subTextRef.current) subTextRef.current.innerText = "Checking wallet signature..."; + if (textRef.current) { + textRef.current.innerText = "VERIFYING OWNERSHIP"; + textRef.current.className = "mt-12 text-3xl font-black text-white uppercase tracking-[0.2em] text-center px-4"; + } + if (subTextRef.current) subTextRef.current.innerText = "Checking wallet signature..."; }) .to(sealRef.current, { rotation: 180, duration: 1, ease: "power2.inOut" }) .to(progressRef.current, { width: "40%", duration: 1 }, "<") .to(iconRef.current, { scale: 0, rotation: 90, duration: 0.2 }) .add(() => { - if(iconRef.current) iconRef.current.innerText = "lock_open"; - if(textRef.current) textRef.current.innerText = "DECRYPTING SHARDS"; - if(subTextRef.current) subTextRef.current.innerText = "Reassembling Walrus Protocol data..."; + if (iconRef.current) iconRef.current.innerText = "lock_open"; + if (textRef.current) textRef.current.innerText = "DECRYPTING SHARDS"; + if (subTextRef.current) subTextRef.current.innerText = "Reassembling Walrus Protocol data..."; }) .to(iconRef.current, { scale: 1, rotation: 0, duration: 0.2 }) .to(progressRef.current, { width: "75%", duration: 1.2 }) .to(sealRef.current, { x: 5, duration: 0.05, yoyo: true, repeat: 5 }) - .to(sealRef.current, { - borderColor: "#ccff00", - backgroundColor: "#101618", - boxShadow: "0 0 50px rgba(204, 255, 0, 0.4)", - scale: 1.1, - duration: 0.3 + .to(sealRef.current, { + borderColor: "#ccff00", + backgroundColor: "#101618", + boxShadow: "0 0 50px rgba(204, 255, 0, 0.4)", + scale: 1.1, + duration: 0.3 }) .to(iconRef.current, { scale: 0, duration: 0.1 }, "<") .add(() => { - if(iconRef.current) { - iconRef.current.innerText = "download"; - iconRef.current.style.color = "#ccff00"; - } - if(textRef.current) { - textRef.current.innerText = "DECRYPTION COMPLETE"; - textRef.current.classList.add("text-accent-lime"); - } - if(subTextRef.current) subTextRef.current.innerText = "Download starting now."; - if(pathRef.current) pathRef.current.style.fill = "#ccff00"; + if (iconRef.current) { + iconRef.current.innerText = "download"; + iconRef.current.style.color = "#ccff00"; + } + if (textRef.current) { + textRef.current.innerText = "DECRYPTION COMPLETE"; + textRef.current.classList.add("text-accent-lime"); + } + if (subTextRef.current) subTextRef.current.innerText = "Download starting now."; + if (pathRef.current) pathRef.current.style.fill = "#ccff00"; }) .to(iconRef.current, { scale: 1.5, duration: 0.4, ease: "elastic.out(1, 0.5)" }) .to(progressRef.current, { width: "100%", backgroundColor: "#ccff00", duration: 0.3 }); @@ -149,7 +149,7 @@ export default function MyDataPage() {

My Data Dashboard

- +
@@ -194,10 +194,10 @@ export default function MyDataPage() { View Analytics arrow_outward
- +
{/* Create New Card */} -
setIsCreateModalOpen(true)} className="flex flex-col items-center justify-center rounded-xl border-2 border-dashed border-ink bg-gray-50 p-6 min-h-[340px] hover:bg-blue-50 hover:border-primary transition-all duration-200 cursor-pointer group" > @@ -227,7 +227,7 @@ export default function MyDataPage() { Recent Purchases ({MY_PURCHASES.length} items)
- +
{MY_PURCHASES.map(purchase => (
@@ -239,7 +239,7 @@ export default function MyDataPage() {

{purchase.title}

{purchase.date}

-
- - {/* Create Listing Modal */} {isCreateModalOpen && (
@@ -272,7 +263,7 @@ export default function MyDataPage() {

Create New Listing

- +
{/* File Upload Area */}
@@ -292,7 +283,7 @@ export default function MyDataPage() {
- +