camper/pkg/template
jordi fita mas 852acaccc3 Add the calendar to the public campsite type page
I had to export the Calendar type from Season to use it from
campsite/types, and also renamed them because season.SeasonCalendar is
a bit redundant compared to just season.Calendar.

I still have not added the HTMx code to switch year because i am not
sure whether Oriol will want to show a whole year or just half a year.

The calculation for the text color taking into account the contrast with
the background is from [0].

[0]: https://www.smashingmagazine.com/2020/07/css-techniques-legibility/#foreground-contrast
2023-10-14 23:14:23 +02:00
..
humanize.go Manage all media uploads in a single place 2023-09-21 01:56:44 +02:00
humanize_test.go Manage all media uploads in a single place 2023-09-21 01:56:44 +02:00
page.go Add the Catalonia’s Tourism Registry number to company 2023-10-14 21:59:36 +02:00
render.go Add the calendar to the public campsite type page 2023-10-14 23:14:23 +02:00