Started the tailwind conversion process.

This commit is contained in:
Zed A. Shaw 2025-08-10 01:19:30 -04:00
parent ca8f4e194f
commit 9729ebc7ac
22 changed files with 970 additions and 365 deletions

View file

@ -4,30 +4,32 @@
</script>
<div x-init="Stream = await req.theData()" x-data="{Stream: {}}">
<shape style="--w: 100%; --h: 350px">
Stream Viewer
</shape>
<div class="flex justify-center items-center w-full bg-gray-900 text-gray-50 text-center aspect-video">
<span>Stream Viewer</span>
</div>
<block>
<div class="p-6">
<div>
<h2>Links Found in Chat</h2>
<ul x-init="links = await link_req.theData()" x-data="{links: {}}">
<template x-for="item in links">
<li><a x-text="item.description" x-bind:href="item.url"></a></li>
</template>
</ul>
</block>
</div>
<form action="/api/link" method="POST">
<card>
<card class="card">
<top>Submit a Link</top>
<middle>
<input id="stream_id" name="stream_id" type="hidden" value="1">
<input id="url" name="url" type="text" placeholder="Link Url">
<input id="description" name="description" type="text" placeholder="Description">
</middle>
<bottom>
<button id="submit" type="submit">Send It</button>
</bottom>
</card>
<buttons>
<button id="submit" type="submit">Send It</button>
</buttons>
</form>
</div>
</div>