ScrollRestore type
Which ClientRouter links land where the reader left the page, as Back does, instead of at the top.
import type { ScrollRestore } from '@dioramajs/diorama/astro/client'. 'parents': links up the address, to / from anywhere or to /work from /work/aurora, so a list opens where the reader left it while a project opened from it starts at its cover. 'visited': links to any page seen earlier in this tab.
type ScrollRestore = 'parents' | 'visited'Defined in packages/diorama/src/astro-client.ts.