Show invited people the Rule, let them copy its cards for their community, and replace an expired invitation link.
This commit is contained in:
1 parent
727a92a9ac
commit
3c984e00c5
37 files changed
+1962
-19
No files matched your search
@@ -0,0 +1,24 @@
|
||||
"use client";
|
||||
|
||||
import { Suspense } from "react";
|
||||
import { useTranslation } from "../../../contexts/MessagesContext";
|
||||
import { ExpiredInviteScreen } from "../_components/ExpiredInviteScreen";
|
||||
|
||||
function ExpiredInviteFallback() {
|
||||
const t = useTranslation("pages.invite");
|
||||
return (
|
||||
<div className="flex min-h-[100dvh] items-center justify-center bg-[var(--color-surface-invert-brand-primary)]">
|
||||
<p className="text-[14px] text-[var(--color-content-default-primary)]">
|
||||
{t("loadingFallback")}
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default function ExpiredInvitePage() {
|
||||
return (
|
||||
<Suspense fallback={<ExpiredInviteFallback />}>
|
||||
<ExpiredInviteScreen />
|
||||
</Suspense>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user