From 8c1cf540c998d554b10282292edeb28b74349297 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 15 Jul 2023 20:22:10 -0400 Subject: Getting ready to properly add travel advisory; Added additional cities --- app/travel-advisory/page.js | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'app/travel-advisory/page.js') 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 (
@@ -34,11 +42,19 @@ export default function TravelAdvisory(){
-

This page may be inaccurate at times, refer to the Minecraft General Announcements channel for the latest updates

+

This page may be inaccurate at times, refer to the Minecraft General Announcements channel for the latest updates

Country name

Take normal security precautions

+

City 1

+

Take normal security precautions

+

City 2

+

Take normal security precautions

+

City 3

+

Take normal security precautions

+

City 4

+

Take normal security precautions

-- cgit v1.2.3