Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | 6x | type Item = {
img: string;
alt: string;
link: { en: string; es: string; gl: string } | string;
testId: string;
};
export const menu: Array<Item> = [
{
img: '/menu/vscode.png',
alt: 'Go to home page',
link: '/',
testId: 'home',
},
{
img: '/menu/notes.png',
alt: 'Go to blog',
// /blog redirects to the newest post in the active locale, so the Dock never points at a
// slug that ages out (or 404s once that post is renamed). Link carries the current locale.
link: '/blog',
testId: 'blog',
},
{
img: '/menu/terminal.png',
alt: 'Go to terminal',
link: '/comments',
testId: 'terminal',
},
{
img: '/menu/books.png',
alt: 'Legal documents',
link: '/legal/cookies-policy',
testId: 'legal',
},
{
img: '/menu/settings.png',
alt: 'Got to configuration page',
link: '/settings',
testId: 'settings',
},
];
|