File size: 956 Bytes
f0cc93e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | ```json
{
"name": "solsync-wallet",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"next": "12.2.5",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-icons": "^4.4.0"
},
"devDependencies": {
"autoprefixer": "^10.4.8",
"eslint": "8.22.0",
"eslint-config-next": "12.2.5",
"postcss": "^8.4.16",
"tailwindcss": "^3.1.8"
}
}
```
To run this Next.js app:
1. Install dependencies: `npm install`
2. Run development server: `npm run dev`
3. Open http://localhost:3000 in your browser
Key changes made:
- Converted HTML to React components
- Replaced Feather icons with React Icons
- Implemented dark mode toggle
- Used Tailwind CSS for styling
- Created a single page app structure with Next.js
- Maintained all the original functionality including wallet connection and token listing |