Skip to content

Commit

Permalink
Add additional country codes to the Login component
Browse files Browse the repository at this point in the history
  • Loading branch information
soummyaanon committed Oct 30, 2024
1 parent 7ce4c4a commit c088ce8
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions src/Components/Auth/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,50 @@ const countryCodes = [
{ code: '+44', name: 'UK' },
{ code: '+61', name: 'Australia' },
{ code: '+81', name: 'Japan' },
{ code: '+49', name: 'Germany' },
{ code: '+33', name: 'France' },
{ code: '+82', name: 'South Korea' },
{ code: '+86', name: 'China' },
{ code: '+92', name: 'Pakistan' },
{ code: '+7', name: 'Russia' },
{ code: '+55', name: 'Brazil' },
{ code: '+972', name: 'Israel' },
{ code: '+30', name: 'Greece' },
{ code: '+93', name: 'Afghanistan' },
{ code: '+355', name: 'Albania' },
{ code: '+213', name: 'Algeria' },
{ code: '+376', name: 'Andorra' },
{ code: '+244', name: 'Angola' },
{ code: '+1264', name: 'Anguilla' },
{ code: '+1268', name: 'Antigua and Barbuda' },
{ code: '+54', name: 'Argentina' },
{ code: '+374', name: 'Armenia' },
{ code: '+297', name: 'Aruba' },
{ code: '+43', name: 'Austria' },
{ code: '+994', name: 'Azerbaijan' },
{ code: '+1242', name: 'Bahamas' },
{ code: '+973', name: 'Bahrain' },
{ code: '+880', name: 'Bangladesh' },
{ code: '+1246', name: 'Barbados' },
{ code: '+375', name: 'Belarus' },
{ code: '+32', name: 'Belgium' },
{ code: '+501', name: 'Belize' },
{ code: '+229', name: 'Benin' },
{ code: '+975', name: 'Bhutan' },
{ code: '+591', name: 'Bolivia' },
{ code: '+387', name: 'Bosnia and Herzegovina' },
{ code: '+267', name: 'Botswana' },
{ code: '+246', name: 'British Virgin Islands' },
{ code: '+673', name: 'Brunei' },
{ code: '+359', name: 'Bulgaria' },
{ code: '+226', name: 'Burkina Faso' },
{ code: '+257', name: 'Burundi' },
{ code: '+855', name: 'Cambodia' },
{ code: '+237', name: 'Cameroon' },
{ code: '+238', name: 'Cape Verde' },
{ code: '+236', name: 'Central African Republic' },
{ code: '+235', name: 'Chad' },
{ code: '+56', name: 'Chile' },
];

export default function AnimatedLogin({ setUser }) {
Expand Down

1 comment on commit c088ce8

@vercel
Copy link

@vercel vercel bot commented on c088ce8 Oct 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.