Add Mockup browser component (#3276)

This commit is contained in:
Paweł Kuna authored and GitHub committed 2026-10-08 14:20:34 +02:00
1 parent 69c1114f7a
commit d6cfffb4df
12 files changed
+479 -1

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
---
// Mockup browser on its own, no card: one frame with the lock icon and the
// Tabler dashboard screenshot, light and dark through the hide-theme classes.
import ScreenshotLayout from '../layouts/ScreenshotLayout.astro'
import MockupBrowser from '@ui/MockupBrowser.astro'
---
<ScreenshotLayout title="Mockup browser" columns={2}>
<MockupBrowser url="https://preview.tabler.io" secure>
<img src="/static/tabler-preview@2x.png" class="hide-theme-dark" alt="" />
<img src="/static/tabler-preview-dark@2x.png" class="hide-theme-light" alt="" />
</MockupBrowser>
</ScreenshotLayout>