4 Commits

Author SHA1 Message Date
333eaa2dca feat: add posts + a lot of changes 2026-02-05 12:39:59 +03:00
700073571e feat: add posts page, changed icons to react-icons 2026-01-20 01:51:12 +03:00
AderKonstantin
5f4b2cf1d5 feat: Implement theme switcher in header
This commit introduces a theme switcher component in the header, allowing users to toggle between light and dark modes. The changes include:

- Added a new `ThemeSwitcher` component in `components/header/theme-switcher.tsx` that handles the theme switching logic and UI.
- Integrated the `ThemeSwitcher` component into the `HeaderToolbar` component.
- Updated the global CSS file (`app/globals.css`) to include styles for the light mode.
- Initialized the theme based on user's previous preference or system preference.
- Saved the user's theme preference in the browser's local storage for persistence.

These changes provide a better user experience by allowing users to switch between light and dark modes, which can improve readability and accessibility, especially in different lighting conditions.
2025-03-26 20:58:40 +03:00
AderKonstantin
e77cdd07eb feat(header): add search icon and update header layout
The changes in this commit include:

- Add a search icon to the header, which is implemented using the `Image` component from Next.js.
- Update the header layout to have a more balanced and centered design, with the site title and search icon aligned.
- Adjust the spacing and typography of the header elements to improve the overall visual appearance.

These changes are made to enhance the user experience of the header, making it more visually appealing and functional.
2025-03-26 14:00:01 +03:00