From 719fa4f19fa508ec2ecf72d5549d679710416833 Mon Sep 17 00:00:00 2001 From: AderKonstantin Date: Tue, 25 Mar 2025 22:48:31 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20feat(toolbar):=20Enhance=20toolb?= =?UTF-8?q?ar=20with=20icons=20and=20links?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds new icons and links to the toolbar component, including email, RSS feed, support, and settings. The icons are now displayed as images using the Next.js `Image` component, and the links are wrapped in `Link` components for better navigation. The overall layout and styling of the toolbar have also been improved. --- components/header/toolbar.tsx | 55 +++++++++++++++++++++++++++++++---- public/email.svg | 3 ++ public/rss-feed.svg | 1 + public/search.svg | 3 ++ public/settings.svg | 6 ++++ public/support.svg | 1 + 6 files changed, 63 insertions(+), 6 deletions(-) create mode 100644 public/email.svg create mode 100644 public/rss-feed.svg create mode 100644 public/search.svg create mode 100644 public/settings.svg create mode 100644 public/support.svg diff --git a/components/header/toolbar.tsx b/components/header/toolbar.tsx index 97f2a8b..3cdaece 100644 --- a/components/header/toolbar.tsx +++ b/components/header/toolbar.tsx @@ -1,15 +1,58 @@ 'use client'; +import Image from 'next/image'; +import Link from 'next/link'; +import emailPic from '../../public/email.svg'; +import rssPic from '../../public/rss-feed.svg'; +import supportPic from '../../public/support.svg'; +import settingsPic from '../../public/settings.svg'; -export default function BlogArea() { + +export default function Toolbar() { return (

Software Engineer | HomeLab | Nerd

-
    -
  • email
  • -
  • rss
  • -
  • support
  • -
  • settings
  • +
      +
    • + + email + +
    • +
    • + + rss + +
    • +
    • + + support + +
    • +
    • + + settings + +
diff --git a/public/email.svg b/public/email.svg new file mode 100644 index 0000000..14a19b5 --- /dev/null +++ b/public/email.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/rss-feed.svg b/public/rss-feed.svg new file mode 100644 index 0000000..a94b740 --- /dev/null +++ b/public/rss-feed.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/search.svg b/public/search.svg new file mode 100644 index 0000000..324f91f --- /dev/null +++ b/public/search.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/settings.svg b/public/settings.svg new file mode 100644 index 0000000..abe44a0 --- /dev/null +++ b/public/settings.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/public/support.svg b/public/support.svg new file mode 100644 index 0000000..963e56c --- /dev/null +++ b/public/support.svg @@ -0,0 +1 @@ + \ No newline at end of file