Compare commits
2 Commits
1ab07709ac
...
ce4ec291c6
Author | SHA1 | Date | |
---|---|---|---|
ce4ec291c6 | |||
57c2fe1301 |
@ -49,7 +49,7 @@ export default function RootLayout({
|
|||||||
src="https://analytics.fascinated.cc/js/script.js"
|
src="https://analytics.fascinated.cc/js/script.js"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<body className={clsx(font.className, "bg-black text-white")}>
|
<body className={clsx(font.className, "bg-black text-primary")}>
|
||||||
<div className="fixed left-0 top-0 z-0 h-full w-full blur-sm">
|
<div className="fixed left-0 top-0 z-0 h-full w-full blur-sm">
|
||||||
<Image
|
<Image
|
||||||
className="object-fill object-center"
|
className="object-fill object-center"
|
||||||
|
@ -5,6 +5,7 @@ import { useSettingsStore } from "@/store/settingsStore";
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import { TooltipProvider } from "./ui/Tooltip";
|
import { TooltipProvider } from "./ui/Tooltip";
|
||||||
import { ThemeProvider } from "./ui/theme-provider";
|
import { ThemeProvider } from "./ui/theme-provider";
|
||||||
|
|
||||||
const UPDATE_INTERVAL = 1000 * 60 * 5; // 5 minutes
|
const UPDATE_INTERVAL = 1000 * 60 * 5; // 5 minutes
|
||||||
|
|
||||||
export default class AppProvider extends React.Component {
|
export default class AppProvider extends React.Component {
|
||||||
|
@ -23,7 +23,7 @@ export default function Pagination(props: PaginationProps) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex justify-center text-white">
|
<div className="flex justify-center text-primary">
|
||||||
<nav>
|
<nav>
|
||||||
<ul className="flex items-center gap-2">
|
<ul className="flex items-center gap-2">
|
||||||
{currentPage > 1 && (
|
{currentPage > 1 && (
|
||||||
@ -60,7 +60,7 @@ export default function Pagination(props: PaginationProps) {
|
|||||||
<button
|
<button
|
||||||
className={`rounded-md px-3 py-1 ${
|
className={`rounded-md px-3 py-1 ${
|
||||||
pageNumber === currentPage
|
pageNumber === currentPage
|
||||||
? "bg-blue-500 text-white"
|
? "bg-blue-500 text-primary"
|
||||||
: "bg-neutral-700 hover:opacity-80"
|
: "bg-neutral-700 hover:opacity-80"
|
||||||
}`}
|
}`}
|
||||||
onClick={() => onPageChange(pageNumber)}
|
onClick={() => onPageChange(pageNumber)}
|
||||||
|
@ -96,8 +96,8 @@ export default function Leaderboard({ id, page }: LeaderboardProps) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Container>
|
<Container>
|
||||||
<div className="flex flex-col gap-2 md:flex-row">
|
<div className="mt-2 flex flex-col gap-2 md:flex-row">
|
||||||
<Card className="mt-2 flex">
|
<Card outerClassName="h-fit" className="mt-2 flex">
|
||||||
<div className="flex min-w-[300px] flex-wrap justify-between gap-2 md:justify-start">
|
<div className="flex min-w-[300px] flex-wrap justify-between gap-2 md:justify-start">
|
||||||
<div className="flex gap-2">
|
<div className="flex gap-2">
|
||||||
<Image
|
<Image
|
||||||
|
Reference in New Issue
Block a user