mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
Feature: Implement Mobile Responsiveness (#2092)
* WIP * WIP * WIP * WIP * WIP * WIP * WIP * format * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * fix conflict * fix conflict * chore: run rubocop * fix test * update PWA logo * fix tests * chore: lint * fix test * Refactor: Remove duplicate data attribute in activity partial and add chat form rendering in chats index --------- Co-authored-by: Josh Pigford <josh@joshpigford.com>
This commit is contained in:
parent
6a21f26d2d
commit
65e1bc6edd
91 changed files with 1333 additions and 527 deletions
|
@ -154,200 +154,200 @@ module LanguagesHelper
|
|||
].freeze
|
||||
|
||||
COUNTRY_MAPPING = {
|
||||
AF: "Afghanistan",
|
||||
AL: "Albania",
|
||||
DZ: "Algeria",
|
||||
AD: "Andorra",
|
||||
AO: "Angola",
|
||||
AG: "Antigua and Barbuda",
|
||||
AR: "Argentina",
|
||||
AM: "Armenia",
|
||||
AU: "Australia",
|
||||
AT: "Austria",
|
||||
AZ: "Azerbaijan",
|
||||
BS: "Bahamas",
|
||||
BH: "Bahrain",
|
||||
BD: "Bangladesh",
|
||||
BB: "Barbados",
|
||||
BY: "Belarus",
|
||||
BE: "Belgium",
|
||||
BZ: "Belize",
|
||||
BJ: "Benin",
|
||||
BT: "Bhutan",
|
||||
BO: "Bolivia",
|
||||
BA: "Bosnia and Herzegovina",
|
||||
BW: "Botswana",
|
||||
BR: "Brazil",
|
||||
BN: "Brunei",
|
||||
BG: "Bulgaria",
|
||||
BF: "Burkina Faso",
|
||||
BI: "Burundi",
|
||||
KH: "Cambodia",
|
||||
CM: "Cameroon",
|
||||
CA: "Canada",
|
||||
CV: "Cape Verde",
|
||||
CF: "Central African Republic",
|
||||
TD: "Chad",
|
||||
CL: "Chile",
|
||||
CN: "China",
|
||||
CO: "Colombia",
|
||||
KM: "Comoros",
|
||||
CG: "Congo",
|
||||
CD: "Congo, Democratic Republic of the",
|
||||
CR: "Costa Rica",
|
||||
CI: "Côte d'Ivoire",
|
||||
HR: "Croatia",
|
||||
CU: "Cuba",
|
||||
CY: "Cyprus",
|
||||
CZ: "Czech Republic",
|
||||
DK: "Denmark",
|
||||
DJ: "Djibouti",
|
||||
DM: "Dominica",
|
||||
DO: "Dominican Republic",
|
||||
EC: "Ecuador",
|
||||
EG: "Egypt",
|
||||
SV: "El Salvador",
|
||||
GQ: "Equatorial Guinea",
|
||||
ER: "Eritrea",
|
||||
EE: "Estonia",
|
||||
ET: "Ethiopia",
|
||||
FJ: "Fiji",
|
||||
FI: "Finland",
|
||||
FR: "France",
|
||||
GA: "Gabon",
|
||||
GM: "Gambia",
|
||||
GE: "Georgia",
|
||||
DE: "Germany",
|
||||
GH: "Ghana",
|
||||
GR: "Greece",
|
||||
GD: "Grenada",
|
||||
GT: "Guatemala",
|
||||
GN: "Guinea",
|
||||
GW: "Guinea-Bissau",
|
||||
GY: "Guyana",
|
||||
HT: "Haiti",
|
||||
HN: "Honduras",
|
||||
HU: "Hungary",
|
||||
IS: "Iceland",
|
||||
IN: "India",
|
||||
ID: "Indonesia",
|
||||
IR: "Iran",
|
||||
IQ: "Iraq",
|
||||
IE: "Ireland",
|
||||
IL: "Israel",
|
||||
IT: "Italy",
|
||||
JM: "Jamaica",
|
||||
JP: "Japan",
|
||||
JO: "Jordan",
|
||||
KZ: "Kazakhstan",
|
||||
KE: "Kenya",
|
||||
KI: "Kiribati",
|
||||
KP: "North Korea",
|
||||
KR: "South Korea",
|
||||
KW: "Kuwait",
|
||||
KG: "Kyrgyzstan",
|
||||
LA: "Laos",
|
||||
LV: "Latvia",
|
||||
LB: "Lebanon",
|
||||
LS: "Lesotho",
|
||||
LR: "Liberia",
|
||||
LY: "Libya",
|
||||
LI: "Liechtenstein",
|
||||
LT: "Lithuania",
|
||||
LU: "Luxembourg",
|
||||
MK: "North Macedonia",
|
||||
MG: "Madagascar",
|
||||
MW: "Malawi",
|
||||
MY: "Malaysia",
|
||||
MV: "Maldives",
|
||||
ML: "Mali",
|
||||
MT: "Malta",
|
||||
MH: "Marshall Islands",
|
||||
MR: "Mauritania",
|
||||
MU: "Mauritius",
|
||||
MX: "Mexico",
|
||||
FM: "Micronesia",
|
||||
MD: "Moldova",
|
||||
MC: "Monaco",
|
||||
MN: "Mongolia",
|
||||
ME: "Montenegro",
|
||||
MA: "Morocco",
|
||||
MZ: "Mozambique",
|
||||
MM: "Myanmar",
|
||||
NA: "Namibia",
|
||||
NR: "Nauru",
|
||||
NP: "Nepal",
|
||||
NL: "Netherlands",
|
||||
NZ: "New Zealand",
|
||||
NI: "Nicaragua",
|
||||
NE: "Niger",
|
||||
NG: "Nigeria",
|
||||
NO: "Norway",
|
||||
OM: "Oman",
|
||||
PK: "Pakistan",
|
||||
PW: "Palau",
|
||||
PA: "Panama",
|
||||
PG: "Papua New Guinea",
|
||||
PY: "Paraguay",
|
||||
PE: "Peru",
|
||||
PH: "Philippines",
|
||||
PL: "Poland",
|
||||
PT: "Portugal",
|
||||
QA: "Qatar",
|
||||
RO: "Romania",
|
||||
RU: "Russia",
|
||||
RW: "Rwanda",
|
||||
KN: "Saint Kitts and Nevis",
|
||||
LC: "Saint Lucia",
|
||||
VC: "Saint Vincent and the Grenadines",
|
||||
WS: "Samoa",
|
||||
SM: "San Marino",
|
||||
ST: "Sao Tome and Principe",
|
||||
SA: "Saudi Arabia",
|
||||
SN: "Senegal",
|
||||
RS: "Serbia",
|
||||
SC: "Seychelles",
|
||||
SL: "Sierra Leone",
|
||||
SG: "Singapore",
|
||||
SK: "Slovakia",
|
||||
SI: "Slovenia",
|
||||
SB: "Solomon Islands",
|
||||
SO: "Somalia",
|
||||
ZA: "South Africa",
|
||||
SS: "South Sudan",
|
||||
ES: "Spain",
|
||||
LK: "Sri Lanka",
|
||||
SD: "Sudan",
|
||||
SR: "Suriname",
|
||||
SE: "Sweden",
|
||||
CH: "Switzerland",
|
||||
SY: "Syria",
|
||||
TW: "Taiwan",
|
||||
TJ: "Tajikistan",
|
||||
TZ: "Tanzania",
|
||||
TH: "Thailand",
|
||||
TL: "Timor-Leste",
|
||||
TG: "Togo",
|
||||
TO: "Tonga",
|
||||
TT: "Trinidad and Tobago",
|
||||
TN: "Tunisia",
|
||||
TR: "Turkey",
|
||||
TM: "Turkmenistan",
|
||||
TV: "Tuvalu",
|
||||
UG: "Uganda",
|
||||
UA: "Ukraine",
|
||||
AE: "United Arab Emirates",
|
||||
GB: "United Kingdom",
|
||||
US: "United States",
|
||||
UY: "Uruguay",
|
||||
UZ: "Uzbekistan",
|
||||
VU: "Vanuatu",
|
||||
VA: "Vatican City",
|
||||
VE: "Venezuela",
|
||||
VN: "Vietnam",
|
||||
YE: "Yemen",
|
||||
ZM: "Zambia",
|
||||
ZW: "Zimbabwe"
|
||||
AF: "🇦🇫 Afghanistan",
|
||||
AL: "🇦🇱 Albania",
|
||||
DZ: "🇩🇿 Algeria",
|
||||
AD: "🇦🇩 Andorra",
|
||||
AO: "🇦🇴 Angola",
|
||||
AG: "🇦🇬 Antigua and Barbuda",
|
||||
AR: "🇦🇷 Argentina",
|
||||
AM: "🇦🇲 Armenia",
|
||||
AU: "🇦🇺 Australia",
|
||||
AT: "🇦🇹 Austria",
|
||||
AZ: "🇦🇿 Azerbaijan",
|
||||
BS: "🇧🇸 Bahamas",
|
||||
BH: "🇧🇭 Bahrain",
|
||||
BD: "🇧🇩 Bangladesh",
|
||||
BB: "🇧🇧 Barbados",
|
||||
BY: "🇧🇾 Belarus",
|
||||
BE: "🇧🇪 Belgium",
|
||||
BZ: "🇧🇿 Belize",
|
||||
BJ: "🇧🇯 Benin",
|
||||
BT: "🇧🇹 Bhutan",
|
||||
BO: "🇧🇴 Bolivia",
|
||||
BA: "🇧🇦 Bosnia and Herzegovina",
|
||||
BW: "🇧🇼 Botswana",
|
||||
BR: "🇧🇷 Brazil",
|
||||
BN: "🇧🇳 Brunei",
|
||||
BG: "🇧🇬 Bulgaria",
|
||||
BF: "🇧🇫 Burkina Faso",
|
||||
BI: "🇧🇮 Burundi",
|
||||
KH: "🇰🇭 Cambodia",
|
||||
CM: "🇨🇲 Cameroon",
|
||||
CA: "🇨🇦 Canada",
|
||||
CV: "🇨🇻 Cape Verde",
|
||||
CF: "🇨🇫 Central African Republic",
|
||||
TD: "🇹🇩 Chad",
|
||||
CL: "🇨🇱 Chile",
|
||||
CN: "🇨🇳 China",
|
||||
CO: "🇨🇴 Colombia",
|
||||
KM: "🇰🇲 Comoros",
|
||||
CG: "🇨🇬 Congo",
|
||||
CD: "🇨🇩 Congo, Democratic Republic of the",
|
||||
CR: "🇨🇷 Costa Rica",
|
||||
CI: "🇨🇮 Côte d'Ivoire",
|
||||
HR: "🇭🇷 Croatia",
|
||||
CU: "🇨🇺 Cuba",
|
||||
CY: "🇨🇾 Cyprus",
|
||||
CZ: "🇨🇿 Czech Republic",
|
||||
DK: "🇩🇰 Denmark",
|
||||
DJ: "🇩🇯 Djibouti",
|
||||
DM: "🇩🇲 Dominica",
|
||||
DO: "🇩🇴 Dominican Republic",
|
||||
EC: "🇪🇨 Ecuador",
|
||||
EG: "🇪🇬 Egypt",
|
||||
SV: "🇸🇻 El Salvador",
|
||||
GQ: "🇬🇶 Equatorial Guinea",
|
||||
ER: "🇪🇷 Eritrea",
|
||||
EE: "🇪🇪 Estonia",
|
||||
ET: "🇪🇹 Ethiopia",
|
||||
FJ: "🇫🇯 Fiji",
|
||||
FI: "🇫🇮 Finland",
|
||||
FR: "🇫🇷 France",
|
||||
GA: "🇬🇦 Gabon",
|
||||
GM: "🇬🇲 Gambia",
|
||||
GE: "🇬🇪 Georgia",
|
||||
DE: "🇩🇪 Germany",
|
||||
GH: "🇬🇭 Ghana",
|
||||
GR: "🇬🇷 Greece",
|
||||
GD: "🇬🇩 Grenada",
|
||||
GT: "🇬🇹 Guatemala",
|
||||
GN: "🇬🇳 Guinea",
|
||||
GW: "🇬🇼 Guinea-Bissau",
|
||||
GY: "🇬🇾 Guyana",
|
||||
HT: "🇭🇹 Haiti",
|
||||
HN: "🇭🇳 Honduras",
|
||||
HU: "🇭🇺 Hungary",
|
||||
IS: "🇮🇸 Iceland",
|
||||
IN: "🇮🇳 India",
|
||||
ID: "🇮🇩 Indonesia",
|
||||
IR: "🇮🇷 Iran",
|
||||
IQ: "🇮🇶 Iraq",
|
||||
IE: "🇮🇪 Ireland",
|
||||
IL: "🇮🇱 Israel",
|
||||
IT: "🇮🇹 Italy",
|
||||
JM: "🇯🇲 Jamaica",
|
||||
JP: "🇯🇵 Japan",
|
||||
JO: "🇯🇴 Jordan",
|
||||
KZ: "🇰🇿 Kazakhstan",
|
||||
KE: "🇰🇪 Kenya",
|
||||
KI: "🇰🇮 Kiribati",
|
||||
KP: "🇰🇵 North Korea",
|
||||
KR: "🇰🇷 South Korea",
|
||||
KW: "🇰🇼 Kuwait",
|
||||
KG: "🇰🇬 Kyrgyzstan",
|
||||
LA: "🇱🇦 Laos",
|
||||
LV: "🇱🇻 Latvia",
|
||||
LB: "🇱🇧 Lebanon",
|
||||
LS: "🇱🇸 Lesotho",
|
||||
LR: "🇱🇷 Liberia",
|
||||
LY: "🇱🇾 Libya",
|
||||
LI: "🇱🇮 Liechtenstein",
|
||||
LT: "🇱🇹 Lithuania",
|
||||
LU: "🇱🇺 Luxembourg",
|
||||
MK: "🇲🇰 North Macedonia",
|
||||
MG: "🇲🇬 Madagascar",
|
||||
MW: "🇲🇼 Malawi",
|
||||
MY: "🇲🇾 Malaysia",
|
||||
MV: "🇲🇻 Maldives",
|
||||
ML: "🇲🇱 Mali",
|
||||
MT: "🇲🇹 Malta",
|
||||
MH: "🇲🇭 Marshall Islands",
|
||||
MR: "🇲🇷 Mauritania",
|
||||
MU: "🇲🇺 Mauritius",
|
||||
MX: "🇲🇽 Mexico",
|
||||
FM: "🇫🇲 Micronesia",
|
||||
MD: "🇲🇩 Moldova",
|
||||
MC: "🇲🇨 Monaco",
|
||||
MN: "🇲🇳 Mongolia",
|
||||
ME: "🇲🇪 Montenegro",
|
||||
MA: "🇲🇦 Morocco",
|
||||
MZ: "🇲🇿 Mozambique",
|
||||
MM: "🇲🇲 Myanmar",
|
||||
NA: "🇳🇦 Namibia",
|
||||
NR: "🇳🇷 Nauru",
|
||||
NP: "🇳🇵 Nepal",
|
||||
NL: "🇳🇱 Netherlands",
|
||||
NZ: "🇳🇿 New Zealand",
|
||||
NI: "🇳🇮 Nicaragua",
|
||||
NE: "🇳🇪 Niger",
|
||||
NG: "🇳🇬 Nigeria",
|
||||
NO: "🇳🇴 Norway",
|
||||
OM: "🇴🇲 Oman",
|
||||
PK: "🇵🇰 Pakistan",
|
||||
PW: "🇵🇼 Palau",
|
||||
PA: "🇵🇦 Panama",
|
||||
PG: "🇵🇬 Papua New Guinea",
|
||||
PY: "🇵🇾 Paraguay",
|
||||
PE: "🇵🇪 Peru",
|
||||
PH: "🇵🇭 Philippines",
|
||||
PL: "🇵🇱 Poland",
|
||||
PT: "🇵🇹 Portugal",
|
||||
QA: "🇶🇦 Qatar",
|
||||
RO: "🇷🇴 Romania",
|
||||
RU: "🇷🇺 Russia",
|
||||
RW: "🇷🇼 Rwanda",
|
||||
KN: "🇰🇳 Saint Kitts and Nevis",
|
||||
LC: "🇱🇨 Saint Lucia",
|
||||
VC: "🇻🇨 Saint Vincent and the Grenadines",
|
||||
WS: "🇼🇸 Samoa",
|
||||
SM: "🇸🇲 San Marino",
|
||||
ST: "🇸🇹 Sao Tome and Principe",
|
||||
SA: "🇸🇦 Saudi Arabia",
|
||||
SN: "🇸🇳 Senegal",
|
||||
RS: "🇷🇸 Serbia",
|
||||
SC: "🇸🇨 Seychelles",
|
||||
SL: "🇸🇱 Sierra Leone",
|
||||
SG: "🇸🇬 Singapore",
|
||||
SK: "🇸🇰 Slovakia",
|
||||
SI: "🇸🇮 Slovenia",
|
||||
SB: "🇸🇧 Solomon Islands",
|
||||
SO: "🇸🇴 Somalia",
|
||||
ZA: "🇿🇦 South Africa",
|
||||
SS: "🇸🇸 South Sudan",
|
||||
ES: "🇪🇸 Spain",
|
||||
LK: "🇱🇰 Sri Lanka",
|
||||
SD: "🇸🇩 Sudan",
|
||||
SR: "🇸🇷 Suriname",
|
||||
SE: "🇸🇪 Sweden",
|
||||
CH: "🇨🇭 Switzerland",
|
||||
SY: "🇸🇾 Syria",
|
||||
TW: "🇹🇼 Taiwan",
|
||||
TJ: "🇹🇯 Tajikistan",
|
||||
TZ: "🇹🇿 Tanzania",
|
||||
TH: "🇹🇭 Thailand",
|
||||
TL: "🇹🇱 Timor-Leste",
|
||||
TG: "🇹🇬 Togo",
|
||||
TO: "🇹🇴 Tonga",
|
||||
TT: "🇹🇹 Trinidad and Tobago",
|
||||
TN: "🇹🇳 Tunisia",
|
||||
TR: "🇹🇷 Turkey",
|
||||
TM: "🇹🇲 Turkmenistan",
|
||||
TV: "🇹🇻 Tuvalu",
|
||||
UG: "🇺🇬 Uganda",
|
||||
UA: "🇺🇦 Ukraine",
|
||||
AE: "🇦🇪 United Arab Emirates",
|
||||
GB: "🇬🇧 United Kingdom",
|
||||
US: "🇺🇸 United States",
|
||||
UY: "🇺🇾 Uruguay",
|
||||
UZ: "🇺🇿 Uzbekistan",
|
||||
VU: "🇻🇺 Vanuatu",
|
||||
VA: "🇻🇦 Vatican City",
|
||||
VE: "🇻🇪 Venezuela",
|
||||
VN: "🇻🇳 Vietnam",
|
||||
YE: "🇾🇪 Yemen",
|
||||
ZM: "🇿🇲 Zambia",
|
||||
ZW: "🇿🇼 Zimbabwe"
|
||||
}.freeze
|
||||
|
||||
def country_options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue