Skip to content

Commit

Permalink
feat: pwa & spline animataion
Browse files Browse the repository at this point in the history
  • Loading branch information
crypto0627 committed Apr 19, 2024
1 parent b732448 commit a4ec2a4
Show file tree
Hide file tree
Showing 70 changed files with 1,042 additions and 1,533 deletions.
15 changes: 13 additions & 2 deletions apps/web/next.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
/** @type {import('next').NextConfig} */
const withPWA = require("@ducanh2912/next-pwa").default({
dest: "public",
cacheOnFrontEndNav: true,
aggressiveFrontEndNavCaching: true,
reloadOnOnline: true,
swcMinify: true,
workboxOptions: {
disableDevLogs: true,
},
});
const nextConfig = {
output: 'export',
reactStrictMode: true,
swcMinify: true,
webpack: config => {
config.resolve.fallback = { fs: false, net: false, tls: false };
return config;
},
images: {
unoptimized: true,
},
};
module.exports = nextConfig;
}
module.exports = withPWA(nextConfig);
7 changes: 5 additions & 2 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,19 @@
"lint": "next lint"
},
"dependencies": {
"@ducanh2912/next-pwa": "^10.2.6",
"@heroicons/react": "^2.0.18",
"@material-tailwind/react": "^2.1.2",
"@rainbow-me/rainbowkit": "^2.0.5",
"@tanstack/react-query": "^5.28.14",
"next": "13.4.0",
"next": "14.2.2",
"react": "^18.2.0",
"react-dom": "^18",
"viem": "2.x",
"wagmi": "^2.5.18"
},
"devDependencies": {
"@splinetool/react-spline": "^2.2.6",
"@types/node": "^20",
"@types/react": "^18.2.42",
"@types/react-dom": "^18",
Expand All @@ -28,6 +30,7 @@
"eslint-config-next": "13.5.4",
"postcss": "^8",
"tailwindcss": "^3",
"typescript": "^5"
"typescript": "^5",
"webpack": "^5.91.0"
}
}
Binary file modified apps/web/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/web/public/image/Background.png
Binary file not shown.
19 changes: 0 additions & 19 deletions apps/web/public/image/Image7.svg

This file was deleted.

Binary file removed apps/web/public/image/avatar1.jpg
Binary file not shown.
Binary file removed apps/web/public/image/avatar2.jpg
Binary file not shown.
Binary file removed apps/web/public/image/avatar3.jpg
Binary file not shown.
Binary file removed apps/web/public/image/blog-background.png
Binary file not shown.
Binary file removed apps/web/public/image/blogs/blog-1.png
Binary file not shown.
21 changes: 0 additions & 21 deletions apps/web/public/image/blogs/blog-1.svg

This file was deleted.

Binary file removed apps/web/public/image/blogs/blog-10.jpeg
Binary file not shown.
Binary file removed apps/web/public/image/blogs/blog-12.jpeg
Binary file not shown.
Binary file removed apps/web/public/image/blogs/blog-13.png
Binary file not shown.
Binary file removed apps/web/public/image/blogs/blog-2.png
Binary file not shown.
Binary file removed apps/web/public/image/blogs/blog-3.png
Binary file not shown.
21 changes: 0 additions & 21 deletions apps/web/public/image/blogs/blog2.svg

This file was deleted.

21 changes: 0 additions & 21 deletions apps/web/public/image/blogs/blog3.svg

This file was deleted.

21 changes: 0 additions & 21 deletions apps/web/public/image/blogs/blog4.svg

This file was deleted.

21 changes: 0 additions & 21 deletions apps/web/public/image/blogs/blog5.svg

This file was deleted.

21 changes: 0 additions & 21 deletions apps/web/public/image/blogs/blog6.svg

This file was deleted.

9 changes: 0 additions & 9 deletions apps/web/public/image/books/Rectangle10.svg

This file was deleted.

9 changes: 0 additions & 9 deletions apps/web/public/image/books/Rectangle11.svg

This file was deleted.

9 changes: 0 additions & 9 deletions apps/web/public/image/books/Rectangle12.svg

This file was deleted.

9 changes: 0 additions & 9 deletions apps/web/public/image/books/Rectangle13.svg

This file was deleted.

9 changes: 0 additions & 9 deletions apps/web/public/image/books/Rectangle14.svg

This file was deleted.

9 changes: 0 additions & 9 deletions apps/web/public/image/books/Rectangle8.svg

This file was deleted.

9 changes: 0 additions & 9 deletions apps/web/public/image/books/Rectangle9.svg
Diff not rendered.
21 changes: 0 additions & 21 deletions apps/web/public/image/books/RectangleBig1.svg
Diff not rendered.
21 changes: 0 additions & 21 deletions apps/web/public/image/books/RectangleBig2.svg
Diff not rendered.
21 changes: 0 additions & 21 deletions apps/web/public/image/books/RectangleBig3.svg
Diff not rendered.
21 changes: 0 additions & 21 deletions apps/web/public/image/books/RectangleBig4.svg
Diff not rendered.
21 changes: 0 additions & 21 deletions apps/web/public/image/books/RectangleBig5.svg
Diff not rendered.
21 changes: 0 additions & 21 deletions apps/web/public/image/books/RectangleBig6.svg
Diff not rendered.
21 changes: 0 additions & 21 deletions apps/web/public/image/books/RectangleBig7.svg
Diff not rendered.
Binary file removed apps/web/public/image/event.jpeg
Diff not rendered.
Binary file removed apps/web/public/image/image-4.jpeg
Diff not rendered.
9 changes: 0 additions & 9 deletions apps/web/public/image/image8.svg
Diff not rendered.
11 changes: 0 additions & 11 deletions apps/web/public/image/logo-amazon.svg
Diff not rendered.
11 changes: 0 additions & 11 deletions apps/web/public/image/logos/logo-amazon 2.svg
Diff not rendered.
Loading

0 comments on commit a4ec2a4

Please sign in to comment.