dark mode for add to calendar buttons
This commit is contained in:
parent
6e14a03cc8
commit
bf598a21d4
1 changed files with 4 additions and 4 deletions
|
@ -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 dark:border-neutral-700 py-2 px-3">
|
<a className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 dark:text-white 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"
|
||||||
|
@ -167,7 +167,7 @@ export default function Success(props) {
|
||||||
) + (location ? "&location=" + location : "")
|
) + (location ? "&location=" + location : "")
|
||||||
}>
|
}>
|
||||||
<a
|
<a
|
||||||
className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 py-2 px-3"
|
className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 dark:text-white py-2 px-3"
|
||||||
target="_blank">
|
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"
|
||||||
|
@ -193,7 +193,7 @@ export default function Success(props) {
|
||||||
) + (location ? "&location=" + location : "")
|
) + (location ? "&location=" + location : "")
|
||||||
}>
|
}>
|
||||||
<a
|
<a
|
||||||
className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 py-2 px-3"
|
className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 dark:text-white py-2 px-3"
|
||||||
target="_blank">
|
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"
|
||||||
|
@ -207,7 +207,7 @@ export default function Success(props) {
|
||||||
</Link>
|
</Link>
|
||||||
<Link href={"data:text/calendar," + eventLink()}>
|
<Link href={"data:text/calendar," + eventLink()}>
|
||||||
<a
|
<a
|
||||||
className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 py-2 px-3"
|
className="mx-2 rounded-sm border border-neutral-200 dark:border-neutral-700 dark:text-white py-2 px-3"
|
||||||
download={props.eventType.title + ".ics"}>
|
download={props.eventType.title + ".ics"}>
|
||||||
<svg
|
<svg
|
||||||
version="1.1"
|
version="1.1"
|
||||||
|
|
Loading…
Reference in a new issue