Our Technology
The new version is built with Astro for static page rendering. The dice widget is embedded as a pre-rendered React island and then hydrated in the browser.
Astro – Static Pages
We use Astro so pages like FAQ, blog, history, imprint, and privacy are statically rendered and crawlable.
React (Astro Island) – Dice Logic
The interactive dice UI (create, roll, pause, presets, colors, shake-to-roll) runs as a React component inside an Astro page. The widget is pre-rendered during build and hydrated in the browser for interactions.
Browser APIs – Local Preferences & Motion
We use browser APIs such as localStorage, matchMedia, and on supported devices DeviceMotionEvent for features like theme handling, intro hints, and shake-to-roll.
CSS – Responsive UI
The interface is implemented with global CSS (no Tailwind in V2) and tuned for both mobile and desktop use.
Privacy-Minded
Preferences such as theme and the intro hint are stored locally in the browser. No registration is required.