Commit graph

3 commits

Author SHA1 Message Date
Emil Gulamov
5e2a3f88b9 Add NavLink component for navbar
This commit introduces a reusable NavLink component for the navigation bar. This component has a script to highlight the active link by comparing the current URL with each link's href. It also improves code readability by separating concerns.
2024-02-12 17:16:21 +04:00
Emil Gulamov
9eaa6e209e Fix incorrect attribute in Navbar component SVG
Remove extraneous single character attribute 'f' from the SVG rect element in the Navbar component of astro file. This correction ensures that the SVG renders correctly, maintaining the desired appearance of the Navbar.
2024-02-12 07:49:09 +04:00
Emil Gulamov
f8924c1c8b Add Navbar component and update Meta component
Introduce a new Navbar component to improve site navigation. The component features a brand logo, navigation links, auto theme detection, and theme switcher. In existing Meta component, update the socialImage path for better SEO and social sharing.
2024-02-12 07:43:21 +04:00