Add PokeDB.org data attribution footer to layout

Satisfies PokeDB.org's terms of use by adding a minimal attribution
footer linking to pokedb.org on every page.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Julian Tabel
2026-02-10 15:56:22 +01:00
parent 27ec0194bc
commit ba6da06a4f
2 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
---
# nuzlocke-tracker-idh2
title: Add PokeDB.org data attribution
status: in-progress
type: task
priority: normal
created_at: 2026-02-10T14:52:22Z
updated_at: 2026-02-10T14:54:01Z
---
PokeDB.org requires attribution when their data is used. Implement visible attribution in the application UI. This is both a requirement of their terms of use and good practice.

View File

@@ -127,6 +127,19 @@ export function Layout() {
<main> <main>
<Outlet /> <Outlet />
</main> </main>
<footer className="border-t border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4 text-center text-xs text-gray-500 dark:text-gray-400">
Pokémon encounter data from{' '}
<a
href="https://pokedb.org"
className="underline hover:text-gray-700 dark:hover:text-gray-300"
target="_blank"
rel="noopener noreferrer"
>
PokeDB.org
</a>
</div>
</footer>
</div> </div>
) )
} }