feat(ui): unified AppHeader, logo brand, tagline update, and header simplification
- Brand component now renders horizontal SVG logo instead of text - New AppHeader shared component replaces per-route header boilerplate - Tagline updated to "Outils pour ostéopathes animaliers" - All routes use AppHeader (HomeRoute, EditorsRoute, NewReportRoute, SvgEditorRoute) - ReportHeader and Footer simplified - DEPLOY.md URLs updated zoosteo.fr → faunosteo.com - Logo assets added (favicon.svg, logo-horizontal.svg, apple-touch-icon.png) - Removed unused eslint-disable directive in SvgEditorRoute Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
2d6ed809e2
commit
1f30280762
25 files changed
+141
-153
No files matched your search
@@ -1,15 +1,12 @@
|
||||
import { describe, it, expect } from 'vitest'
|
||||
import { render, screen } from '@testing-library/react'
|
||||
import { ConfigProvider } from '@/app/providers/ConfigProvider'
|
||||
import Brand from '@/components/brand/Brand'
|
||||
|
||||
describe('Brand', () => {
|
||||
it('renders the brand name from config', () => {
|
||||
render(
|
||||
<ConfigProvider>
|
||||
<Brand />
|
||||
</ConfigProvider>,
|
||||
)
|
||||
expect(screen.getByText(/Faunosteo/i)).toBeInTheDocument()
|
||||
it('renders the logo image with alt text', () => {
|
||||
render(<Brand />)
|
||||
const img = screen.getByAltText('Faunosteo')
|
||||
expect(img).toBeInTheDocument()
|
||||
expect(img).toHaveAttribute('src', '/logo-horizontal.svg')
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user