npm i
npm run dev
starts dev server + slice-machine
Goal: navigate to one page, then use filters: /thematic/mountain + search filters: city => result-page
Changes: predicate -> filter, query -> get,
- Finish updating URLs (/destination & /inspiration + add Typologie) + check how to have same route with different type (/inspiration/:typology & /inspiration/:thematic)
- Add multi-lang
- Setup relationships Area -> Region -> City -> Hotel / Arrondissement -> Hotel
- Start creating custom-components (w/ asText(data.title...))
- Start creating slices ?
client.getByType("hotel", { fetchLinks: "city.name" });
const hotels = await client.getAllByType("hotel", {
filters: filter.at("my.hotel.thematics.thematic", thematic.id),
});