Skip to content

Commit

Permalink
V3.0.2 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Noname968 committed Mar 20, 2024
1 parent 60b87c4 commit 332fe2b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 171 deletions.
10 changes: 1 addition & 9 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@ const withPWA = require("@ducanh2912/next-pwa").default({
// ... other options you like
});

const million = require("million/compiler")

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
images: {
domains: ['s4.anilist.co','artworks.thetvdb.com','media.kitsu.io', 'image.tmdb.org'],
unoptimized: true
Expand All @@ -42,13 +39,8 @@ const nextConfig = {
ignoreBuildErrors: true,
},
}

const millionConfig = {
auto: true,// if you're using RSC: auto: { rsc: true },
};

module.exports = million.next(withPWA(nextConfig), millionConfig);
// module.exports = withPWA(nextConfig);
module.exports = withPWA(nextConfig);
// const withBundleAnalyzer = require('@next/bundle-analyzer')({
// enabled: process.env.ANALYZE === 'true',
// })
Expand Down
81 changes: 0 additions & 81 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"hls.js": "^1.5.6",
"ioredis": "^5.3.2",
"media-icons": "^0.10.0",
"million": "^3.0.6",
"mongoose": "^8.1.1",
"next": "^14.1.0",
"next-auth": "^4.24.6",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function Footer() {
</svg>
<span className="sr-only">GitHub account</span>
</Link>
<Link href="https://discord.gg/aW5P4W94ZS" target="_blank" className=" hover:text-gray-900 dark:hover:text-white ms-5">
<Link href="https://discord.gg/pZT5y8EDxn" target="_blank" className=" hover:text-gray-900 dark:hover:text-white ms-5">
<svg className="w-[22px] h-[22px]" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 21 16">
<path d="M16.942 1.556a16.3 16.3 0 0 0-4.126-1.3 12.04 12.04 0 0 0-.529 1.1 15.175 15.175 0 0 0-4.573 0 11.585 11.585 0 0 0-.535-1.1 16.274 16.274 0 0 0-4.129 1.3A17.392 17.392 0 0 0 .182 13.218a15.785 15.785 0 0 0 4.963 2.521c.41-.564.773-1.16 1.084-1.785a10.63 10.63 0 0 1-1.706-.83c.143-.106.283-.217.418-.33a11.664 11.664 0 0 0 10.118 0c.137.113.277.224.418.33-.544.328-1.116.606-1.71.832a12.52 12.52 0 0 0 1.084 1.785 16.46 16.46 0 0 0 5.064-2.595 17.286 17.286 0 0 0-2.973-11.59ZM6.678 10.813a1.941 1.941 0 0 1-1.8-2.045 1.93 1.93 0 0 1 1.8-2.047 1.919 1.919 0 0 1 1.8 2.047 1.93 1.93 0 0 1-1.8 2.045Zm6.644 0a1.94 1.94 0 0 1-1.8-2.045 1.93 1.93 0 0 1 1.8-2.047 1.918 1.918 0 0 1 1.8 2.047 1.93 1.93 0 0 1-1.8 2.045Z" />
</svg>
Expand Down
4 changes: 2 additions & 2 deletions src/styles/Navbar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
height: 68px;
padding: 0 3%;
margin: auto;
background-color: rgba(0, 0, 0, 0.4);
background-color: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(4px);
position: fixed;
top: 0;
Expand All @@ -38,7 +38,7 @@
}

.navbarscroll {
background-color: rgba(0, 0, 0, 0.4);
background-color: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(10px);
transition:all 300ms ease-in-out;
}
Expand Down
81 changes: 4 additions & 77 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/core@npm:^7.11.1, @babel/core@npm:^7.23.7":
"@babel/core@npm:^7.11.1":
version: 7.23.9
resolution: "@babel/core@npm:7.23.9"
dependencies:
Expand Down Expand Up @@ -4151,22 +4151,6 @@ __metadata:
languageName: node
linkType: hard

"@rollup/pluginutils@npm:^5.1.0":
version: 5.1.0
resolution: "@rollup/pluginutils@npm:5.1.0"
dependencies:
"@types/estree": "npm:^1.0.0"
estree-walker: "npm:^2.0.2"
picomatch: "npm:^2.3.1"
peerDependencies:
rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
peerDependenciesMeta:
rollup:
optional: true
checksum: 10c0/c7bed15711f942d6fdd3470fef4105b73991f99a478605e13d41888963330a6f9e32be37e6ddb13f012bc7673ff5e54f06f59fd47109436c1c513986a8a7612d
languageName: node
linkType: hard

"@rushstack/eslint-patch@npm:^1.3.3":
version: 1.7.2
resolution: "@rushstack/eslint-patch@npm:1.7.2"
Expand Down Expand Up @@ -4260,7 +4244,7 @@ __metadata:
languageName: node
linkType: hard

"@types/estree@npm:*, @types/estree@npm:^1.0.0, @types/estree@npm:^1.0.5":
"@types/estree@npm:*, @types/estree@npm:^1.0.5":
version: 1.0.5
resolution: "@types/estree@npm:1.0.5"
checksum: 10c0/b3b0e334288ddb407c7b3357ca67dbee75ee22db242ca7c56fe27db4e1a31989cb8af48a84dd401deb787fe10cc6b2ab1ee82dc4783be87ededbe3d53c79c70d
Expand Down Expand Up @@ -4658,7 +4642,7 @@ __metadata:
languageName: node
linkType: hard

