diff --git a/src/app/new-match/new-match-client.tsx b/src/app/new-match/new-match-client.tsx index de34131..01eaf22 100644 --- a/src/app/new-match/new-match-client.tsx +++ b/src/app/new-match/new-match-client.tsx @@ -520,63 +520,55 @@ export default function NewMatchClient() { return ( <> -
- +
+ -
+
{/* Header Section Skeleton */} -
+
- - - + + +
-
- {/* Match Card Skeleton */} -
- {/* Name line */} - + {/* Match Card Skeleton */} +
+ {/* Name line */} + - {/* Subtitle / Details lines */} -
- - - -
+ {/* Subtitle / Details lines */} +
+ + + +
- {/* Button skeleton */} - -
- - {/* Advisor Card Skeleton */} -
-
- -
- - -
+ {/* Button skeleton */} + +
-
-
- - - - -
+ {/* Advisor Card Skeleton */} +
+
+ +
+ + +
- +
+
+ + + +
+ +
-
-
+
+
@@ -610,17 +602,11 @@ export default function NewMatchClient() { <> -
- - -
-
+
+ + +
+
-

+

{matchHeadingTitle} -

-

+ +

{matchHeadingDescription}

-
- {isLoading ? ( -
-
- {/* Name line */} - - - {/* Subtitle / Details lines */} -
- - - -
+ {isLoading ? ( +
+
+ {/* Name line */} + - {/* Button skeleton */} - + {/* Subtitle / Details lines */} +
+ + +
-
- ) : ( -
- {isError ? ( -

- Unable to load match summary. -

- ) : matchSummary ? ( - <> -

- {matchDisplay.name} -

- -
- {matchDisplay.age ? ( - - ) : null} - - {matchDisplay.residence ? ( - - ) : null} - - {pairedEduFields.length ? ( -

- {pairedEduFields.map((field, index) => ( - - {index > 0 ? ( - | - ) : null} - - {field.label}:{" "} - - {field.value} + + {/* Button skeleton */} + +

+
+ ) : ( +
+ {isError ? ( +

+ Unable to load match summary. +

+ ) : matchSummary ? ( + <> +

+ {matchDisplay.name} +

+ +
+ {matchDisplay.age ? ( + + ) : null} + + {matchDisplay.residence ? ( + + ) : null} + + {pairedEduFields.length ? ( +

+ {pairedEduFields.map((field, index) => ( + + {index > 0 ? ( + | + ) : null} + + {field.label}:{" "} - ))} -

- ) : null} - - {matchDisplay.job ? ( - - ) : null} - - {matchDisplay.hobbies ? ( - - ) : null} - - {matchDisplay.maritalStatus ? ( - - ) : null} - {matchDisplay.cityPreference ? ( - - ) : null} -
+ {field.value} + + ))} +

+ ) : null} + + {matchDisplay.job ? ( + + ) : null} + + {matchDisplay.hobbies ? ( + + ) : null} + + {matchDisplay.maritalStatus ? ( + + ) : null} + {matchDisplay.cityPreference ? ( + + ) : null} +
- - - ) : ( -

- No match summary is available yet. -

- )} -
- )} -
- -
-
+ + + ) : ( +

+ No match summary is available yet. +

+ )} +
+ )} + +