update
This commit is contained in:
parent
fa352ba512
commit
e2566cce31
4 changed files with 6 additions and 5 deletions
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -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,
|
||||||
|
|
|
@ -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>
|
||||||
}
|
}
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Reference in a new issue