feat: enhance confirmation page and email templates with receipt layout and directions
Refactored the ConfirmationPage component to utilize a new receipt layout for improved clarity on signup status. Added a directions note to the email templates for better user guidance. Updated styles for the receipt elements to ensure consistency and visual appeal.
This commit is contained in:
1 parent
cc8b3ef114
commit
b039eef5ae
4 files changed
+210
-28
No files matched your search
+155
-5
@@ -499,14 +499,164 @@ main a:hover {
|
||||
color: var(--hope-ink-2);
|
||||
}
|
||||
|
||||
.saved-link {
|
||||
margin: 0.85rem 0 0.2rem;
|
||||
overflow-wrap: anywhere;
|
||||
line-height: 1.45;
|
||||
.receipt {
|
||||
display: grid;
|
||||
gap: 1.05rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.saved-link a {
|
||||
.receipt-head {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
gap: 0.85rem 1rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.receipt h1 {
|
||||
margin: 0;
|
||||
font-size: clamp(2rem, 4vw, 2.55rem);
|
||||
}
|
||||
|
||||
.receipt-mark {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 3.35rem;
|
||||
height: 3.35rem;
|
||||
border-radius: 999px;
|
||||
background: var(--hope-yellow);
|
||||
border: 1px solid var(--hope-gold);
|
||||
box-shadow: var(--hope-shadow-soft);
|
||||
color: var(--hope-ink);
|
||||
}
|
||||
|
||||
.receipt.is-cancelled .receipt-mark {
|
||||
background: var(--hope-full);
|
||||
border-color: var(--hope-full-edge);
|
||||
}
|
||||
|
||||
.receipt-mark svg {
|
||||
display: block;
|
||||
width: 1.65rem;
|
||||
height: 1.65rem;
|
||||
}
|
||||
|
||||
.receipt-mark path {
|
||||
fill: none;
|
||||
stroke: currentColor;
|
||||
stroke-width: 2.4;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
.receipt-summary {
|
||||
margin: 0.2rem 0 0;
|
||||
}
|
||||
|
||||
.receipt .spots,
|
||||
.receipt-hold {
|
||||
margin-top: 0.65rem;
|
||||
}
|
||||
|
||||
.receipt-hold {
|
||||
display: inline-block;
|
||||
width: fit-content;
|
||||
padding: 0.15rem 0.7rem;
|
||||
border: 1px solid var(--hope-border-2);
|
||||
border-radius: 999px;
|
||||
background: #fff;
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.receipt-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: min(44rem, 100%);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
border-radius: 1.75rem;
|
||||
box-shadow: var(--hope-shadow);
|
||||
}
|
||||
|
||||
.receipt-banner {
|
||||
margin: 0;
|
||||
padding: 0.75rem 1.15rem;
|
||||
background: var(--hope-yellow);
|
||||
color: var(--hope-ink);
|
||||
font-size: 1.35rem;
|
||||
font-weight: 650;
|
||||
line-height: 1.25;
|
||||
letter-spacing: -0.02em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.receipt.is-cancelled .receipt-banner {
|
||||
background: var(--hope-full);
|
||||
}
|
||||
|
||||
.receipt-body {
|
||||
display: grid;
|
||||
gap: 0.85rem;
|
||||
align-content: start;
|
||||
flex: 1;
|
||||
padding: 1.05rem 1.25rem 1.2rem;
|
||||
}
|
||||
|
||||
.receipt-role,
|
||||
.receipt-when,
|
||||
.receipt-where,
|
||||
.receipt-note {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.receipt-role,
|
||||
.receipt-date,
|
||||
.receipt-clock,
|
||||
.receipt-where {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.receipt-role,
|
||||
.receipt-date,
|
||||
.receipt-where {
|
||||
font-size: 1.2rem;
|
||||
font-weight: 650;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.receipt-clock {
|
||||
margin-top: 0.15rem;
|
||||
color: var(--hope-ink-2);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.receipt-note {
|
||||
color: var(--hope-ink-2);
|
||||
font-size: 1.02rem;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.receipt-link {
|
||||
display: block;
|
||||
margin-top: auto;
|
||||
padding: 0.9rem 1.25rem 1rem;
|
||||
overflow-wrap: anywhere;
|
||||
background: var(--hope-blue-100);
|
||||
color: var(--hope-ink);
|
||||
font-size: 1rem;
|
||||
font-weight: 650;
|
||||
line-height: 1.45;
|
||||
text-decoration: none;
|
||||
user-select: all;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.receipt-link:hover,
|
||||
.receipt-link:active {
|
||||
background: var(--hope-blue-75);
|
||||
color: var(--hope-ink);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.signup-board {
|
||||
|
||||
Reference in new issue
Block a user