This commit is contained in:
Korbs 2024-08-21 17:06:56 -04:00
parent fa352ba512
commit e2566cce31
4 changed files with 6 additions and 5 deletions

BIN
bun.lockb

Binary file not shown.

View file

@ -37,7 +37,8 @@ export default defineConfig({
// Experimental // Experimental
experimental: { experimental: {
directRenderScript: true, directRenderScript: true,
clientPrerender: true clientPrerender: true,
serverIslands: true
}, },
prefetch: { prefetch: {
prefetchAll: true, prefetchAll: true,

View file

@ -10,8 +10,8 @@ else if (Astro.cookies.get("Telemtry").value === "Disabled") {
} }
--- ---
{UserIsOptedIn ? {UserIsOptedIn ?
<a style="color: white;text-decoration: none;margin-bottom: 6px;border-radius: 6px;padding: 8px 24px;background: #1a1a1a;font-size: 14px;border: 2px rgba(255, 255, 255, 0.25) solid;" href="/api/telemtry/disable">{t("TELEMTRY.OPTOUT")}</a> <a style="color: white;text-decoration: none;margin-bottom: 6px;border-radius: 6px;padding: 8px 24px;background: #1a1a1a;font-size: 14px;border: 2px rgba(255, 255, 255, 0.25) solid;" href="/api/telemtry/disable">{t("TELEMTRY.OPTOUT")}</a>
: :
<a style="color: white;text-decoration: none;margin-bottom: 6px;border-radius: 6px;padding: 8px 24px;background: #1a1a1a;font-size: 14px;border: 2px rgba(255, 255, 255, 0.25) solid;" href="/api/telemtry/enable">{t("TELEMTRY.OPTIN")}</a> <a style="color: white;text-decoration: none;margin-bottom: 6px;border-radius: 6px;padding: 8px 24px;background: #1a1a1a;font-size: 14px;border: 2px rgba(255, 255, 255, 0.25) solid;" href="/api/telemtry/enable">{t("TELEMTRY.OPTIN")}</a>
} }

View file

@ -56,7 +56,7 @@ else if (Astro.url.href.includes('?platform=twitch')) {
<div class="video-grid"> <div class="video-grid">
{PlatformYouTube ? {PlatformYouTube ?
YouTubeData.map((video) => YouTubeData.map((video) =>
<Video <Video server:defer
ID={video.videoId} ID={video.videoId}
Title={video.title} Title={video.title}
Creator={video.author} Creator={video.author}
@ -70,7 +70,7 @@ else if (Astro.url.href.includes('?platform=twitch')) {
} }
{PlatformTwitch ? {PlatformTwitch ?
TwitchData.data.streams.map((channel) => TwitchData.data.streams.map((channel) =>
<Stream <Stream server:defer
Title={channel.title} Title={channel.title}
Creator={channel.username} Creator={channel.username}
Avatar={channel.streamer.pfp} Avatar={channel.streamer.pfp}