From 1c3a0454b0fc24268455796ba089804416dc6815 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 22 Dec 2023 00:01:57 -0500 Subject: Travel advisory update --- app/not-found.js | 2 -- app/travel-advisory/HistoryModal.js | 2 +- app/travel-advisory/ListCountries.js | 2 +- app/travel-advisory/countries.json | 10 +++++++--- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/app/not-found.js b/app/not-found.js index 9a39bf8..90d61bd 100644 --- a/app/not-found.js +++ b/app/not-found.js @@ -1,5 +1,3 @@ -import Link from "next/link"; - export default function NotFound() { return (
diff --git a/app/travel-advisory/HistoryModal.js b/app/travel-advisory/HistoryModal.js index 6449a6a..86273db 100644 --- a/app/travel-advisory/HistoryModal.js +++ b/app/travel-advisory/HistoryModal.js @@ -12,7 +12,7 @@ const HistoryModal = ({ isVisible, onClose, countries, dangerLevel, history }) = ) }) } else { - historyList =
  • Currently no diplomatic/medical issues in this country.
  • ; + historyList =
  • Currently no diplomatic/medical issues in {countries}.
  • ; } return ( diff --git a/app/travel-advisory/ListCountries.js b/app/travel-advisory/ListCountries.js index 35d7032..8229e8c 100644 --- a/app/travel-advisory/ListCountries.js +++ b/app/travel-advisory/ListCountries.js @@ -51,7 +51,7 @@ export function Countries(){ }) return ( -
    +

    {country.name}

    {dangerLevel}

    diff --git a/app/travel-advisory/countries.json b/app/travel-advisory/countries.json index d91e5f5..102e6b0 100644 --- a/app/travel-advisory/countries.json +++ b/app/travel-advisory/countries.json @@ -188,10 +188,14 @@ "url": "solstice", "danger": 1, "image": "/countries/solstice.webp", - "settlements": [], + "settlements": [ + { + "name": "Othoroot", + "danger": 3 + } + ], "history": [ - "December 10th, 2023: Potential risk for Kemonomimis as the government is planning on passing a law that would risk their lives.", - "- Corruption within the government is rising." + "December 22nd 2023: Violent protests at Othoroot." ] }, { -- cgit v1.2.3