"acorn@npm:^8.0.4, acorn@npm:^8.11.3, acorn@npm:^8.7.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0":
"acorn@npm:^8.0.4, acorn@npm:^8.7.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0":
version: 8.11.3
resolution: "acorn@npm:8.11.3"
bin:
Expand Down Expand Up @@ -4739,7 +4723,6 @@ __metadata:
hls.js: "npm:^1.5.6"
ioredis: "npm:^5.3.2"
media-icons: "npm:^0.10.0"
million: "npm:^3.0.6"
mongoose: "npm:^8.1.1"
next: "npm:^14.1.0"
next-auth: "npm:^4.24.6"
Expand Down Expand Up @@ -5251,7 +5234,7 @@ __metadata:
languageName: node
linkType: hard

"chokidar@npm:^3.5.3, chokidar@npm:^3.6.0":
"chokidar@npm:^3.5.3":
version: 3.6.0
resolution: "chokidar@npm:3.6.0"
dependencies:
Expand Down Expand Up @@ -6169,13 +6152,6 @@ __metadata:
languageName: node
linkType: hard

"estree-walker@npm:^2.0.2":
version: 2.0.2
resolution: "estree-walker@npm:2.0.2"
checksum: 10c0/53a6c54e2019b8c914dc395890153ffdc2322781acf4bd7d1a32d7aedc1710807bdcd866ac133903d5629ec601fbb50abe8c2e5553c7f5a0afdd9b6af6c945af
languageName: node
linkType: hard

"esutils@npm:^2.0.2":
version: 2.0.3
resolution: "esutils@npm:2.0.3"
Expand Down Expand Up @@ -7434,13 +7410,6 @@ __metadata:
languageName: node
linkType: hard

"kleur@npm:^4.1.5":
version: 4.1.5
resolution: "kleur@npm:4.1.5"
checksum: 10c0/e9de6cb49657b6fa70ba2d1448fd3d691a5c4370d8f7bbf1c2f64c24d461270f2117e1b0afe8cb3114f13bbd8e51de158c2a224953960331904e636a5e4c0f2a
languageName: node
linkType: hard

"language-subtag-registry@npm:^0.3.20":
version: 0.3.22
resolution: "language-subtag-registry@npm:0.3.22"
Expand Down Expand Up @@ -7706,22 +7675,6 @@ __metadata:
languageName: node
linkType: hard

"million@npm:^3.0.6":
version: 3.0.6
resolution: "million@npm:3.0.6"
dependencies:
"@babel/core": "npm:^7.23.7"
"@babel/types": "npm:^7.23.6"
"@rollup/pluginutils": "npm:^5.1.0"
kleur: "npm:^4.1.5"
undici: "npm:^6.3.0"
unplugin: "npm:^1.6.0"
bin:
million: packages/cli/dist/index.js
checksum: 10c0/2ae839da361e6a70d98e27dd672688af07c6ee1985c3a4f4ff4fe09c9ac2d8faf361dbc1f7c6dfa3bfb77deb6e60c5dcd5507a78838c081ac6c0e059f3ba9374
languageName: node
linkType: hard

"mime-db@npm:1.52.0":
version: 1.52.0
resolution: "mime-db@npm:1.52.0"
Expand Down Expand Up @@ -9925,13 +9878,6 @@ __metadata:
languageName: node
linkType: hard

"undici@npm:^6.3.0":
version: 6.9.0
resolution: "undici@npm:6.9.0"
checksum: 10c0/1d2e65ff901c5a6694c7c6c10a0526fff7949ae18efbd5e16e51ee29ac53e36bb7eda50c4f942b6de046eb4d4d0e5d7536cb48f45ae5235a6a83ac21de171a5d
languageName: node
linkType: hard

"unicode-canonical-property-names-ecmascript@npm:^2.0.0":
version: 2.0.0
resolution: "unicode-canonical-property-names-ecmascript@npm:2.0.0"
Expand Down Expand Up @@ -9997,18 +9943,6 @@ __metadata:
languageName: node
linkType: hard

"unplugin@npm:^1.6.0":
version: 1.10.0
resolution: "unplugin@npm:1.10.0"
dependencies:
acorn: "npm:^8.11.3"
chokidar: "npm:^3.6.0"
webpack-sources: "npm:^3.2.3"
webpack-virtual-modules: "npm:^0.6.1"
checksum: 10c0/cdd877adb964bf9bd293d7702aa0dace5619f6bff572d3a9c551721f975b1323d69ca40fe23dc2e82b9dd956a02d6feb9e8287dfc1d868d5d4ac2eade24ff5ba
languageName: node
linkType: hard

"upath@npm:^1.2.0":
version: 1.2.0
resolution: "upath@npm:1.2.0"
Expand Down Expand Up @@ -10194,13 +10128,6 @@ __metadata:
languageName: node
linkType: hard

"webpack-virtual-modules@npm:^0.6.1":
version: 0.6.1
resolution: "webpack-virtual-modules@npm:0.6.1"
checksum: 10c0/696bdc1acf3806374bdeb4b9b9856b79ee70b31e92f325dfab9b8c8c7e14bb6ddffa9f895a214770c4fb8fea45a21f34ca64310f74e877292a90f4a9966c9c2f
languageName: node
linkType: hard

"webpack@npm:^5.89.0":
version: 5.90.3
resolution: "webpack@npm:5.90.3"
Expand Down

0 comments on commit 332fe2b

Please sign in to comment.