Adds opt-in banner to mobile "more" menu

pull/4253/head
zomars 2022-09-07 19:02:09 -06:00
parent 4856ed9977
commit 8996a2aa8e
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,4 @@
import UserV2OptInBanner from "@calcom/features/users/components/UserV2OptInBanner";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import { MobileNavigationMoreItems } from "@calcom/ui/Shell";
import { Shell } from "@calcom/ui/v2";
@ -8,6 +9,9 @@ export default function MorePage() {
<Shell>
<div className="max-w-screen-lg">
<MobileNavigationMoreItems />
<div className="mt-6">
<UserV2OptInBanner />
</div>
<p className="mt-6 text-xs leading-tight text-gray-500 md:hidden">{t("more_page_footer")}</p>
</div>
</Shell>