diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..ffdd99a --- /dev/null +++ b/next.config.js @@ -0,0 +1,5 @@ +const nextConfig = { + /* config options here */ +}; + +module.exports = nextConfig; diff --git a/package.json b/package.json index 25aa74c..7c70e1e 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "ethers": "^5.7.0", "framer-motion": "^7.2.1", "lodash": "^4.17.21", + "next": "^13.1.6", "react": "^18.2.0", "react-dom": "^18.2.0", "react-icons": "^4.4.0", @@ -30,10 +31,9 @@ "web-vitals": "^2.1.4" }, "scripts": { - "start": "react-scripts start", - "build": "react-scripts build", - "test": "react-scripts test", - "eject": "react-scripts eject" + "dev": "next dev", + "build": "next build", + "start": "next start" }, "eslintConfig": { "extends": [ diff --git a/src/static/dyad-logo.svg b/public/dyad-logo.svg similarity index 100% rename from src/static/dyad-logo.svg rename to public/dyad-logo.svg diff --git a/src/static/dyad.jpg b/public/dyad.jpg similarity index 100% rename from src/static/dyad.jpg rename to public/dyad.jpg diff --git a/src/components/Leaderboard.jsx b/src/components/Leaderboard.jsx index 5fb3f08..f22310d 100644 --- a/src/components/Leaderboard.jsx +++ b/src/components/Leaderboard.jsx @@ -65,20 +65,25 @@ export default function Leaderboard() { )} - {nfts.length > 0 && ( - - )} - {nfts.map((nft) => { - return ( - - ); - })} + + {nfts.length > 0 && ( + + )} + + + {nfts.map((nft) => { + return ( + + ); + })} +
{count > DEFAULT_ROWS_PER_PAGE && (