diff --git a/next.config.js b/next.config.js index fb1c419..c57a7ec 100644 --- a/next.config.js +++ b/next.config.js @@ -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 @@ -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', // }) diff --git a/package-lock.json b/package-lock.json index 6d61aca..68a156f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,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", @@ -8189,14 +8188,6 @@ "json-buffer": "3.0.1" } }, - "node_modules/kleur": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz", - "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==", - "engines": { - "node": ">=6" - } - }, "node_modules/language-subtag-registry": { "version": "0.3.22", "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz", @@ -8413,51 +8404,6 @@ "node": ">=8.6" } }, - "node_modules/million": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/million/-/million-3.0.6.tgz", - "integrity": "sha512-OLjRVASGOZdyZw2ctBSSOu5kb9PaxafqkueqVvw0iQtUUnTLVRk1EmtqcNAtJWCIm8wn+WGRpDbnp+5Hi8//Kg==", - "dependencies": { - "@babel/core": "^7.23.7", - "@babel/types": "^7.23.6", - "@rollup/pluginutils": "^5.1.0", - "kleur": "^4.1.5", - "undici": "^6.3.0", - "unplugin": "^1.6.0" - }, - "bin": { - "million": "packages/cli/dist/index.js" - }, - "funding": { - "url": "https://github.com/sponsors/aidenybai" - } - }, - "node_modules/million/node_modules/@rollup/pluginutils": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.0.tgz", - "integrity": "sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==", - "dependencies": { - "@types/estree": "^1.0.0", - "estree-walker": "^2.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" - }, - "peerDependenciesMeta": { - "rollup": { - "optional": true - } - } - }, - "node_modules/million/node_modules/estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" - }, "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", @@ -10827,14 +10773,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/undici": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.9.0.tgz", - "integrity": "sha512-XPWfXzJedevUziHwun70EKNvGnxv4CnfraFZ4f/JV01+fcvMYzHE26r/j8AY/9c/70nkN4B1zX7E2Oyuqwz4+Q==", - "engines": { - "node": ">=18.0" - } - }, "node_modules/undici-types": { "version": "5.26.5", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", @@ -10895,20 +10833,6 @@ "node": ">= 10.0.0" } }, - "node_modules/unplugin": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.10.0.tgz", - "integrity": "sha512-CuZtvvO8ua2Wl+9q2jEaqH6m3DoQ38N7pvBYQbbaeNlWGvK2l6GHiKi29aIHDPoSxdUzQ7Unevf1/ugil5X6Pg==", - "dependencies": { - "acorn": "^8.11.3", - "chokidar": "^3.6.0", - "webpack-sources": "^3.2.3", - "webpack-virtual-modules": "^0.6.1" - }, - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/upath": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz", @@ -11162,11 +11086,6 @@ "node": ">=10.13.0" } }, - "node_modules/webpack-virtual-modules": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.6.1.tgz", - "integrity": "sha512-poXpCylU7ExuvZK8z+On3kX+S8o/2dQ/SVYueKA0D4WEMXROXgY8Ez50/bQEUmvoSMMrWcrJqCHuhAbsiwg7Dg==" - }, "node_modules/webpack/node_modules/eslint-scope": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", diff --git a/package.json b/package.json index 91bc56f..aeaa4f3 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/components/Footer.js b/src/components/Footer.js index 009f892..b8697f4 100644 --- a/src/components/Footer.js +++ b/src/components/Footer.js @@ -96,7 +96,7 @@ function Footer() { GitHub account - + diff --git a/src/styles/Navbar.module.css b/src/styles/Navbar.module.css index 7817b0f..c5a3322 100644 --- a/src/styles/Navbar.module.css +++ b/src/styles/Navbar.module.css @@ -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; @@ -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; } diff --git a/yarn.lock b/yarn.lock index d905313..d973dbc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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: @@ -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" @@ -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 @@ -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: @@ -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" @@ -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: @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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"