Success page dark mode fixes
This commit is contained in:
parent
d5c77c42a3
commit
d4fdce5a96
1 changed files with 6 additions and 6 deletions
|
@ -76,7 +76,7 @@ export default function Success(props) {
|
||||||
​
|
​
|
||||||
</span>
|
</span>
|
||||||
<div
|
<div
|
||||||
className="inline-block align-bottom dark:bg-gray-800 bg-white rounded-sm px-8 pt-5 pb-4 text-left overflow-hidden border border-neutral-200 transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full sm:py-6"
|
className="inline-block align-bottom dark:bg-gray-800 bg-white rounded-sm px-8 pt-5 pb-4 text-left overflow-hidden border border-neutral-200 dark:border-neutral-700 transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full sm:py-6"
|
||||||
role="dialog"
|
role="dialog"
|
||||||
aria-modal="true"
|
aria-modal="true"
|
||||||
aria-labelledby="modal-headline">
|
aria-labelledby="modal-headline">
|
||||||
|
@ -104,7 +104,7 @@ export default function Success(props) {
|
||||||
: `We emailed you and the other attendees a calendar invitation with all the details.`}
|
: `We emailed you and the other attendees a calendar invitation with all the details.`}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-4 text-gray-700 border-t border-b dark:border-gray-900 py-4 grid grid-cols-3 text-left">
|
<div className="mt-4 text-gray-700 dark:text-gray-300 border-t border-b dark:border-gray-900 py-4 grid grid-cols-3 text-left">
|
||||||
<div className="font-medium">What</div>
|
<div className="font-medium">What</div>
|
||||||
<div className="mb-6 col-span-2">{eventName}</div>
|
<div className="mb-6 col-span-2">{eventName}</div>
|
||||||
<div className="font-medium">When</div>
|
<div className="font-medium">When</div>
|
||||||
|
@ -142,7 +142,7 @@ export default function Success(props) {
|
||||||
props.eventType.description
|
props.eventType.description
|
||||||
}` + (location ? "&location=" + encodeURIComponent(location) : "")
|
}` + (location ? "&location=" + encodeURIComponent(location) : "")
|
||||||
}>
|
}>
|
||||||
<a className="mx-2 rounded-sm border border-neutral-200 py-2 px-3">
|
<a className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 py-2 px-3">
|
||||||
<svg
|
<svg
|
||||||
className="inline-block w-4 h-4 -mt-1"
|
className="inline-block w-4 h-4 -mt-1"
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
|
@ -166,7 +166,7 @@ export default function Success(props) {
|
||||||
eventName
|
eventName
|
||||||
) + (location ? "&location=" + location : "")
|
) + (location ? "&location=" + location : "")
|
||||||
}>
|
}>
|
||||||
<a className="mx-2 rounded-sm border border-neutral-200 py-2 px-3" target="_blank">
|
<a className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 py-2 px-3" target="_blank">
|
||||||
<svg
|
<svg
|
||||||
className="inline-block w-4 h-4 mr-1 -mt-1"
|
className="inline-block w-4 h-4 mr-1 -mt-1"
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
|
@ -190,7 +190,7 @@ export default function Success(props) {
|
||||||
eventName
|
eventName
|
||||||
) + (location ? "&location=" + location : "")
|
) + (location ? "&location=" + location : "")
|
||||||
}>
|
}>
|
||||||
<a className="mx-2 rounded-sm border border-neutral-200 py-2 px-3" target="_blank">
|
<a className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 py-2 px-3" target="_blank">
|
||||||
<svg
|
<svg
|
||||||
className="inline-block w-4 h-4 mr-1 -mt-1"
|
className="inline-block w-4 h-4 mr-1 -mt-1"
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
|
@ -202,7 +202,7 @@ export default function Success(props) {
|
||||||
</a>
|
</a>
|
||||||
</Link>
|
</Link>
|
||||||
<Link href={"data:text/calendar," + eventLink()}>
|
<Link href={"data:text/calendar," + eventLink()}>
|
||||||
<a className="mx-2 rounded-sm border border-neutral-200 py-2 px-3" download={props.eventType.title + ".ics"}>
|
<a className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 py-2 px-3" download={props.eventType.title + ".ics"}>
|
||||||
<svg
|
<svg
|
||||||
version="1.1"
|
version="1.1"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
|
Loading…
Reference in a new issue