fix: incorrect links order for sections coloring #27

Merged
palid merged 1 commit from fix/incorrect-types into main 2025-04-13 13:52:07 +00:00
Showing only changes of commit 0882f73e53 - Show all commits

View file

@ -2,14 +2,12 @@ import { Sections } from "@/i18n/translations";
import { useLayoutEffect, useRef } from "react"; import { useLayoutEffect, useRef } from "react";
export const linksOrder: Array<Sections> = [ export const linksOrder: Array<Sections> = [
"hero", "details",
"title",
"about", "about",
"where",
"when",
"tickets", "tickets",
"accommodation", "cfp",
"food", "contact"
"contact",
] ]
export function useColorSections(parent: React.RefObject<HTMLDivElement | null>) { export function useColorSections(parent: React.RefObject<HTMLDivElement | null>) {