mirror of
https://github.com/UiO-Gaming/mustaboard.git
synced 2026-11-05 13:56:52 +01:00
upgrade all dependencies to their latest versions
This commit is contained in:
1 parent
fbcc0c295a
commit
30d019d2e7
8 files changed
+1523
-1383
No files matched your search
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"extends": ["next/core-web-vitals", "next/typescript"]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import { defineConfig, globalIgnores } from "eslint/config";
|
||||
import nextVitals from "eslint-config-next/core-web-vitals";
|
||||
import nextTs from "eslint-config-next/typescript";
|
||||
|
||||
const eslintConfig = defineConfig([
|
||||
...nextVitals,
|
||||
...nextTs,
|
||||
globalIgnores([".next/**", "out/**", "build/**", "next-env.d.ts"]),
|
||||
]);
|
||||
|
||||
export default eslintConfig;
|
||||
Generated
+1447
-1316
File diff suppressed because it is too large.
Load diff
+16
-12
@@ -6,21 +6,25 @@
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start -p 7000",
|
||||
"lint": "next lint"
|
||||
"lint": "eslint ."
|
||||
},
|
||||
"dependencies": {
|
||||
"next": "^16.3.3",
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0"
|
||||
"next": "^16.4.3",
|
||||
"react": "^19.3.1",
|
||||
"react-dom": "^19.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20",
|
||||
"@types/react": "^19.2.18",
|
||||
"@types/react-dom": "^19.2.5",
|
||||
"eslint": "^9.39.2",
|
||||
"eslint-config-next": "^16.3.3",
|
||||
"postcss": "^8",
|
||||
"tailwindcss": "^3.4.1",
|
||||
"typescript": "^5"
|
||||
"@tailwindcss/postcss": "^4.3.3",
|
||||
"@types/node": "^26",
|
||||
"@types/react": "^19.3.0",
|
||||
"@types/react-dom": "^19.3.0",
|
||||
"eslint": "^10.14.0",
|
||||
"eslint-config-next": "^16.4.3",
|
||||
"postcss": "^8.5.32",
|
||||
"tailwindcss": "^4.3.3",
|
||||
"typescript": "~6.0.3"
|
||||
},
|
||||
"overrides": {
|
||||
"minimatch": "^11.0.3"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/** @type {import('postcss-load-config').Config} */
|
||||
const config = {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
'@tailwindcss/postcss': {},
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -159,7 +159,7 @@ const EventCard: React.FC<EventCardProps> = ({
|
||||
))}
|
||||
<hr className="border-2 border-primary"></hr>
|
||||
{nextSpecialEvent && (nextSpecialEvent.ongoing || nextSpecialEvent.timeDiffMs! > 0) && (
|
||||
<div className="flex flex-1 flex-row bg-gradient-to-r from-purple-500 to-overlay rounded-lg p-3 justify-between space border-2 border-primary animate-pulse">
|
||||
<div className="flex flex-1 flex-row bg-linear-to-r from-purple-500 to-overlay rounded-lg p-3 justify-between space border-2 border-primary animate-pulse">
|
||||
<div className="flex flex-row gap-3">
|
||||
<p className="parabold">Special Event</p>
|
||||
<p className="">{nextSpecialEvent?.name}</p>
|
||||
|
||||
+47
-27
@@ -1,41 +1,67 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
@import 'tailwindcss';
|
||||
|
||||
:root {
|
||||
--background: #141218;
|
||||
--foreground: #261F31;
|
||||
--primary: #392e49;
|
||||
--headers: #D64097;
|
||||
--overlay: #4A3B61;
|
||||
@theme inline {
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--color-primary: var(--primary);
|
||||
--color-headers: var(--headers);
|
||||
--color-overlay: var(--overlay);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--background: #141218;
|
||||
--foreground: #261F31;
|
||||
--primary: #392e49;
|
||||
--headers: #D64097;
|
||||
--overlay: #4A3B61;
|
||||
/*
|
||||
The default border color has changed to `currentcolor` in Tailwind CSS v4,
|
||||
so we've added these compatibility styles to make sure everything still
|
||||
looks the same as it did with Tailwind CSS v3.
|
||||
|
||||
If we ever want to remove these styles, we need to add an explicit border
|
||||
color utility to any element that depends on these defaults.
|
||||
*/
|
||||
@layer base {
|
||||
*,
|
||||
::after,
|
||||
::before,
|
||||
::backdrop,
|
||||
::file-selector-button {
|
||||
border-color: var(--color-gray-200, currentcolor);
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
@layer base {
|
||||
:root {
|
||||
--background: #141218;
|
||||
--foreground: #261f31;
|
||||
--primary: #392e49;
|
||||
--headers: #d64097;
|
||||
--overlay: #4a3b61;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--background: #141218;
|
||||
--foreground: #261f31;
|
||||
--primary: #392e49;
|
||||
--headers: #d64097;
|
||||
--overlay: #4a3b61;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
color: var(--foreground);
|
||||
background: var(--background);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
h1 {
|
||||
font-family: var(--font-nunito);
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
p {
|
||||
font-family: var(--font-nunito);
|
||||
font-weight: 400;
|
||||
font-size: 1.25rem;
|
||||
color: white !important;
|
||||
}
|
||||
}
|
||||
|
||||
.tmp {
|
||||
@@ -72,12 +98,6 @@ p {
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
@layer utilities {
|
||||
.text-balance {
|
||||
text-wrap: balance;
|
||||
}
|
||||
}
|
||||
|
||||
/* === swmg theme === */
|
||||
.swmg {
|
||||
--background: #050509;
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
import { headers } from "next/headers";
|
||||
import type { Config } from "tailwindcss";
|
||||
|
||||
const config: Config = {
|
||||
content: [
|
||||
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
],
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
background: "var(--background)",
|
||||
foreground: "var(--foreground)",
|
||||
primary: "var(--primary)",
|
||||
headers: "var(--headers)",
|
||||
overlay: "var(--overlay)",
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [],
|
||||
};
|
||||
export default config;
|
||||
Reference in new issue
Block a user