Skip to content

Commit 4d6f48d

Browse files
committed
🔨 Fix icons
1 parent d82a2da commit 4d6f48d

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

frontend/src/views/BookerView/components/BookingViewSuccess.vue

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { useUserStore } from '@/stores/user-store';
88
import { LinkButton, PrimaryButton } from '@thunderbirdops/services-ui';
99
import { apiUrlKey, dayjsKey } from '@/keys';
1010
import { Appointment, Attendee, Slot } from '@/models';
11-
import { PhArrowRight } from '@phosphor-icons/vue';
11+
import { PhArrowRight, PhDownloadSimple, PhConfetti } from '@phosphor-icons/vue';
1212
1313
const { t } = useI18n();
1414
const router = useRouter();
@@ -47,9 +47,7 @@ const downloadUrl = `${apiUrl}/apmt/serve/ics/${props.selectedEvent.slug}/${prop
4747
<div class="booking-success-container">
4848
<div class="booking-details">
4949
<div class="heading">
50-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
51-
<path d="M10.452 4.934a1.482 1.482 0 0 0-2.437.541L3.094 19.011A1.484 1.484 0 0 0 4.478 21c.174-.001.348-.033.511-.094l13.535-4.922a1.48 1.48 0 0 0 .542-2.437l-8.614-8.613zm-.78 12.676L6.39 14.329l1.234-3.395 5.442 5.442-3.395 1.234zm-5.157 1.875 1.313-3.6 2.292 2.291-3.605 1.309zm10.11-3.675L8.19 9.375 9.41 6.012l8.571 8.572-3.355 1.226zM15 6.75a3.543 3.543 0 0 1 .36-1.46c.497-.993 1.434-1.54 2.64-1.54.628 0 1.031-.215 1.28-.676.13-.258.206-.54.22-.83a.75.75 0 1 1 1.5.006c0 1.206-.799 3-3 3-.628 0-1.031.215-1.28.676-.13.258-.205.54-.22.83A.751.751 0 0 1 15 6.75zm-2.25-3V1.5a.75.75 0 1 1 1.5 0v2.25a.75.75 0 1 1-1.5 0zm9.53 7.72a.752.752 0 0 1-.53 1.28.75.75 0 0 1-.53-.22l-1.5-1.5a.75.75 0 0 1 1.06-1.062l1.5 1.501zm.457-4.008-2.25.75a.75.75 0 0 1-.474-1.424l2.25-.75a.75.75 0 1 1 .474 1.424z" />
52-
</svg>
50+
<ph-confetti />
5351
{{ heading }}
5452
</div>
5553
<p>{{ description }}</p>
@@ -66,9 +64,7 @@ const downloadUrl = `${apiUrl}/apmt/serve/ics/${props.selectedEvent.slug}/${prop
6664
<div class="actions">
6765
<link-button :href="downloadUrl">
6866
<template #iconLeft>
69-
<svg viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
70-
<path d="M14 9V13C14 13.1326 13.9473 13.2598 13.8536 13.3536C13.7598 13.4473 13.6326 13.5 13.5 13.5H2.5C2.36739 13.5 2.24021 13.4473 2.14645 13.3536C2.05268 13.2598 2 13.1326 2 13V9C2 8.86739 2.05268 8.74021 2.14645 8.64645C2.24021 8.55268 2.36739 8.5 2.5 8.5C2.63261 8.5 2.75979 8.55268 2.85355 8.64645C2.94732 8.74021 3 8.86739 3 9V12.5H13V9C13 8.86739 13.0527 8.74021 13.1464 8.64645C13.2402 8.55268 13.3674 8.5 13.5 8.5C13.6326 8.5 13.7598 8.55268 13.8536 8.64645C13.9473 8.74021 14 8.86739 14 9ZM7.64625 9.35375C7.69269 9.40024 7.74783 9.43712 7.80853 9.46228C7.86923 9.48744 7.93429 9.50039 8 9.50039C8.06571 9.50039 8.13077 9.48744 8.19147 9.46228C8.25217 9.43712 8.30731 9.40024 8.35375 9.35375L10.8538 6.85375C10.9002 6.8073 10.9371 6.75214 10.9622 6.69145C10.9873 6.63075 11.0003 6.5657 11.0003 6.5C11.0003 6.4343 10.9873 6.36925 10.9622 6.30855C10.9371 6.24786 10.9002 6.1927 10.8538 6.14625C10.8073 6.09979 10.7521 6.06294 10.6914 6.0378C10.6308 6.01266 10.5657 5.99972 10.5 5.99972C10.4343 5.99972 10.3692 6.01266 10.3086 6.0378C10.2479 6.06294 10.1927 6.09979 10.1462 6.14625L8.5 7.79313V2C8.5 1.86739 8.44732 1.74021 8.35355 1.64645C8.25979 1.55268 8.13261 1.5 8 1.5C7.86739 1.5 7.74021 1.55268 7.64645 1.64645C7.55268 1.74021 7.5 1.86739 7.5 2V7.79313L5.85375 6.14625C5.75993 6.05243 5.63268 5.99972 5.5 5.99972C5.36732 5.99972 5.24007 6.05243 5.14625 6.14625C5.05243 6.24007 4.99972 6.36732 4.99972 6.5C4.99972 6.63268 5.05243 6.75993 5.14625 6.85375L7.64625 9.35375Z" />
71-
</svg>
67+
<ph-download-simple />
7268
</template>
7369
{{ t('label.downloadTheIcsFile') }}
7470
</link-button>
@@ -148,6 +144,13 @@ const downloadUrl = `${apiUrl}/apmt/serve/ics/${props.selectedEvent.slug}/${prop
148144
a {
149145
padding: 0;
150146
color: var(--colour-ti-highlight);
147+
font-size: .75rem;
148+
}
149+
150+
:deep(.base.link.filled) .icon,
151+
:deep(.base.link.filled) .icon svg {
152+
width: 16px !important;
153+
height: 16px !important;
151154
}
152155
}
153156
}
@@ -163,7 +166,7 @@ const downloadUrl = `${apiUrl}/apmt/serve/ics/${props.selectedEvent.slug}/${prop
163166
padding: 1.5rem 1.5rem 3.5rem;
164167
max-width: 23rem;
165168
166-
background-image: radial-gradient(circle at 100% 100%, #336d71, #1b222e);
169+
background-image: radial-gradient(circle at bottom right, #336d71, #1b222e 85%);
167170
color: var(--colour-neutral-lower-light);
168171
font-family: Inter, sans-serif;
169172
text-align: center;

0 commit comments

Comments
 (0)