2025-03-25 21:41:09 +03:00
|
|
|
'use client';
|
2025-03-25 22:48:31 +03:00
|
|
|
import Image from 'next/image';
|
|
|
|
|
import Link from 'next/link';
|
2025-03-26 20:58:40 +03:00
|
|
|
|
|
|
|
|
import { ThemeSwitcher } from './theme-switcher';
|
|
|
|
|
|
2025-03-25 23:48:59 +03:00
|
|
|
import globePic from '../../public/globe.svg';
|
2025-03-25 22:48:31 +03:00
|
|
|
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';
|
2025-03-26 00:33:37 +03:00
|
|
|
import AnimatedLink from '../animatedLink';
|
2025-03-25 21:41:09 +03:00
|
|
|
|
2025-03-25 22:48:31 +03:00
|
|
|
|
|
|
|
|
export default function Toolbar() {
|
2025-03-25 21:41:09 +03:00
|
|
|
return (
|
2025-03-26 20:58:40 +03:00
|
|
|
<div className="flex h-24 justify-between items-center border-white light:border-black border-t border-b">
|
2025-03-25 23:48:59 +03:00
|
|
|
<div className="flex items-baseline">
|
2025-03-26 00:33:37 +03:00
|
|
|
<p><AnimatedLink href='#'>Science</AnimatedLink> | <AnimatedLink href='#'>Software</AnimatedLink> | <AnimatedLink href='#'>Hardware</AnimatedLink> | <AnimatedLink href='#'>Rockets</AnimatedLink> | <AnimatedLink href='#'>Startups</AnimatedLink></p>
|
2025-03-25 23:48:59 +03:00
|
|
|
</div>
|
|
|
|
|
<div className="flex items-baseline">
|
2025-03-25 22:48:31 +03:00
|
|
|
<ul className="inline-flex items-center gap-4">
|
2025-03-26 20:58:40 +03:00
|
|
|
<ThemeSwitcher />
|
2025-03-25 22:48:31 +03:00
|
|
|
<li className="inline filter brightness-0 invert">
|
|
|
|
|
<Link href="#">
|
|
|
|
|
<Image
|
2025-03-25 23:48:59 +03:00
|
|
|
src={globePic}
|
|
|
|
|
alt="lang"
|
2025-03-25 22:48:31 +03:00
|
|
|
width={32}
|
|
|
|
|
height={32}
|
|
|
|
|
/>
|
|
|
|
|
</Link>
|
|
|
|
|
</li>
|
|
|
|
|
<li className="inline filter brightness-0 invert">
|
|
|
|
|
<Link href="#">
|
|
|
|
|
<Image
|
2025-03-25 23:48:59 +03:00
|
|
|
src={emailPic}
|
|
|
|
|
alt="email"
|
2025-03-25 22:48:31 +03:00
|
|
|
width={32}
|
|
|
|
|
height={32}
|
|
|
|
|
/>
|
|
|
|
|
</Link>
|
|
|
|
|
</li>
|
|
|
|
|
<li className="inline filter brightness-0 invert">
|
|
|
|
|
<Link href="#">
|
|
|
|
|
<Image
|
2025-03-25 23:48:59 +03:00
|
|
|
src={rssPic}
|
|
|
|
|
alt="rss"
|
2025-03-25 22:48:31 +03:00
|
|
|
width={32}
|
|
|
|
|
height={32}
|
|
|
|
|
/>
|
|
|
|
|
</Link>
|
|
|
|
|
</li>
|
|
|
|
|
<li className="inline filter brightness-0 invert">
|
|
|
|
|
<Link href="#">
|
|
|
|
|
<Image
|
|
|
|
|
src={settingsPic}
|
|
|
|
|
alt="settings"
|
|
|
|
|
width={32}
|
|
|
|
|
height={32}
|
|
|
|
|
/>
|
|
|
|
|
</Link>
|
|
|
|
|
</li>
|
2025-03-25 21:41:09 +03:00
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|