diff --git a/components/ContentType/HotelPage/TabNavigation/index.tsx b/components/ContentType/HotelPage/TabNavigation/index.tsx index af158636e..453894b0f 100644 --- a/components/ContentType/HotelPage/TabNavigation/index.tsx +++ b/components/ContentType/HotelPage/TabNavigation/index.tsx @@ -4,27 +4,28 @@ import { useIntl } from "react-intl" import Link from "@/components/TempDesignSystem/Link" import useHash from "@/hooks/useHash" -import { HotelHashValues } from "./types" - import styles from "./tabNavigation.module.css" +import { HotelHashValues } from "@/types/components/hotelPage/tabNavigation" + export default function TabNavigation() { const hash = useHash() const { formatMessage } = useIntl() const hotelTabLinks: { href: HotelHashValues; text: string }[] = [ - { href: "#overview", text: "Overview" }, - { href: "#rooms-section", text: "Rooms" }, - { href: "#restaurant-and-bar", text: "Restaurant & Bar" }, - { href: "#meetings-and-conferences", text: "Meetings & Conferences" }, - { href: "#wellness-and-exercise", text: "Wellness & Exercise" }, - { href: "#activities", text: "Activities" }, - { href: "#faq", text: "FAQ" }, + { href: HotelHashValues.overview, text: "Overview" }, + { href: HotelHashValues.rooms, text: "Rooms" }, + { href: HotelHashValues.restaurant, text: "Restaurant & Bar" }, + { href: HotelHashValues.meetings, text: "Meetings & Conferences" }, + { href: HotelHashValues.wellness, text: "Wellness & Exercise" }, + { href: HotelHashValues.activities, text: "Activities" }, + { href: HotelHashValues.faq, text: "FAQ" }, ] return (