fix: incorrect links order for sections coloring
Some checks failed
/ deploy (push) Failing after 55s

This commit is contained in:
Dariusz Niemczyk 2025-04-13 15:51:51 +02:00
parent c30dea28bf
commit 0882f73e53
No known key found for this signature in database

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>) {