From 0882f73e53d99bd587afe14b93ff4c7651cb9f88 Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Sun, 13 Apr 2025 15:51:51 +0200 Subject: [PATCH] fix: incorrect links order for sections coloring --- src/hooks/color-sections.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/hooks/color-sections.tsx b/src/hooks/color-sections.tsx index bdd0ce5..e18bf8d 100644 --- a/src/hooks/color-sections.tsx +++ b/src/hooks/color-sections.tsx @@ -2,14 +2,12 @@ import { Sections } from "@/i18n/translations"; import { useLayoutEffect, useRef } from "react"; export const linksOrder: Array = [ - "hero", + "details", + "title", "about", - "where", - "when", "tickets", - "accommodation", - "food", - "contact", + "cfp", + "contact" ] export function useColorSections(parent: React.RefObject) {