From 85f787725e447b1e53d8bf4bf1379852bd57ea19 Mon Sep 17 00:00:00 2001 From: Korbs Date: Thu, 27 Jun 2024 20:41:50 -0400 Subject: [PATCH] update --- README.md | 5 +++++ src/layouts/Error.astro | 19 ++++++++++++++++--- src/pages/index.astro | 6 +++--- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 956ca38..a2092a2 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,11 @@ This repo is only a proof of concept to see how Poke will run in Astro. A lot of - [ ] Import/Export Poke User Settings - [x] Add Twitch Support, use [SafeTwitch Backend](https://codeberg.org/SafeTwitch/safetwitch-backend) +## Known Issuse + - End-user must reload page again after switch language (May be caused by ViewTransition API) + - i18n doesn't activiate after 1 or 2 seconds when launching Poke (Does it matter? Not that much, but I'll like to fix that) + - Searching from a video doesn't work. Error: `SyntaxError: Unexpected end of JSON input` (URL isn't set correctly) + ## Build > Instructions assume you're using Bun as the package manager, which is preferred for Astro projects. diff --git a/src/layouts/Error.astro b/src/layouts/Error.astro index aac120a..6d002c1 100644 --- a/src/layouts/Error.astro +++ b/src/layouts/Error.astro @@ -5,6 +5,7 @@ const { ErrorMessage } = Astro.props // i18n import i18next, { t } from "i18next"; import { Trans, HeadHrefLangs } from "astro-i18next/components"; +import { EmojiSad } from "@iconoir/vue"; --- @@ -15,8 +16,9 @@ import { Trans, HeadHrefLangs } from "astro-i18next/components"; +