aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2023-09-12 15:06:26 +0000
committerAndrew Lee <alee14498@protonmail.com>2023-09-12 22:26:29 -0400
commit86713640eb654d2faa15ccf21ee6ba24bdc78a00 (patch)
tree6245cd4d8c2d683fe30d4a820598dd221ba27d13 /src
parent7eb1b1d1d11c43119ee1f28e8ca185e3c3e3ae14 (diff)
downloadalure-website-astro-rewrite.tar.gz
alure-website-astro-rewrite.tar.bz2
alure-website-astro-rewrite.zip
Finally fixed issueastro-rewrite
Diffstat (limited to 'src')
-rw-r--r--src/components/travel-advisory/ListCountries.jsx2
-rw-r--r--src/layouts/Layout.astro1
-rw-r--r--src/pages/index.astro1
-rw-r--r--src/pages/travel-advisory.astro2
4 files changed, 3 insertions, 3 deletions
diff --git a/src/components/travel-advisory/ListCountries.jsx b/src/components/travel-advisory/ListCountries.jsx
index 867482b..c204c94 100644
--- a/src/components/travel-advisory/ListCountries.jsx
+++ b/src/components/travel-advisory/ListCountries.jsx
@@ -1,4 +1,4 @@
-import countriesData from './countries.json' assert { type: 'json' };
+import countriesData from './countries.json';
import HistoryModal from "./HistoryModal";
import { useState } from "preact/hooks";
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 57e231f..38fb1ff 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -1,6 +1,7 @@
---
import Navbar from "../components/Navbar.jsx";
import PSA from "../components/PSA.astro";
+import "../styles/globals.css";
const { title, description } = Astro.props;
---
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 902886e..7376d3f 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -1,6 +1,5 @@
---
import Layout from '../layouts/Layout.astro';
-import "../styles/globals.css";
---
<Layout title="Home" description="The official website of the Government of Alure Regions">
diff --git a/src/pages/travel-advisory.astro b/src/pages/travel-advisory.astro
index 42c238a..bc1c36f 100644
--- a/src/pages/travel-advisory.astro
+++ b/src/pages/travel-advisory.astro
@@ -1,5 +1,5 @@
---
-import Countries from '../components/travel-advisory/ListCountries.jsx'
+import { Countries } from '../components/travel-advisory/ListCountries.jsx'
import Layout from "../layouts/Layout.astro";
---
<Layout title="Travel Advisory" description="Information whether its safe to travel to other countries">