Feat/cal 95/date range on event types (#353)

* add edit links to events on dashboard

* fit elements on screen for mobile

* initialize components for consistent text styles

* add more fine grained width/height settings

* add higher level setting for when an event is available

- db: add supporting values to period allow setting an amount of days,
 a range, or unlimited number days an event is available

* fix issue where periodDates are null

* return minimal required data, handle date parsing

* [ui] limit booking days based on user period settings

* api: validate user period settings

* [db] migration for event type period settings
This commit is contained in:
Femi Odugbesan
2021-07-15 09:10:26 -05:00
committed by GitHub
parent ecd0360d9a
commit 45689059c7
42 changed files with 1455 additions and 380 deletions
+55
View File
@@ -0,0 +1,55 @@
/* strong {
@apply font-medium;
} */
.text {
}
.text--body {
@apply text-lg leading-relaxed;
}
.text--overline {
@apply text-sm uppercase font-semibold leading-snug tracking-wide;
}
.text--caption {
@apply text-sm text-gray-500 leading-tight;
}
.text--caption2 {
@apply text-xs italic text-gray-500 leading-tight;
}
.text--footnote {
@apply text-base font-normal;
}
.text--headline {
/* @apply text-base font-normal; */
@apply text-3xl leading-8 font-semibold tracking-tight text-gray-900 sm:text-4xl;
}
.text--subheadline {
@apply text-xl text-gray-500 leading-relaxed;
}
.text--largetitle {
@apply text-2xl font-normal;
}
.text--subtitle {
@apply text-base font-normal;
}
.text--title {
@apply text-base font-normal;
}
.text--title2 {
@apply text-base font-normal;
}
.text--title3 {
@apply text-xs font-semibold leading-tight;
}