aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/page.js4
-rw-r--r--app/travel-advisory/countries.json146
-rw-r--r--app/travel-advisory/page.js20
3 files changed, 166 insertions, 4 deletions
diff --git a/app/page.js b/app/page.js
index 188c214..1ff6dab 100644
--- a/app/page.js
+++ b/app/page.js
@@ -7,8 +7,8 @@ export default function Home() {
<main className="flex flex-col">
<div className="bg-center bg-no-repeat bg-[url('/jumbotron.webp')] bg-gray-500 bg-blend-multiply">
<div className="px-4 mx-auto max-w-screen-xl text-center py-24 lg:py-56 space-y-3">
- <h1 className="font-medium sm:text-5xl text-2xl">Welcome to the Alure Regions</h1>
- <h2 className="font-light sm:text-3xl text-lg">The official website of the Government of Alure Regions</h2>
+ <h1 className="font-medium md:text-5xl text-2xl">Welcome to the Alure Regions</h1>
+ <h2 className="font-light md:text-3xl text-lg">The official website of the Government of Alure Regions</h2>
</div>
</div>
<ul>
diff --git a/app/travel-advisory/countries.json b/app/travel-advisory/countries.json
new file mode 100644
index 0000000..3fb16d8
--- /dev/null
+++ b/app/travel-advisory/countries.json
@@ -0,0 +1,146 @@
+{
+ "countries": [
+ {
+ "name": "Anatoli",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Auckland",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Aura Regions, The",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Birch Boat Town",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Birch Lodges Community Town",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Country Warp",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Eagle City",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Fegal",
+ "status": 3,
+ "history": [
+ "May 17th 2023: Fegal has border security issues and it has not been solved as of now."
+ ]
+ },
+ {
+ "name": "Halcandra",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Inkytown",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Kemonomimi Republic, The",
+ "status": 1,
+ "history": [
+ "July 15: KR has internal power issues between the President and Govenor. Governor was trying to form a new government under \"KSSR\"."
+ ]
+ },
+ {
+ "name": "Knowle Regions, The",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Lion Land",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Mart's Extraordinarily Sublime State",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Mojave",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Open Republic, The",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "PLC",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Plutonia Imperium",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Solstice, The Federal Democracy of",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Southeastern Islands, The",
+ "status": 2,
+ "history": [
+ "July 15: A disease has been going around Foret Quebec",
+ "Foret Quebec has been dealing with environmental issues"
+ ]
+ },
+ {
+ "name": "Sulópolis",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "TAY",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Union of Soviet Sovereign Republics",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Veronian Controlled Territories",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Whale City, The Republic of",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "Yavno, The Federation of",
+ "status": 0,
+ "history": []
+ },
+ {
+ "name": "You on Kazoo, The Republic of",
+ "status": 0,
+ "history": []
+ }
+ ]
+} \ No newline at end of file
diff --git a/app/travel-advisory/page.js b/app/travel-advisory/page.js
index 8dbd639..5db351c 100644
--- a/app/travel-advisory/page.js
+++ b/app/travel-advisory/page.js
@@ -1,9 +1,17 @@
+import { readFileSync } from "fs";
+
export const metadata = {
title: 'Travel Advisory',
description: 'Information whether its safe to travel to other countries',
}
-export default function TravelAdvisory(){
+export async function getCountries(){
+ const files = readdirSync('./countries.json');
+
+
+}
+
+export default async function TravelAdvisory(){
return (
<main className="flex flex-col">
<div className="bg-center bg-no-repeat bg-[url('/jumbotron.webp')] bg-gray-700 bg-blend-multiply">
@@ -34,11 +42,19 @@ export default function TravelAdvisory(){
</li>
</ul>
</div>
- <div className="sm:px-40 px-10 py-3 bg-blue-800"><h2 className="font-medium text-lg">This page may be inaccurate at times, refer to the Minecraft General Announcements channel for the latest updates</h2></div>
+ <div className="sm:px-40 px-10 py-3 bg-blue-800"><h2 className="font-medium text-lg">This page may be inaccurate at times, refer to the <a href="https://discord.com/channels/277922530973581312/1019705091336446052" className="text-gray-400 hover:text-gray-300">Minecraft General Announcements</a> channel for the latest updates</h2></div>
<div className="bg-center bg-no-repeat bg-[url('/regions/silicon-valley.webp')] bg-gray-600 bg-blend-multiply">
<div className="sm:px-40 px-10 py-10 space-y-3 ">
<h1 className="font-medium text-5xl">Country name</h1>
<h2 className="text-lg">Take normal security precautions</h2>
+ <h2 className="font-medium text-3xl">City 1</h2>
+ <h2 className="text-base">Take normal security precautions</h2>
+ <h2 className="font-medium text-3xl">City 2</h2>
+ <h2 className="text-base">Take normal security precautions</h2>
+ <h2 className="font-medium text-3xl">City 3</h2>
+ <h2 className="text-base">Take normal security precautions</h2>
+ <h2 className="font-medium text-3xl">City 4</h2>
+ <h2 className="text-base">Take normal security precautions</h2>
<button className="bg-blue-600 px-4 py-2">Information</button>
</div>
</div>