mirror of
https://github.com/pheralb/svgl.git
synced 2025-02-06 06:58:04 +08:00
⚒️ Update downloadSvg component & warning message for consistency
This commit is contained in:
parent
19b42f998d
commit
c615cf2d61
@ -53,8 +53,8 @@
|
|||||||
}) => {
|
}) => {
|
||||||
const zip = new JSZip();
|
const zip = new JSZip();
|
||||||
|
|
||||||
const lightSvg = await getSvgContent(lightRoute, false);
|
const lightSvg = await getSvgContent(lightRoute);
|
||||||
const darkSvg = await getSvgContent(darkRoute, false);
|
const darkSvg = await getSvgContent(darkRoute);
|
||||||
|
|
||||||
if (isWordmark) {
|
if (isWordmark) {
|
||||||
zip.file(`${svgInfo.title}_wordmark_light.svg`, lightSvg);
|
zip.file(`${svgInfo.title}_wordmark_light.svg`, lightSvg);
|
||||||
@ -105,7 +105,7 @@
|
|||||||
<DialogContent class="max-w-[630px]">
|
<DialogContent class="max-w-[630px]">
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>Download {svgInfo.title}</DialogTitle>
|
<DialogTitle>Download {svgInfo.title}</DialogTitle>
|
||||||
<DialogDescription>This logo has multiple options to download.</DialogDescription>
|
<DialogDescription>This logo has multiple options to download:</DialogDescription>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
@ -17,12 +17,14 @@
|
|||||||
<AlertTriangleIcon
|
<AlertTriangleIcon
|
||||||
size={18}
|
size={18}
|
||||||
strokeWidth={2}
|
strokeWidth={2}
|
||||||
class="mr-1 flex-shrink-0 text-yellow-600 dark:text-yellow-500"
|
class="mr-1 flex-shrink-0 text-yellow-600 dark:text-yellow-500 animate-pulse"
|
||||||
/>
|
/>
|
||||||
<p>
|
<p>
|
||||||
All SVGs include links to the respective products or companies that own them. Please contact
|
All SVGs include links to the respective products or companies that own them. <strong
|
||||||
the owner directly if you intend to use their logo. If you are the owner of an SVG and
|
>Please contact the owner directly if you intend to use their logo.</strong
|
||||||
prefer it not to be displayed here, <a
|
>
|
||||||
|
If you are the owner of an SVG and prefer it not to be displayed here,
|
||||||
|
<a
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="underline underline-offset-4 decoration-dotted decoration-neutral-500"
|
class="underline underline-offset-4 decoration-dotted decoration-neutral-500"
|
||||||
href="https://github.com/pheralb/svgl/issues/new">create an issue</a
|
href="https://github.com/pheralb/svgl/issues/new">create an issue</a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user