Add API route to check HLS stream status and integrate server-side HLS validation in StreamPage component

This commit is contained in:
Nikita
2025-12-24 18:52:46 -08:00
parent 7c678b3110
commit 7e480305c4
5 changed files with 205 additions and 46 deletions

View File

@@ -9,6 +9,8 @@ import {
Sparkles,
UserRoundPen,
Lock,
MessageCircle,
HelpCircle,
} from "lucide-react"
type SectionId = "preferences" | "profile" | "billing"
@@ -426,6 +428,35 @@ function ProfileSection({
</button>
</div>
</SettingCard>
<SettingCard title="Support">
<div className="flex items-start justify-between py-2">
<div className="flex flex-col gap-2">
<p className="font-medium text-white">Get help</p>
<p className="text-xs text-white/70">
Join our Discord community or contact support.
</p>
</div>
<div className="flex items-center gap-2">
<a
href="https://discord.com/invite/bxtD8x6aNF"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center gap-2 text-sm bg-white/5 hover:bg-white/10 text-white px-3 py-2 rounded-lg border border-white/10 transition-colors"
>
<MessageCircle className="w-4 h-4" />
Discord
</a>
<a
href="mailto:support@linsa.io"
className="inline-flex items-center gap-2 text-sm bg-white/5 hover:bg-white/10 text-white px-3 py-2 rounded-lg border border-white/10 transition-colors"
>
<HelpCircle className="w-4 h-4" />
Support
</a>
</div>
</div>
</SettingCard>
</div>
</div>
)