Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

ScrollRestore type

Which ClientRouter links land where the reader left the page, as Back does, instead of at the top.

View as Markdown
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.