diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Navbar.jsx | 2 | ||||
| -rw-r--r-- | src/components/travel-advisory/ListCountries.jsx | 1 | ||||
| -rw-r--r-- | src/components/travel-advisory/countries.json | 30 |
3 files changed, 16 insertions, 17 deletions
diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index 63b2010..a3d6560 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -24,7 +24,7 @@ export default function Navbar(){ ['Home', '/'], ['Updates', '/updates'], ['Services', '/services'], - ['Travel Advisory', '/travel-advisory'], + ['Travel Advisory', '/travel-advisory'] ].map(([title, url]) => ( <li> <a href={url} className="transition duration-150 ease-out hover:ease-in block py-2 pl-3 pr-4 rounded md:border-0 md:p-0 text-white md:hover:text-blue-500 hover:bg-gray-700 hover:text-white md:hover:bg-transparent" onClick={() => setNavbar(!navbar)}> diff --git a/src/components/travel-advisory/ListCountries.jsx b/src/components/travel-advisory/ListCountries.jsx index 57817af..867482b 100644 --- a/src/components/travel-advisory/ListCountries.jsx +++ b/src/components/travel-advisory/ListCountries.jsx @@ -26,7 +26,6 @@ export function getDangerLevel(danger) { } 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/src/components/travel-advisory/countries.json b/src/components/travel-advisory/countries.json index f50474c..757f5ca 100644 --- a/src/components/travel-advisory/countries.json +++ b/src/components/travel-advisory/countries.json @@ -67,12 +67,10 @@ { "name": "Fegal", "url": "fegal", - "danger": 3, + "danger": 0, "image": "/countries/fegal.webp", "settlements": [], - "history": [ - "May 17th, 2023: Fegal has border security issues and it has not been solved as of now." - ] + "history": [] }, { "name": "Halcandra", @@ -147,6 +145,14 @@ "history": [] }, { + "name": "Ownage", + "url": "ownage", + "danger": 0, + "image": "/countries/youonkazoo.webp", + "settlements": [], + "history": [] + }, + { "name": "PLC", "url": "plc", "danger": 0, @@ -165,10 +171,12 @@ { "name": "The Federal Democracy of Solstice", "url": "solstice", - "danger": 0, + "danger": 3, "image": "/countries/solstice.webp", "settlements": [], - "history": [] + "history": [ + "September 9th, 2023: There has been a vote on Solstice to \"recognize\" KR as a prison." + ] }, { "name": "Southeastern Islands", @@ -234,20 +242,12 @@ "history": [] }, { - "name": "The Federation of Yavno", + "name": "Yavno Republic", "url": "yavno", "danger": 0, "image": "/countries/yavno.webp", "settlements": [], "history": [] - }, - { - "name": "The Republic of You on Kazoo", - "url": "you-on-kazoo", - "danger": 0, - "image": "/countries/youonkazoo.webp", - "settlements": [], - "history": [] } ] } |
