Update project files

This commit is contained in:
2026-07-13 16:10:01 -04:00
parent a6e66e6a89
commit e160a0901c
29 changed files with 3583 additions and 2898 deletions
+26
View File
@@ -0,0 +1,26 @@
import { CountryCode, CountryConfig } from '../types';
export const COUNTRIES: CountryConfig[] = [
{
code: 'GT',
name: 'Guatemala',
flag: import.meta.env.BASE_URL + 'gt-flag.png',
currency: 'GTQ',
locale: 'es-GT',
enabled: true,
},
{
code: 'TT',
name: 'Trinidad y Tobago',
flag: import.meta.env.BASE_URL + 'tt-flag.png',
currency: 'TTD',
locale: 'en-TT',
enabled: false,
},
];
export const DEFAULT_COUNTRY_CODE: CountryCode = 'GT';
export function getCountryConfig(code: CountryCode): CountryConfig {
return COUNTRIES.find((country) => country.code === code) ?? COUNTRIES[0];
}