feat: add Armenian flag SVG and update existing flag SVGs

- Added a new SVG file for the Armenian flag (am-1952–1990.svg).
- Updated the existing Armenian flag SVG (am.svg) to use a new structure and color scheme.
- Refactored logo loading logic in App.svelte to reset filters and state when loading a new collection.
- Simplified PNG and JPG download functions in Actions.svelte to directly use collection variable directory.
- Enhanced SVG source fetching in CardFull.svelte to utilize a helper function for image URL generation.
This commit is contained in:
sHa
2025-06-18 18:41:00 +03:00
parent 2463661748
commit 44b73116b3
24 changed files with 3123 additions and 40 deletions

View File

@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 6 4">
<path d="M0,0H6V4H0z" fill="#d81c3f" />
<path d="M0,0H3V4H0z" fill="#fce016" />
</svg>

After

Width:  |  Height:  |  Size: 185 B

View File

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 700">
<path fill="#d0103a" d="M0 0h1000v700H0z" />
<path fill="#fedf00" d="M0 0h680v700H0z" />
<path fill="#0018a8" d="M0 0h320v700H0z" />
</svg>

After

Width:  |  Height:  |  Size: 243 B

View File

@@ -1,6 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-ae" viewBox="0 0 640 480">
<path fill="#00732f" d="M0 0h640v160H0z"/>
<path fill="#fff" d="M0 160h640v160H0z"/>
<path fill="#000001" d="M0 320h640v160H0z"/>
<path fill="red" d="M0 0h220v480H0z"/>
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 12 6">
<rect width="12" height="6" fill="#00843d" id="green" />
<rect width="12" height="4" y="2" fill="#fff" />
<rect width="12" height="2" y="4" fill="#000" />
<rect width="3" height="6" fill="#c8102e" id="red" />
</svg>

Before

Width:  |  Height:  |  Size: 266 B

After

Width:  |  Height:  |  Size: 319 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 139 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1200 600">
<rect width="1200" height="600" fill="#c00" />
<rect y="225" width="1200" height="150" fill="#293399" />
</svg>

After

Width:  |  Height:  |  Size: 209 B

View File

@@ -1,5 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-am" viewBox="0 0 640 480">
<path fill="#d90012" d="M0 0h640v160H0z"/>
<path fill="#0033a0" d="M0 160h640v160H0z"/>
<path fill="#f2a800" d="M0 320h640v160H0z"/>
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1200 600">
<path fill="#F2A800" d="M0 0h1200v600H0z" />
<path fill="#0033A0" d="M0 0h1200v400H0z" />
<path fill="#D90012" d="M0 0h1200v200H0z" />
</svg>

Before

Width:  |  Height:  |  Size: 228 B

After

Width:  |  Height:  |  Size: 245 B