-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from hollow-leaf/feat/nft-ui
Feat/nft UI & walletconnect kit wagmi
- Loading branch information
Showing
44 changed files
with
1,368 additions
and
785 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM node:18-alpine | ||
WORKDIR / | ||
COPY . . | ||
RUN npm install -g pnpm@8.9 | ||
RUN pnpm install | ||
ENV NEXT_PUBLIC_PROJECT_ID $project_id | ||
RUN pnpm build | ||
CMD ["pnpm", "dev"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
NEXT_PUBLIC_PROJECT_ID="walletconnect console dev project id" | ||
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID="walletconnect console dev project id" | ||
NEXT_PUBLIC_ALCHEMY_ID="Alchemy ID" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,5 @@ module.exports = { | |
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
} | ||
} | ||
}, | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,60 @@ | ||
{ | ||
"id": "2", | ||
"name": "XueDAO-web", | ||
"short_name": "XueDAO", | ||
"icons": [ | ||
{ | ||
"src": "/konan_logo.webp", | ||
"sizes": "144x144", | ||
"type": "image/png", | ||
"purpose": "any" | ||
}, | ||
{ | ||
"src": "/konan-hero.webp", | ||
"sizes": "144x144", | ||
"type": "image/webp", | ||
"purpose": "any" | ||
}, | ||
{ | ||
"src": "/konan-hero.png", | ||
"sizes": "144x144", | ||
"type": "image/png", | ||
"purpose": "any" | ||
}, | ||
{ | ||
"src": "/konan-nav-logo.webp", | ||
"sizes": "144x144", | ||
"type": "image/webp", | ||
"purpose": "any" | ||
} | ||
], | ||
"theme_color": "#3367D6", | ||
"background_color": "#3367D6", | ||
"start_url": "/", | ||
"display": "standalone", | ||
"orientation": "portrait" | ||
} | ||
"id": "2", | ||
"name": "XueDAO-web", | ||
"short_name": "XueDAO", | ||
"icons": [ | ||
{ | ||
"src": "/konan_logo.webp", | ||
"sizes": "144x144", | ||
"type": "image/png", | ||
"purpose": "any" | ||
}, | ||
{ | ||
"src": "/konan-hero.webp", | ||
"sizes": "144x144", | ||
"type": "image/webp", | ||
"purpose": "any" | ||
}, | ||
{ | ||
"src": "/konan-hero.png", | ||
"sizes": "144x144", | ||
"type": "image/png", | ||
"purpose": "any" | ||
}, | ||
{ | ||
"src": "/konan-nav-logo.webp", | ||
"sizes": "144x144", | ||
"type": "image/webp", | ||
"purpose": "any" | ||
}, | ||
{ | ||
"src": "/Albert.png", | ||
"sizes": "144x144", | ||
"type": "image/png", | ||
"purpose": "any" | ||
}, | ||
{ | ||
"src": "/Jake.png", | ||
"sizes": "144x144", | ||
"type": "image/png", | ||
"purpose": "any" | ||
}, | ||
{ | ||
"src": "/Solo.png", | ||
"sizes": "144x144", | ||
"type": "image/png", | ||
"purpose": "any" | ||
}, | ||
{ | ||
"src": "/Sophia.png", | ||
"sizes": "144x144", | ||
"type": "image/png", | ||
"purpose": "any" | ||
} | ||
], | ||
"theme_color": "#3367D6", | ||
"background_color": "#3367D6", | ||
"start_url": "/", | ||
"display": "standalone", | ||
"orientation": "portrait" | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,42 @@ | ||
self.onmessage=async e=>{switch(e.data.type){case"__START_URL_CACHE__":{let t=e.data.url,a=await fetch(t);if(!a.redirected)return(await caches.open("start-url")).put(t,a);return Promise.resolve()}case"__FRONTEND_NAV_CACHE__":{let t=e.data.url,a=await caches.open("pages");if(await a.match(t,{ignoreSearch:!0}))return;let s=await fetch(t);if(!s.ok)return;if(a.put(t,s.clone()),e.data.shouldCacheAggressively&&s.headers.get("Content-Type")?.includes("text/html"))try{let e=await s.text(),t=[],a=await caches.open("static-style-assets"),r=await caches.open("next-static-js-assets"),c=await caches.open("static-js-assets");for(let[s,r]of e.matchAll(/<link.*?href=['"](.*?)['"].*?>/g))/rel=['"]stylesheet['"]/.test(s)&&t.push(a.match(r).then(e=>e?Promise.resolve():a.add(r)));for(let[,a]of e.matchAll(/<script.*?src=['"](.*?)['"].*?>/g)){let e=/\/_next\/static.+\.js$/i.test(a)?r:c;t.push(e.match(a).then(t=>t?Promise.resolve():e.add(a)))}return await Promise.all(t)}catch{}return Promise.resolve()}default:return Promise.resolve()}}; | ||
self.onmessage = async (e) => { | ||
switch (e.data.type) { | ||
case "__START_URL_CACHE__": { | ||
let t = e.data.url, | ||
a = await fetch(t); | ||
if (!a.redirected) return (await caches.open("start-url")).put(t, a); | ||
return Promise.resolve(); | ||
} | ||
case "__FRONTEND_NAV_CACHE__": { | ||
let t = e.data.url, | ||
a = await caches.open("pages"); | ||
if (await a.match(t, { ignoreSearch: !0 })) return; | ||
let s = await fetch(t); | ||
if (!s.ok) return; | ||
if ( | ||
(a.put(t, s.clone()), | ||
e.data.shouldCacheAggressively && | ||
s.headers.get("Content-Type")?.includes("text/html")) | ||
) | ||
try { | ||
let e = await s.text(), | ||
t = [], | ||
a = await caches.open("static-style-assets"), | ||
r = await caches.open("next-static-js-assets"), | ||
c = await caches.open("static-js-assets"); | ||
for (let [s, r] of e.matchAll(/<link.*?href=['"](.*?)['"].*?>/g)) | ||
/rel=['"]stylesheet['"]/.test(s) && | ||
t.push( | ||
a.match(r).then((e) => (e ? Promise.resolve() : a.add(r))), | ||
); | ||
for (let [, a] of e.matchAll(/<script.*?src=['"](.*?)['"].*?>/g)) { | ||
let e = /\/_next\/static.+\.js$/i.test(a) ? r : c; | ||
t.push(e.match(a).then((t) => (t ? Promise.resolve() : e.add(a)))); | ||
} | ||
return await Promise.all(t); | ||
} catch {} | ||
return Promise.resolve(); | ||
} | ||
default: | ||
return Promise.resolve(); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
import { Box, Typography } from "@mui/material"; | ||
import React from "react"; | ||
import { ForkRight } from "@mui/icons-material"; | ||
export function Business() { | ||
return ( | ||
<Box className="relative w-full overflow-hidden py-6 sm:py-12 md:py-24 lg:py-32 xl:py-12"> | ||
<div className="max-w-full flex flex-col items-center py-20"> | ||
<p className="text-4xl xl:text-8xl font-extrabold bg-gradient-to-r from-blue-600 via-green-500 to-indigo-400 inline-block text-transparent bg-clip-text"> | ||
Why choose celestia? | ||
</p> | ||
</div> | ||
<Box className="flex flex-col xl:flex-row items-center justify-center gap-x-8 px-12 sm:flex-row sm:px-12 md:px-24 lg:px-32 xl:px-48"> | ||
<Box className="basis-1/3 w-full flex flex-col items-center justify-center gap-5 rounded-2xl"> | ||
<Box className="basis-1/3 py-16 w-full rounded-2xl border shadow-lg flex flex-col xl:flex-row gap-5 xl:gap-0"> | ||
<Box className="border rounded-2xl h-14 w-14 ml-10 bg-gradient-to-tr from-blue-600 via-green-500 to-indigo-400 flex justify-center items-center"> | ||
<ForkRight className="text-white" /> | ||
</Box> | ||
<Box className="basis-3/4 flex flex-col px-10 gap-5"> | ||
<Typography className="text-2xl font-bold"> | ||
CONNECT YOUR WALLET | ||
</Typography> | ||
<Typography className="text-lg"> | ||
Use Trust Wallet, Metamask or to connect to the app. | ||
</Typography> | ||
</Box> | ||
</Box> | ||
<Box className="basis-1/3 py-16 w-full rounded-2xl border shadow-lg flex flex-col xl:flex-row gap-5 xl:gap-0"> | ||
<Box className="border rounded-2xl h-14 w-14 ml-10 bg-gradient-to-tr from-blue-600 via-green-500 to-indigo-400 flex justify-center items-center"> | ||
<ForkRight className="text-white" /> | ||
</Box> | ||
<Box className="basis-3/4 flex flex-col px-10 gap-5"> | ||
<Typography className="text-2xl font-bold"> | ||
CONNECT YOUR WALLET | ||
</Typography> | ||
<Typography className="text-lg"> | ||
Use Trust Wallet, Metamask or to connect to the app. | ||
</Typography> | ||
</Box> | ||
</Box> | ||
<Box className="basis-1/3 py-16 w-full rounded-2xl border shadow-lg flex flex-col xl:flex-row gap-5 xl:gap-0"> | ||
<Box className="border rounded-2xl h-14 w-14 ml-10 bg-gradient-to-tr from-blue-600 via-green-500 to-indigo-400 flex justify-center items-center"> | ||
<ForkRight className="text-white" /> | ||
</Box> | ||
<Box className="basis-3/4 flex flex-col px-10 gap-5"> | ||
<Typography className="text-2xl font-bold"> | ||
CONNECT YOUR WALLET | ||
</Typography> | ||
<Typography className="text-lg"> | ||
Use Trust Wallet, Metamask or to connect to the app. | ||
</Typography> | ||
</Box> | ||
</Box> | ||
</Box> | ||
|
||
<Box className="basis-1/3 w-full flex flex-col items-center justify-center gap-5 rounded-2xl"> | ||
<div className="mt-4 min-w-80 min-h-96 rounded-lg bg-center bg-cover bg-[url('/konan-hero.webp')]"></div> | ||
</Box> | ||
|
||
<Box className="basis-1/3 w-full flex flex-col items-center justify-center gap-5 rounded-2xl"> | ||
<Box className="basis-1/3 py-16 w-full rounded-2xl border shadow-lg flex flex-col xl:flex-row gap-5 xl:gap-0"> | ||
<Box className="border rounded-2xl h-14 w-14 ml-10 bg-gradient-to-tr from-blue-600 via-green-500 to-indigo-400 flex justify-center items-center"> | ||
<ForkRight className="text-white" /> | ||
</Box> | ||
<Box className="basis-3/4 flex flex-col px-10 gap-5"> | ||
<Typography className="text-2xl font-bold"> | ||
CONNECT YOUR WALLET | ||
</Typography> | ||
<Typography className="text-lg"> | ||
Use Trust Wallet, Metamask or to connect to the app. | ||
</Typography> | ||
</Box> | ||
</Box> | ||
<Box className="basis-1/3 py-16 w-full rounded-2xl border shadow-lg flex flex-col xl:flex-row gap-5 xl:gap-0"> | ||
<Box className="border rounded-2xl h-14 w-14 ml-10 bg-gradient-to-tr from-blue-600 via-green-500 to-indigo-400 flex justify-center items-center"> | ||
<ForkRight className="text-white" /> | ||
</Box> | ||
<Box className="basis-3/4 flex flex-col px-10 gap-5"> | ||
<Typography className="text-2xl font-bold"> | ||
CONNECT YOUR WALLET | ||
</Typography> | ||
<Typography className="text-lg"> | ||
Use Trust Wallet, Metamask or to connect to the app. | ||
</Typography> | ||
</Box> | ||
</Box> | ||
<Box className="basis-1/3 py-16 w-full rounded-2xl border shadow-lg flex flex-col xl:flex-row gap-5 xl:gap-0"> | ||
<Box className="border rounded-2xl h-14 w-14 ml-10 bg-gradient-to-tr from-blue-600 via-green-500 to-indigo-400 flex justify-center items-center"> | ||
<ForkRight className="text-white" /> | ||
</Box> | ||
<Box className="basis-3/4 flex flex-col px-10 gap-5"> | ||
<Typography className="text-2xl font-bold"> | ||
CONNECT YOUR WALLET | ||
</Typography> | ||
<Typography className="text-lg"> | ||
Use Trust Wallet, Metamask or to connect to the app. | ||
</Typography> | ||
</Box> | ||
</Box> | ||
</Box> | ||
</Box> | ||
</Box> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import React from "react"; | ||
|
||
export function Loading() { | ||
return <div className="spinner"></div>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { AutoPlaySwipe } from "@/components/AutoPlaySwipe"; | ||
import { Box, Typography } from "@mui/material"; | ||
import React from "react"; | ||
|
||
export function Team() { | ||
return ( | ||
<Box className="flex flex-col justify-center items-center"> | ||
<Box className="flex flex-col xl:flex-row py-10 xl:py-48 gap-5"> | ||
<Typography className="text-4xl xl:text-8xl font-bold text-black"> | ||
MEET | ||
</Typography> | ||
<Typography className="text-4xl xl:text-8xl font-bold bg-gradient-to-r from-blue-600 via-green-500 to-indigo-400 inline-block text-transparent bg-clip-text"> | ||
OUR TEAM | ||
</Typography> | ||
</Box> | ||
<Box className="flex flex-col xl:flex-row mx-auto items-center justify-center align-middle"> | ||
<AutoPlaySwipe /> | ||
</Box> | ||
</Box> | ||
); | ||
} |
Oops, something went wrong.