Refactor ESLint configuration and update code formatting: Standardize quotes in eslint.config.mjs, next.config.js, and various TypeScript files for consistency. Add Prettier as a dependency and include formatting scripts in package.json. Clean up unnecessary whitespace in multiple files to enhance code readability.
This commit is contained in:
@@ -326,16 +326,16 @@ export default function EventsPageSection({
|
||||
isToday
|
||||
? "bg-pixel-gold/30 border-pixel-gold/70 border-2"
|
||||
: hasEvents
|
||||
? `${eventBgColor} ${eventBorderColor} border-2`
|
||||
: "border-pixel-gold/10"
|
||||
? `${eventBgColor} ${eventBorderColor} border-2`
|
||||
: "border-pixel-gold/10"
|
||||
} ${
|
||||
hasEvents ? "ring-2 ring-offset-1 ring-offset-black" : ""
|
||||
} ${
|
||||
hasLive
|
||||
? "ring-red-500/50"
|
||||
: hasUpcoming
|
||||
? "ring-green-500/50"
|
||||
: ""
|
||||
? "ring-green-500/50"
|
||||
: ""
|
||||
}`}
|
||||
>
|
||||
<div
|
||||
@@ -343,8 +343,8 @@ export default function EventsPageSection({
|
||||
isToday
|
||||
? "text-pixel-gold"
|
||||
: hasEvents
|
||||
? "text-white"
|
||||
: "text-gray-400"
|
||||
? "text-white"
|
||||
: "text-gray-400"
|
||||
}`}
|
||||
>
|
||||
{day}
|
||||
@@ -360,8 +360,8 @@ export default function EventsPageSection({
|
||||
status === "UPCOMING"
|
||||
? "bg-green-400"
|
||||
: status === "LIVE"
|
||||
? "bg-red-400 animate-pulse"
|
||||
: "bg-gray-400"
|
||||
? "bg-red-400 animate-pulse"
|
||||
: "bg-gray-400"
|
||||
}`}
|
||||
title={event.name}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user