Skip to content

Commit 6087112

Browse files
Alex Fuentesclaude
andcommitted
F0: Add Mercadona logo to navigation and disclaimer footer in master
- Replace h1 title with Mercadona logo SVG in Navigation component - Add disclaimer footer with AI-generated data notice - Add CSS styles for logo and disclaimer Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c0d3b89 commit 6087112

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

src/app.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ export const App = () => {
1313
<AppRoutes />
1414
</Layout>
1515
</main>
16+
<footer className="disclaimer">
17+
La información de los productos ha sido generada con IA y no refleja
18+
datos reales. Solo con fines de testing.
19+
</footer>
1620
</>
1721
)
1822
}

src/components/navigation/Navigation.css

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616
flex-wrap: wrap;
1717
}
1818

19-
.navigation__title {
20-
font-size: var(--font-size-xl);
21-
font-weight: 700;
22-
margin: 0;
23-
color: var(--color-primary);
19+
.navigation__logo {
20+
max-width: 230px;
21+
height: auto;
2422
}
2523

2624
.navigation__list {

src/components/navigation/Navigation.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ export const Navigation = () => {
44
return (
55
<nav className="navigation">
66
<div className="navigation__container">
7-
<h1 className="navigation__title">TDD Workshop</h1>
7+
<img
8+
src="/mercadona-logo.svg"
9+
alt="Mercadona"
10+
className="navigation__logo"
11+
/>
812
</div>
913
</nav>
1014
)

src/styles/globals.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,11 @@ img {
9393
max-width: 100%;
9494
height: auto;
9595
display: block;
96+
}
97+
98+
.disclaimer {
99+
text-align: center;
100+
color: var(--color-text-light);
101+
font-size: var(--font-size-sm);
102+
padding: var(--spacing-md);
96103
}

0 commit comments

Comments
 (0)