mirror of
https://github.com/vercel/commerce.git
synced 2025-03-14 14:42:31 +00:00
Flags
This commit is contained in:
parent
989e4de5e5
commit
eac2d17946
@ -51,7 +51,7 @@ const CartSidebarView: FC = () => {
|
||||
</button>
|
||||
</div>
|
||||
<div className="space-y-1">
|
||||
<UserNav />
|
||||
<UserNav className="" />
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
@ -18,8 +18,8 @@ const LOCALES_MAP: Record<string, LOCALE_DATA> = {
|
||||
es: {
|
||||
name: 'Español',
|
||||
img: {
|
||||
filename: 'flag-es.svg',
|
||||
alt: 'Bandera española',
|
||||
filename: 'flag-es-co.svg',
|
||||
alt: 'Bandera Colombiana',
|
||||
},
|
||||
},
|
||||
'en-US': {
|
||||
|
20
public/flag-es-ar.svg
Normal file
20
public/flag-es-ar.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 14 KiB |
10
public/flag-es-co.svg
Normal file
10
public/flag-es-co.svg
Normal file
@ -0,0 +1,10 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M21.5144 6C19.5212 2.84625 16.0064 0.75 11.9999 0.75C7.99335 0.75 4.47848 2.84625 2.48535 6H2.4855C1.38787 7.737 0.75 9.79313 0.75 12C0.75 14.2069 1.38787 16.263 2.4855 18H2.48535C4.47848 21.1537 7.99335 23.25 11.9999 23.25C16.0064 23.25 19.5212 21.1537 21.5144 18H21.5145C22.6121 16.263 23.25 14.2069 23.25 12C23.25 9.79313 22.6121 7.737 21.5145 6H21.5144Z" fill="#B4D7EE"/>
|
||||
</mask>
|
||||
<g mask="url(#mask0)">
|
||||
<rect x="-2" y="-1" width="27" height="14" fill="#FCD116"/>
|
||||
<rect x="-2" y="13" width="27" height="6" fill="#003893"/>
|
||||
<rect x="-2" y="19" width="27" height="6" fill="#CE1126"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 840 B |
Loading…
x
Reference in New Issue
Block a user