- {t.requestAccepted.penalty}
+
+
+ Please note: if you do not make contact within 2 days, a penalty
+ may apply
+
+
+
-
+
- {t.requestAccepted.profileLocked}
+ Profile is locked
-
-
- {t.requestAccepted.lockedDescription}
-
diff --git a/src/app/request-sent/page.tsx b/src/app/request-sent/page.tsx
new file mode 100644
index 0000000..ec6e7a3
--- /dev/null
+++ b/src/app/request-sent/page.tsx
@@ -0,0 +1,76 @@
+"use client";
+
+import Image from "next/image";
+import { useRouter } from "next/navigation";
+import Button from "@/components/ui/button";
+import NavigationButton from "@/components/ui/navigation-button";
+import { PageBackground } from "@/components/utils/page-background";
+import { localizePath } from "@/i18n/config";
+import { useI18n } from "@/i18n/provider";
+import Link from "next/link";
+
+export default function RequestSentPage() {
+ const { locale } = useI18n();
+ const router = useRouter();
+
+ return (
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+ Request Sent
+
+
+
+ We will propose marriage on your behalf. If they accept, their contact details will be shared with you.
+
+
+
+
+ Match Profile
+
+
+
+
+
+
+
+
+
+
+
+ Profile is locked
+
+
+
+
+
+
+ >
+ );
+}
diff --git a/src/components/ui/call-result-sheet.tsx b/src/components/ui/call-result-sheet.tsx
index a49f840..e88c3ec 100644
--- a/src/components/ui/call-result-sheet.tsx
+++ b/src/components/ui/call-result-sheet.tsx
@@ -9,7 +9,7 @@ const EXIT_ANIMATION_MS = 220;
export type CallResultSheetProps = Omit<
HTMLAttributes
,
- "title"
+ "title" | "onSubmit"
> & {
closeOnOutside?: boolean;
onClose?: () => void;
diff --git a/src/components/ui/dismiss-reason-sheet.tsx b/src/components/ui/dismiss-reason-sheet.tsx
index 90bf4d7..51404c3 100644
--- a/src/components/ui/dismiss-reason-sheet.tsx
+++ b/src/components/ui/dismiss-reason-sheet.tsx
@@ -9,7 +9,7 @@ const EXIT_ANIMATION_MS = 220;
export type DismissReasonSheetProps = Omit<
HTMLAttributes,
- "title"
+ "title" | "onSubmit"
> & {
closeOnOutside?: boolean;
onClose?: () => void;
@@ -29,7 +29,7 @@ export function DismissReasonSheet({
const [isVisible, setIsVisible] = useState(true);
const [isEntering, setIsEntering] = useState(true);
const [isClosing, setIsClosing] = useState(false);
- const [selectedReason, setSelectedReason] = useState(options[0]);
+ const [selectedReason, setSelectedReason] = useState(options[0]);
const [reasonText, setReasonText] = useState("");
const closeSheet = () => {
@@ -146,49 +146,55 @@ export function DismissReasonSheet({
const showTextArea = option === options[options.length - 1];
return (
-
+
+
+ {option}
+
+
+
+
+ {checked && showTextArea ? (
+