diff options
author | indrajith | 2022-10-01 14:07:36 +0000 |
---|---|---|
committer | indrajith | 2022-10-01 14:07:36 +0000 |
commit | 9665f6dcf69b2c4ad15503db638bb2b82e78893a (patch) | |
tree | b8e926cc11720710d62ddc0d2ff2e0a8860171ee /src/_includes/partials/header.njk | |
parent | 98e0a1608cee0ae07da475aee3436846b2b109d9 (diff) | |
parent | bb50c7e11835154576c6f7a2a40cf2aaee6f4c60 (diff) | |
download | indrajith-dev-9665f6dcf69b2c4ad15503db638bb2b82e78893a.tar.gz indrajith-dev-9665f6dcf69b2c4ad15503db638bb2b82e78893a.tar.bz2 indrajith-dev-9665f6dcf69b2c4ad15503db638bb2b82e78893a.zip |
Merge pull request 'Theming & Page Changes' (#1) from feature/theming into master
Reviewed-on: https://git.indrajith.dev/indrajith/indrajith.dev/pulls/1
Diffstat (limited to 'src/_includes/partials/header.njk')
-rw-r--r-- | src/_includes/partials/header.njk | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/_includes/partials/header.njk b/src/_includes/partials/header.njk index 30fdc77..ed5aac2 100644 --- a/src/_includes/partials/header.njk +++ b/src/_includes/partials/header.njk @@ -1,20 +1,20 @@ -<header class="w-full bg-black text-yellow-500 flex flex-row md:flex-col justify-between items-center px-6 py-4"> +<header class="w-full bg-main-normal-brown text-main-cream-white-1 font-bold flex flex-row md:flex-col justify-between items-center px-6 py-4"> <nav class="w-full"> <ul class="flex flex-col md:flex-row gap-3 md:gap-10 font-supply-regular w-full items-center text-lg md:text-xl"> <li> - <a href="/" class="text-lg md:text-3xl">{ indrajith.dev } </a> + <a href="/" class="text-lg md:text-3xl text-main-red">{ indrajith.dev } </a> </li> - <li class="hover:text-white"><a href="/about" id="about" class="links">About</a></li> - <li class="hover:text-white"><a href="/posts" id="posts" class="links">Posts</a></li> - <li class="hover:text-white"><a href="/cv" id="cv" class="links">CV</a></li> + <li class="hover:text-lightish-50"><a href="/about" id="about" class="links">About</a></li> + <li class="hover:text-lightish-50"><a href="/posts" id="posts" class="links">Posts</a></li> + <li class="hover:text-lightish-50"><a href="/cv" id="cv" class="links">CV</a></li> </ul> - <ul class="hidden md:flex flex-row gap-3 font-supply-regular right-0 -my-8 mx-6 absolute"> - <li class="hover:text-white"><a title="Twitter" target="_blank" href="https://twitter.com/indrajithKLIS" class="links">{% feather "twitter" %}</a></li> - <li class="hover:text-white"><a title="Github" target="_blank" href="https://github.com/cooljith91112" class="links">{% feather "github" %}</a></li> - <li class="hover:text-white"><a title="GIT - Personal" target="_blank" href="https://git.indrajith.dev/" class="links">{% feather "git-branch" %}</a></li> - <li class="hover:text-white"><a title="LinkedIn" target="_blank" href="https://www.linkedin.com/in/indrajithklis/" class="links">{% feather "linkedin" %}</a></li> - <li class="hover:text-white"><a title="Ko-Fi" target="_blank" href="https://ko-fi.com/indrajith" class="links">{% feather "coffee" %}</a></li> - <li class="hover:text-white"><a title="RSS" target="_blank" href="/feed.xml" class="links">{% feather "rss" %}</a></li> + <ul class="hidden md:flex flex-row gap-2 font-supply-regular font-bold right-0 -my-8 mx-6 absolute"> + <li class="hover:text-lightish-50"><a title="Twitter" target="_blank" href="https://twitter.com/indrajithKLIS" class="links">{% feather "twitter" %}</a></li> + <li class="hover:text-lightish-50"><a title="Github" target="_blank" href="https://github.com/cooljith91112" class="links">{% feather "github" %}</a></li> + <li class="hover:text-lightish-50"><a title="Sourcehut" target="_blank" href="https://sr.ht/~cooljith91112/" class="links">{% feather "circle" %}</a></li> + <li class="hover:text-lightish-50"><a title="LinkedIn" target="_blank" href="https://www.linkedin.com/in/indrajithklis/" class="links">{% feather "linkedin" %}</a></li> + <li class="hover:text-lightish-50"><a title="Ko-Fi" target="_blank" href="https://ko-fi.com/indrajith" class="links">{% feather "coffee" %}</a></li> + <li class="hover:text-lightish-50"><a title="RSS" target="_blank" href="/feed.xml" class="links">{% feather "rss" %}</a></li> </ul> </nav> </header> @@ -25,7 +25,7 @@ const navs = ["about","posts","cv"]; const currentNav = navs.find(nav=>currentLocation.includes(nav)); if (currentNav) { - document.getElementById(currentNav).parentElement.classList.add("text-white"); + document.getElementById(currentNav).parentElement.classList.add("text-lightish-50"); } })(); </script>
\ No newline at end of file |