7 Commits

Author SHA1 Message Date
d734131325 🌈 style: Add styles for globals 2026-01-20 01:38:10 +03:00
AderKonstantin
9ab9089f4f feat: Enhance blog post layout and typography
This commit introduces the following changes:

- Increase the maximum width of the blog post layout from 3XL to 4XL
  on larger screens, providing more space for content.
- Change the body font from "JetBrains Mono" to "Open Sans" to improve
  readability and aesthetics.
- Increase the horizontal margin on larger screens from 72px to 80px,
  creating more breathing room around the content.

These changes aim to enhance the overall presentation and user
experience of the blog post layout, making it more visually appealing
and comfortable to read.
2025-04-01 19:38:40 +03:00
AderKonstantin
6c0243c5e2 feat: Remove Theme Switcher
- Update body class to use `dark` instead of `light` for dark mode
- Remove `ThemeSwitcher` component as it is no longer needed
- Update global CSS to set dark mode styles on the `.dark` class instead of `.light`
2025-04-01 19:38:40 +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
d478f1da0c 🎨 feat(layout): update open graph description
Improve the open graph description for the blog to be more concise and
informative.
2025-03-26 00:33:17 +03:00
AderKonstantin
fb35ccee77 feat(header): add toolbar component
This commit adds a new `HeaderToolbar` component to the `app/page.tsx` file. The toolbar includes links to the English and Russian versions of the blog. This change improves the user experience by providing easy access to the different language versions of the blog.
2025-03-25 22:51:56 +03:00
AderKonstantin
326439fd41 Initial commit from Create Next App 2025-03-01 06:33:09 +03:00