mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-11-18 07:22:06 +00:00
add metadata, moving splitting client and server component when needed as metadata is not allowed in a client component reusable baseUrl set x-url header for use in canonical urls for each page remove hardcoded title tag remove user-scalable=no to pass a11y checks, since it is ignored anyway by browsers now LCP set as priority loading
11 lines
269 B
TypeScript
11 lines
269 B
TypeScript
import { TimeControl } from "@/types";
|
|
|
|
export const TimeControlColours = {
|
|
[TimeControl.Classic]: "#00ac39",
|
|
[TimeControl.Rapid]: "#0086c7",
|
|
[TimeControl.Blitz]: "#ddce20",
|
|
[TimeControl.Other]: "#ea5f17",
|
|
};
|
|
|
|
export const baseUrl = "https://echecsfrance.com";
|