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 lightSvg = await getSvgContent(lightRoute, false);
|
||||
const darkSvg = await getSvgContent(darkRoute, false);
|
||||
const lightSvg = await getSvgContent(lightRoute);
|
||||
const darkSvg = await getSvgContent(darkRoute);
|
||||
|
||||
if (isWordmark) {
|
||||
zip.file(`${svgInfo.title}_wordmark_light.svg`, lightSvg);
|
||||
@ -105,7 +105,7 @@
|
||||
<DialogContent class="max-w-[630px]">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Download {svgInfo.title}</DialogTitle>
|
||||
<DialogDescription>This logo has multiple options to download.</DialogDescription>
|
||||
<DialogDescription>This logo has multiple options to download:</DialogDescription>
|
||||
</DialogHeader>
|
||||
|
||||
<div
|
||||
|
@ -17,12 +17,14 @@
|
||||
<AlertTriangleIcon
|
||||
size={18}
|
||||
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>
|
||||
All SVGs include links to the respective products or companies that own them. Please contact
|
||||
the owner directly if you intend to use their logo. If you are the owner of an SVG and
|
||||
prefer it not to be displayed here, <a
|
||||
All SVGs include links to the respective products or companies that own them. <strong
|
||||
>Please contact the owner directly if you intend to use their logo.</strong
|
||||
>
|
||||
If you are the owner of an SVG and prefer it not to be displayed here,
|
||||
<a
|
||||
target="_blank"
|
||||
class="underline underline-offset-4 decoration-dotted decoration-neutral-500"
|
||||
href="https://github.com/pheralb/svgl/issues/new">create an issue</a
|
||||
|
Loading…
x
Reference in New Issue
Block a user