Travel advisory update

This commit is contained in:
Andrew Lee 2023-12-22 00:01:57 -05:00
parent b960da50af
commit 1c3a0454b0
Signed by: andrew
GPG key ID: 4DCE67C47836D125
4 changed files with 9 additions and 7 deletions

View file

@ -1,5 +1,3 @@
import Link from "next/link";
export default function NotFound() { export default function NotFound() {
return ( return (
<main className="flex flex-col text-center"> <main className="flex flex-col text-center">

View file

@ -12,7 +12,7 @@ const HistoryModal = ({ isVisible, onClose, countries, dangerLevel, history }) =
) )
}) })
} else { } else {
historyList = <li>Currently no diplomatic/medical issues in this country.</li>; historyList = <li>Currently no diplomatic/medical issues in {countries}.</li>;
} }
return ( return (

View file

@ -51,7 +51,7 @@ export function Countries(){
}) })
return ( 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"> <div className="sm:px-40 px-10 py-10 space-y-3">
<h1 className="font-medium md:text-5xl text-3xl">{country.name}</h1> <h1 className="font-medium md:text-5xl text-3xl">{country.name}</h1>
<h2 className="text-lg">{dangerLevel}</h2> <h2 className="text-lg">{dangerLevel}</h2>

View file

@ -188,10 +188,14 @@
"url": "solstice", "url": "solstice",
"danger": 1, "danger": 1,
"image": "/countries/solstice.webp", "image": "/countries/solstice.webp",
"settlements": [], "settlements": [
{
"name": "Othoroot",
"danger": 3
}
],
"history": [ "history": [
"December 10th, 2023: Potential risk for Kemonomimis as the government is planning on passing a law that would risk their lives.", "December 22nd 2023: Violent protests at Othoroot."
"- Corruption within the government is rising."
] ]
}, },
{ {