/**
* AlbumNav — the "← previous album / next album →" pair at the foot of an
* album detail page (#483).
*
* Renders nothing when there is no neighbour in either direction, so a lone
* album keeps its quiet ending.
*/
import Link from 'next/link';
import { getServerDictionary } from '@/lib/i18n/server';
import type { AlbumNavPair } from '@/lib/albumNav';
function Chevron({ direction }: { direction: 'prev' | 'next' }) {
return (
);
}
export function AlbumNav({ prev, next }: AlbumNavPair) {
const t = getServerDictionary();
if (!prev && !next) return null;
return (
);
}