Browse Source

fix header request approved

master
mortezaei 13 hours ago
parent
commit
a772036337
  1. 9
      src/app/candidate-contact/candidate-contact-client.tsx
  2. 15
      src/app/finding-match/finding-match-client.tsx
  3. 4
      src/app/request-accepted/request-accepted-client.tsx
  4. 6
      src/app/request-sent/request-sent-client.tsx

9
src/app/candidate-contact/candidate-contact-client.tsx

@ -130,15 +130,15 @@ export default function CandidateContactClient() {
/> />
) : null} ) : null}
<main className="-mx-[17px] flex min-h-screen flex-col px-[23px] pt-[max(12px,calc(var(--safe-top)+4px))] pb-[calc(20px+var(--safe-bottom))]">
<PageHeader <PageHeader
className="-mx-[6px]"
profile={profile} profile={profile}
sticky
leftButton={ leftButton={
isFemale ? { icon: "back", className: "hidden" } : undefined isFemale ? { icon: "back", className: "hidden" } : undefined
} }
/> />
<main className="flex min-h-0 flex-1 flex-col pb-[calc(20px+var(--safe-bottom))]">
<div className="flex flex-1 flex-col justify-between gap-6 pt-4"> <div className="flex flex-1 flex-col justify-between gap-6 pt-4">
<section className="flex flex-col items-center"> <section className="flex flex-col items-center">
{isFinalized ? ( {isFinalized ? (
@ -353,8 +353,9 @@ export default function CandidateContactClient() {
/> />
) : null} ) : null}
<main className="-mx-[17px] flex min-h-screen flex-col px-[17px] pt-[max(12px,calc(var(--safe-top)+4px))] pb-36">
<PageHeader profile={profile} />
<PageHeader profile={profile} sticky />
<main className="flex min-h-0 flex-1 flex-col pb-36">
<section className="flex flex-1 items-center justify-center"> <section className="flex flex-1 items-center justify-center">
<div className="flex max-w-[300px] flex-col items-center"> <div className="flex max-w-[300px] flex-col items-center">

15
src/app/finding-match/finding-match-client.tsx

@ -93,13 +93,9 @@ export default function FindingMatchClient() {
<> <>
<PageBackground /> <PageBackground />
<main
style={{ paddingBottom: "calc(100px + var(--safe-bottom))" }}
className="-mx-[17px] flex min-h-screen flex-col px-[23px] pt-[max(12px,calc(var(--safe-top)+4px))] text-center page-slide-enter"
>
<PageHeader <PageHeader
className="-mx-[6px]"
profile={profile} profile={profile}
sticky
leftButton={{ leftButton={{
icon: "back", icon: "back",
onClick: () => { onClick: () => {
@ -108,13 +104,18 @@ export default function FindingMatchClient() {
JSON.stringify({ action: "close_service" }), JSON.stringify({ action: "close_service" }),
); );
} else { } else {
router.push(localizePath("/", locale));
router.back();
} }
}, },
}} }}
/> />
<section className="mt-20 flex flex-1 flex-col items-center">
<main
style={{ paddingBottom: "calc(100px + var(--safe-bottom))" }}
className="flex min-h-0 flex-1 flex-col text-center page-slide-enter"
>
<section className="mt-20 flex flex-1 flex-col items-center px-[23px]">
<div className="relative h-[124px] w-[130px]" aria-hidden="true"> <div className="relative h-[124px] w-[130px]" aria-hidden="true">
<Image <Image
src={matchImageSrc} src={matchImageSrc}

4
src/app/request-accepted/request-accepted-client.tsx

@ -538,9 +538,9 @@ export default function RequestAcceptedClient() {
/> />
) : null} ) : null}
<main className="-mx-[17px] flex min-h-screen flex-col px-[23px] pt-[max(12px,calc(var(--safe-top)+4px))] pb-[calc(20px+var(--safe-bottom))] text-center">
<PageHeader className="-mx-[6px]" profile={profile} />
<PageHeader profile={profile} sticky />
<main className="flex min-h-0 flex-1 flex-col pb-[calc(20px+var(--safe-bottom))] text-center">
<div className="flex flex-1 flex-col justify-between gap-6 pt-4"> <div className="flex flex-1 flex-col justify-between gap-6 pt-4">
<section className="flex flex-col items-center"> <section className="flex flex-col items-center">
{isFinalized ? ( {isFinalized ? (

6
src/app/request-sent/request-sent-client.tsx

@ -86,12 +86,12 @@ export default function RequestSentClient() {
<> <>
<PageBackground /> <PageBackground />
<PageHeader profile={profile} sticky />
<main <main
style={{ paddingBottom: "calc(40px + var(--safe-bottom))" }} style={{ paddingBottom: "calc(40px + var(--safe-bottom))" }}
className="-mx-[17px] flex min-h-screen flex-col px-[23px] pt-[max(12px,calc(var(--safe-top)+4px))] text-center"
className="flex min-h-0 flex-1 flex-col text-center"
> >
<PageHeader className="-mx-[6px]" profile={profile} />
<div className="flex flex-1 flex-col justify-between gap-16 pt-8"> <div className="flex flex-1 flex-col justify-between gap-16 pt-8">
<section className="flex flex-col items-center"> <section className="flex flex-col items-center">
{/* Illustration */} {/* Illustration */}

Loading…
Cancel
Save