From 523cdf838c8e4a1d3d67681eeaf364932cba027c Mon Sep 17 00:00:00 2001 From: gabaldon Date: Tue, 14 May 2024 17:22:22 +0200 Subject: [PATCH] feat: improve reuse of components and theme --- assets/styles/main.scss | 20 ---------- assets/styles/tailwind.css | 6 +++ components/IconExternalLink.vue | 4 +- components/NavBar.vue | 67 ++++++++++++++------------------- components/SocialLinks.vue | 8 ++-- components/ThemeSwitch.vue | 2 - layouts/default.vue | 34 ++++++++++++++++- tailwind.config.js | 6 +-- 8 files changed, 74 insertions(+), 73 deletions(-) diff --git a/assets/styles/main.scss b/assets/styles/main.scss index e3327cb1..0aae4305 100644 --- a/assets/styles/main.scss +++ b/assets/styles/main.scss @@ -8,23 +8,3 @@ html { color: $white; background-color: $black; } - -// h1 { -// font-family: 'Outfit'; -// } - -// h2 { -// font-family: 'Outfit'; -// } - -// h3 { -// margin: 0; -// font-family: 'Outfit'; -// } - -// body { -// font-family: 'Poppins'; -// height: 100%; -// margin: 0; -// padding: 0; -// } diff --git a/assets/styles/tailwind.css b/assets/styles/tailwind.css index d9d51b11..1cadb40f 100644 --- a/assets/styles/tailwind.css +++ b/assets/styles/tailwind.css @@ -24,4 +24,10 @@ @apply cursor-not-allowed font-semibold rounded-full shadow-md bg-wit-blue-500 text-black-950 bg-opacity-80; } /* Navbar */ + .navbar-links { + @apply bg-black-950; + } + .nav-link { + @apply text-white-50 hover:text-gray-500; + } } diff --git a/components/IconExternalLink.vue b/components/IconExternalLink.vue index 235cdc39..d0a470bd 100644 --- a/components/IconExternalLink.vue +++ b/components/IconExternalLink.vue @@ -4,15 +4,13 @@ -