From 23298606c8a5cc87421d78138dc187928cde55df Mon Sep 17 00:00:00 2001 From: Irfan Zainudin Date: Sun, 13 Oct 2024 09:37:52 +0800 Subject: [PATCH] added option to change language (commented for now), cleaned up navbar --- src/components/Navbar.js | 101 ++++++++++++++++++++++++--------------- 1 file changed, 63 insertions(+), 38 deletions(-) diff --git a/src/components/Navbar.js b/src/components/Navbar.js index 97c8623..0e9b473 100644 --- a/src/components/Navbar.js +++ b/src/components/Navbar.js @@ -56,7 +56,7 @@ function Navbar() {
  • - + CKT Percubaan
  • @@ -70,18 +70,18 @@ function Navbar() { Sumber -
  • + {/*
  • Teka -
  • -
  • +
  • */} + {/*
  • {' '} Sumbangan Pantun Akan Datang -
  • + */}
  • */}
  • + {/*
  • + + Bahasa + + +
  • */} - {/* { route !== "/sumbang" - ? - - Sumbangan Pantun -
    - Akan Datang - - : - <>} */} -
    - { - if (darkMode) { - setDarkMode(false); - } else { - setDarkMode(true); - } - }} - /> - -
    + {/*
    */} + {/* { route !== "/sumbang" + ? + + Sumbangan Pantun +
    + Akan Datang + + : + <>} */} +
    + { + if (darkMode) { + setDarkMode(false); + } else { + setDarkMode(true); + } + }} + /> + +
    + {/*
    */}