From 12ff51efc1119035b8cf17cf458a0dc5c1354423 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 23 Jan 2025 00:11:06 -0500 Subject: Travel advisory and visa update --- app/countries.json | 22 ++++++++++++++++++++++ app/travel-advisory/ListCountries.js | 1 - app/visas/ListCountries.js | 1 - public/countries/bohemia.webp | Bin 0 -> 413800 bytes public/countries/sorena.webp | Bin 0 -> 248508 bytes 5 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 public/countries/bohemia.webp create mode 100644 public/countries/sorena.webp diff --git a/app/countries.json b/app/countries.json index 5096d61..e66df12 100644 --- a/app/countries.json +++ b/app/countries.json @@ -44,6 +44,17 @@ "settlements": [], "history": [] }, + { + "name": "The Republic of Bohemia", + "short": "BHM", + "url": "bohemia", + "visa": true, + "visaInfo": [], + "image": "/countries/bohemia.webp", + "danger": 0, + "settlements": [], + "history": [] + }, { "name": "Country Warp", "short": "COW", @@ -255,6 +266,17 @@ "settlements": [], "history": [] }, + { + "name": "The Republic of Sorena", + "short": "SRN", + "url": "republic-of-sorena", + "visa": true, + "visaInfo": [], + "image": "/countries/sorena.webp", + "danger": 0, + "settlements": [], + "history": [] + }, { "name": "Sulópolis", "short": "SLP", diff --git a/app/travel-advisory/ListCountries.js b/app/travel-advisory/ListCountries.js index 865d657..7e59216 100644 --- a/app/travel-advisory/ListCountries.js +++ b/app/travel-advisory/ListCountries.js @@ -31,7 +31,6 @@ export function getDangerLevel(danger, override) { } export function Countries(){ - // eslint-disable-next-line react-hooks/rules-of-hooks const [showModal, setShowModal] = useState(false); const [selectedCountry, setSelectedCountry] = useState(null); const [selectedDangerLevel, setSelectedDangerLevel] = useState(null); diff --git a/app/visas/ListCountries.js b/app/visas/ListCountries.js index 6ca1863..1e926cf 100644 --- a/app/visas/ListCountries.js +++ b/app/visas/ListCountries.js @@ -22,7 +22,6 @@ export function getDangerLevel(danger, override) { } export function Countries(){ - // eslint-disable-next-line react-hooks/rules-of-hooks const [showModal, setShowModal] = useState(false); const [selectedCountry, setSelectedCountry] = useState(null); const [selectedDangerLevel, setSelectedDangerLevel] = useState(null); diff --git a/public/countries/bohemia.webp b/public/countries/bohemia.webp new file mode 100644 index 0000000..1bc1c73 Binary files /dev/null and b/public/countries/bohemia.webp differ diff --git a/public/countries/sorena.webp b/public/countries/sorena.webp new file mode 100644 index 0000000..071f550 Binary files /dev/null and b/public/countries/sorena.webp differ -- cgit v1.2.3