From db2b5e5a72a7bd519a3476a77470e42f3bed5d30 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 18 Jul 2023 14:17:24 -0400 Subject: Fonts and image changes --- app/layout.js | 6 +++--- app/page.js | 16 ++++++++-------- components/PSA.js | 17 +++++++++++------ components/travel-advisory/HistoryModal.js | 4 +--- components/travel-advisory/ListCountries.js | 4 ++-- components/updates/PostPreview.js | 20 ++++++++++---------- public/cantons/breadcroust.webp | Bin 172490 -> 0 bytes public/cantons/foretquebec.webp | Bin 0 -> 259436 bytes public/cantons/longhornhills.webp | Bin 0 -> 343000 bytes public/cantons/nexusunderground.webp | Bin 0 -> 522626 bytes public/cantons/silicon-valley.webp | Bin 160238 -> 0 bytes public/cantons/skycity.webp | Bin 108828 -> 0 bytes public/countries/alureregions.png | Bin 3250222 -> 0 bytes public/jumbotron.png | Bin 0 -> 3462253 bytes public/jumbotron.webp | Bin 129784 -> 109912 bytes 15 files changed, 35 insertions(+), 32 deletions(-) delete mode 100644 public/cantons/breadcroust.webp create mode 100644 public/cantons/foretquebec.webp create mode 100644 public/cantons/longhornhills.webp create mode 100644 public/cantons/nexusunderground.webp delete mode 100644 public/cantons/silicon-valley.webp delete mode 100644 public/cantons/skycity.webp delete mode 100644 public/countries/alureregions.png create mode 100644 public/jumbotron.png diff --git a/app/layout.js b/app/layout.js index d357551..1726682 100644 --- a/app/layout.js +++ b/app/layout.js @@ -1,9 +1,9 @@ import './globals.css' -import { Exo } from 'next/font/google' +import {Exo, Open_Sans} from 'next/font/google' import Navbar from "@/components/Navbar"; import PSA from "@/components/PSA"; -const exo = Exo({ subsets: ['latin'] }) +const font = Open_Sans({ subsets: ['latin'] }) export const metadata = { title: { @@ -16,7 +16,7 @@ export const metadata = { export default function RootLayout({ children }) { return ( - +
aircs.racing ↗
diff --git a/app/page.js b/app/page.js index b518096..f166e24 100644 --- a/app/page.js +++ b/app/page.js @@ -15,7 +15,7 @@ export default function Home() {
-

Welcome to Southeastern Islands

+

Welcome to Southeastern Islands

The official website of the Government of Southeastern Islands

@@ -23,34 +23,34 @@ export default function Home() {
  • -

    Swamp Island

    +

    Swamp Island

    Leader: Alee

    Capital of Southeastern Islands and the original home of MinePot

  • -
    +
    -

    Nexus Underground

    +

    Nexus Underground

    Vacant

    Home to MinePot Barton Centre and athletics

  • -
    +
    -

    Longhorn Hills

    +

    Longhorn Hills

    Leader: Raina

    A city that floats in the sky

  • -
    +
    -

    Foret Quebec

    +

    Foret Quebec

    Leader: Idk837384

    Where all things tech-related lie

    diff --git a/components/PSA.js b/components/PSA.js index 8dad8b3..108924a 100644 --- a/components/PSA.js +++ b/components/PSA.js @@ -11,11 +11,16 @@ const PSA = () => { defaultStyle += ' ' + styleImportant break; case 1: + important = "Latest News:" + styleImportant = "bg-zinc-700" + defaultStyle += ' ' + styleImportant + break; + case 2: important = "WARNING!" styleImportant = "bg-yellow-700" defaultStyle += ' ' + styleImportant break; - case 2: + case 3: important = "EMERGENCY!" styleImportant = "bg-red-800" defaultStyle += ' ' + styleImportant @@ -29,11 +34,11 @@ const PSA = () => {

    {psaMessage.announcement}

    - {psaMessage.link && ( - - Learn more ↗ - - )}

    + {psaMessage.link && ( + + Learn more ↗ + + )}

    ) diff --git a/components/travel-advisory/HistoryModal.js b/components/travel-advisory/HistoryModal.js index 9ff835a..3ef2ea8 100644 --- a/components/travel-advisory/HistoryModal.js +++ b/components/travel-advisory/HistoryModal.js @@ -27,9 +27,7 @@ const HistoryModal = ({ isVisible, onClose, countries, dangerLevel, history }) =

    History

    -
      - {historyList} -
    +
      {historyList}
    diff --git a/components/travel-advisory/ListCountries.js b/components/travel-advisory/ListCountries.js index 6cb0c17..9c880e1 100644 --- a/components/travel-advisory/ListCountries.js +++ b/components/travel-advisory/ListCountries.js @@ -40,7 +40,7 @@ export default function Countries(){ const settlementsList = country.settlements.map((settlement) => { return (
    -

    {settlement.name}

    +

    {settlement.name}

    {getDangerLevel(settlement.danger)}

    ) @@ -49,7 +49,7 @@ export default function Countries(){ return (
    -

    {country.name}

    +

    {country.name}

    {dangerLevel}

    {settlementsList}