diff --git a/mcal/src/Calendar.tsx b/mcal/src/Calendar.tsx index f8ab84c..81f2553 100644 --- a/mcal/src/Calendar.tsx +++ b/mcal/src/Calendar.tsx @@ -14,6 +14,7 @@ import { jdnHaabExt, jdnLordOfNight, jdnTzolkin, } from '@common/mayan'; +import {useMobileTooltipProps} from '@common/ui/MobileTooltip'; type MonthProps = { year: HaabYear; @@ -26,12 +27,21 @@ type DateProps = MonthProps & { function Day({year, month, day, todayJDN}: DateProps & { todayJDN: number }): JSX.Element { const jdn = haabExtJDN({year, month, day}); + const mobile = useMobileTooltipProps(); return
{day} {haabNames[month]}
-
{formatTzolkin(jdnTzolkin(jdn))}
-
{jdnLongCount(jdn)?.join('.')}
-
{formatLordOfNight(jdnLordOfNight(jdn))}
-
{jdnDate(jdn).toDateString()}
+
+ T. {formatTzolkin(jdnTzolkin(jdn))} +
+
+ L. {jdnLongCount(jdn)?.join('.')} +
+
+ N. {formatLordOfNight(jdnLordOfNight(jdn)) + }
+
+ G. {jdnDate(jdn).toDateString()} +
; }