diff --git a/.vscode/settings.json b/.vscode/settings.json index c449bab..ae2d1ff 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,11 +5,12 @@ "eslint.validate": ["javascript", "typescript", "typescriptreact"], "editor.formatOnSave": true, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" }, "editor.defaultFormatter": "esbenp.prettier-vscode", "[jsonc]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, - "githubPullRequests.ignoredPullRequestBranches": ["dev"] + "githubPullRequests.ignoredPullRequestBranches": ["dev"], + "i18n-ally.localesPaths": ["messages"] } diff --git a/app/Sidebar.tsx b/app/Sidebar.tsx index 8872cfb..2eac077 100644 --- a/app/Sidebar.tsx +++ b/app/Sidebar.tsx @@ -9,9 +9,11 @@ import { BrandXIcon } from '~/components/icons/BrandXIcon' import { ShopIcon } from '~/components/icons/ShopIcon' import { Logo, LogoHelmet } from '~/components/Logo' import { Clock } from '~/components/ui/Clock' +import { useUWU } from '~/hooks/useUWU' import { motion } from 'framer-motion' import { Link, useTranslations } from 'next-intl' import { usePathname } from 'next-intl/client' +import Image from 'next/image' import NextLink from 'next/link' import React from 'react' import { BsGithub, BsYoutube } from 'react-icons/bs' @@ -22,6 +24,7 @@ import { TbMailbox, TbPlanet, } from 'react-icons/tb' +import UwU from './[locale]/zolplay-logo-uwu.png' const links = [ { href: '/', label: 'Home', icon: TbPlanet }, @@ -58,6 +61,7 @@ const social = [ export function Sidebar({ className }: { className?: string }) { const t = useTranslations('Root.Metadata') + const isUWU = useUWU() return (