mirror of
https://github.com/CoolnsX/my-website.git
synced 2025-12-20 07:15:19 +05:30
feat: rss in nav bar
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
# The URL the site will be built for
|
||||
base_url = "https://coolans.dev"
|
||||
|
||||
# The site title and description; used in feeds by default.
|
||||
title = "Coolans Blogs"
|
||||
|
||||
# Whether to automatically compile all Sass files in the sass directory
|
||||
compile_sass = false
|
||||
|
||||
|
||||
@@ -126,13 +126,21 @@
|
||||
<!-- Nav Links -->
|
||||
<ul
|
||||
id="mobile-menu"
|
||||
class="hidden sm:flex sm:static absolute right-10 top-full px-6 py-3 rounded-2xl bg-gray-900/70 border border-gray-800 shadow-xl backdrop-blur-md space-x-6 sm:space-x-6 flex-col sm:flex-row max-w-screen text-gray-300 sm:items-center"
|
||||
class="hidden sm:flex sm:static absolute right-10 top-full px-6 rounded-2xl bg-gray-900/70 border border-gray-800 shadow-xl backdrop-blur-md space-x-6 sm:space-x-6 flex-col sm:flex-row max-w-screen text-gray-300 sm:items-center"
|
||||
>
|
||||
<li>
|
||||
<a href="/" class="hover:text-blue-400 block py-2 sm:py-0">Home</a>
|
||||
<a href="/" class="hover:text-blue-400 block py-3">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/blog" class="hover:text-blue-400 block py-2 sm:py-0">Blogs</a>
|
||||
<a href="/blog" class="hover:text-blue-400 block py-3">Blogs</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/rss.xml" class="text-orange-400 py-3 flex">
|
||||
RSS
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 mr-1 fill-current" viewBox="0 0 20 20">
|
||||
<path d="M4.26 17.63a1.63 1.63 0 1 0 0 3.26 1.63 1.63 0 0 0 0-3.26zM2 10.92v2.15a9 9 0 0 1 9 9h2.15a11.16 11.16 0 0 0-11.15-11.15zm0-5.3v2.15a14.32 14.32 0 0 1 14.31 14.3h2.15A16.47 16.47 0 0 0 2 5.62z"/>
|
||||
</svg>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user