Allow linking to individual images
This commit is contained in:
parent
8e1257df41
commit
d949e1645e
1 changed files with 287 additions and 15 deletions
|
|
@ -27,6 +27,7 @@ const thumbnail = (id: string, order: number, alt: string): string => `
|
|||
</a>`;
|
||||
|
||||
const setup = () => {
|
||||
window.history.replaceState(null, '', '/');
|
||||
vi.stubGlobal('matchMedia', () => ({
|
||||
matches: false,
|
||||
media: '(prefers-reduced-motion: reduce)',
|
||||
|
|
|
|||
Loading…
Reference in a new issue