diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2023-12-22 00:01:57 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2023-12-22 00:01:57 -0500 |
| commit | 1c3a0454b0fc24268455796ba089804416dc6815 (patch) | |
| tree | 7af285487a811d9c213913a1bfc7ec3835ba8ff9 /app | |
| parent | b960da50af564bfcb96e6897503431512d410398 (diff) | |
| download | alure-website-1c3a0454b0fc24268455796ba089804416dc6815.tar.gz alure-website-1c3a0454b0fc24268455796ba089804416dc6815.tar.bz2 alure-website-1c3a0454b0fc24268455796ba089804416dc6815.zip | |
Travel advisory update
Diffstat (limited to 'app')
| -rw-r--r-- | app/not-found.js | 2 | ||||
| -rw-r--r-- | app/travel-advisory/HistoryModal.js | 2 | ||||
| -rw-r--r-- | app/travel-advisory/ListCountries.js | 2 | ||||
| -rw-r--r-- | 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 ( <main className="flex flex-col text-center"> 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 = <li>Currently no diplomatic/medical issues in this country.</li>; + historyList = <li>Currently no diplomatic/medical issues in {countries}.</li>; } 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 ( - <div key="countries" id={'#' + country.url} className="bg-center bg-no-repeat bg-[image:var(--image-url)] bg-gray-500 bg-blend-multiply" style={{'--image-url': `url(${country.image})`}} > + <div key={country.name} id={country.url} className="bg-center bg-no-repeat bg-[image:var(--image-url)] bg-gray-500 bg-blend-multiply" style={{'--image-url': `url(${country.image})`}} > <div className="sm:px-40 px-10 py-10 space-y-3"> <h1 className="font-medium md:text-5xl text-3xl">{country.name}</h1> <h2 className="text-lg">{dangerLevel}</h2> 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." ] }, { |
