Something went wrong. Try again.
Mirror of https://github.com/kualta/site — web infrastructure
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758---import { ArrowUpRightIcon, ChevronLeftIcon, ChevronRightIcon, CloseIcon, PauseIcon, PlayIcon, VolumeIcon, VolumeMuteIcon,} from "@/components/icons";import "@/styles/stories.css";---<div class="story-viewer" data-story-viewer role="dialog" aria-modal="true" aria-label="Stories" hidden> <button type="button" class="story-step story-step-previous" data-story-previous aria-label="Previous story"> <ChevronLeftIcon size={22} /> </button> <div class="story-frame" data-story-frame data-paused="false" data-muted="false"> <div class="story-media" data-story-media></div> <div class="story-top"> <div class="story-bars" data-story-bars></div> <div class="story-header"> <span class="story-author"> <img data-story-author-avatar alt="" width="32" height="32" hidden /> <span data-story-name></span> <time class="story-time" data-story-time></time> </span> <span class="story-controls"> <button type="button" data-story-pause aria-label="Pause"> <span data-pause-icon><PauseIcon size={20} /></span> <span data-play-icon><PlayIcon size={20} /></span> </button> <button type="button" data-story-mute aria-label="Mute"> <span data-volume-icon><VolumeIcon size={20} /></span> <span data-muted-icon><VolumeMuteIcon size={20} /></span> </button> <a data-story-link href="https://bsky.app" target="_blank" rel="noreferrer" aria-label="Open on Bluesky"> <ArrowUpRightIcon size={20} /> </a> <button type="button" data-story-close aria-label="Close"> <CloseIcon size={22} /> </button> </span> </div> </div> </div> <button type="button" class="story-step story-step-next" data-story-next aria-label="Next story"> <ChevronRightIcon size={22} /> </button></div>
<script> import { mountOnEachPage } from "@/scripts/page-mount"; import { mountStoryViewer } from "@/scripts/stories-viewer";
mountOnEachPage("[data-story-viewer]", mountStoryViewer);</script>