style: add mozdit logo and update color palette
This commit is contained in:
@@ -13,7 +13,7 @@ jest.mock('next/link', () => {
|
||||
describe('Header', () => {
|
||||
it('should render the company logo', () => {
|
||||
render(<Header />)
|
||||
expect(screen.getAllByText('mozdIT Bt.').length).toBeGreaterThan(0)
|
||||
expect(screen.getByAltText('mozdIT Bt.')).toBeInTheDocument()
|
||||
})
|
||||
|
||||
it('should render all navigation links in desktop menu', () => {
|
||||
|
||||
@@ -47,24 +47,12 @@ export default function Header() {
|
||||
<div className="flex-shrink-0">
|
||||
<a
|
||||
href="/"
|
||||
className="group flex items-center gap-2 text-xl font-bold transition-all duration-200"
|
||||
style={{ color: 'var(--color-primary-600)' }}
|
||||
className="group flex items-center gap-2 transition-all duration-200"
|
||||
>
|
||||
<span className="relative">
|
||||
<span className="group-hover:opacity-0 transition-opacity duration-200">
|
||||
{siteConfig.general.name}
|
||||
</span>
|
||||
<span
|
||||
className="absolute inset-0 opacity-0 group-hover:opacity-100 transition-opacity duration-200"
|
||||
style={{ color: 'var(--color-primary-700)' }}
|
||||
>
|
||||
{siteConfig.general.name}
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
className="inline-block w-2 h-2 rounded-full animate-pulse-slow"
|
||||
style={{ background: 'var(--color-success-500)' }}
|
||||
title="Online"
|
||||
<img
|
||||
src="/mozdit_logo.png"
|
||||
alt={siteConfig.general.name}
|
||||
className="h-10 w-auto transition-transform duration-200 group-hover:scale-105"
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user