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