diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2023-09-12 15:06:26 +0000 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2023-09-12 22:26:29 -0400 |
| commit | 86713640eb654d2faa15ccf21ee6ba24bdc78a00 (patch) | |
| tree | 6245cd4d8c2d683fe30d4a820598dd221ba27d13 /src | |
| parent | 7eb1b1d1d11c43119ee1f28e8ca185e3c3e3ae14 (diff) | |
| download | alure-website-86713640eb654d2faa15ccf21ee6ba24bdc78a00.tar.gz alure-website-86713640eb654d2faa15ccf21ee6ba24bdc78a00.tar.bz2 alure-website-86713640eb654d2faa15ccf21ee6ba24bdc78a00.zip | |
Finally fixed issueastro-rewrite
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/travel-advisory/ListCountries.jsx | 2 | ||||
| -rw-r--r-- | src/layouts/Layout.astro | 1 | ||||
| -rw-r--r-- | src/pages/index.astro | 1 | ||||
| -rw-r--r-- | src/pages/travel-advisory.astro | 2 |
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"> |
