added /more page for mobile (#4219)

* added /more page for mobile

* i18n

* Navigation improvements

* Reverting unused exports

* Improved performance for getting mobile/desktop items

* I take your forEach and up it with reduce

Co-authored-by: zomars <[email protected]>
Co-authored-by: Alan <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2022-09-06 22:13:31 -06:00
1 parent 1561224dbb
commit 30f8d12563
3 files changed
+96 -29

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import { useLocale } from "@calcom/lib/hooks/useLocale";
import { MobileNavigationMoreItems } from "@calcom/ui/Shell";
import { Shell } from "@calcom/ui/v2";
export default function MorePage() {
const { t } = useLocale();
return (
<Shell>
<div className="max-w-screen-lg">
<MobileNavigationMoreItems />
<p className="mt-6 text-xs leading-tight text-gray-500 md:hidden">{t("more_page_footer")}</p>
</div>
</Shell>
);
}
@@ -1168,6 +1168,8 @@
"for_a_maximum_of": "For a maximum of",
"event_one": "event",
"event_other": "events",
"more": "More",
"more_page_footer": "We view the mobile application as an extension of the web application. If you are performing any complication actions, please refer back to the web application.",
"workflow_example_1": "Send email reminder 24 hours before event starts to host",
"workflow_example_2": "Send SMS reminder 1 hour before event starts to host",
"workflow_example_3": "Send custom email when event is cancelled to host",