From 6968a3a81ed54393bbe6615183048331f31b332c Mon Sep 17 00:00:00 2001 From: Nikos Katsikanis Date: Sat, 26 Oct 2024 19:11:15 +0200 Subject: [PATCH] make router links from anywhere --- css/button-badge.css | 6 +++--- index.html | 2 +- js/components/nav.js | 17 +++++++++-------- js/components/router.js | 39 ++++++++++++++++++++++++--------------- js/routes/button-badge.js | 4 ++-- 5 files changed, 39 insertions(+), 29 deletions(-) diff --git a/css/button-badge.css b/css/button-badge.css index 8a91a38..1b08e27 100644 --- a/css/button-badge.css +++ b/css/button-badge.css @@ -38,11 +38,11 @@ button, } &.transparent { background-color: transparent; - color: var(--default-text); - border: 1px solid var(--default-text); + color: white; + border: 1px solid white; &:hover { color: var(--primary-color); - background-color: var(--default-text); + background-color: white; } } diff --git a/index.html b/index.html index a0ae98d..14e12ac 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@ -->
- +