From 2fe742f3f0cf7d4f39723996d0d22306605282d4 Mon Sep 17 00:00:00 2001 From: cohenerickson Date: Thu, 14 Dec 2023 08:45:54 -0600 Subject: [PATCH] run `npm run format` --- index.html | 30 +++++++++---------- postcss.config.js | 6 ++-- public/sw.js | 8 ++--- src/components/Header.tsx | 52 +++++++++++++++++++++++---------- src/components/HeaderButton.tsx | 30 +++++++++---------- src/i18n.ts | 24 +++++++-------- src/index.tsx | 52 ++++++++++++++++----------------- src/locales/en.json | 40 ++++++++++++------------- src/locales/ja.json | 40 ++++++++++++------------- src/pages/Home.tsx | 39 ++++++++++++------------- src/pages/_404.tsx | 36 ++++++++++++----------- src/pages/discord.tsx | 42 ++++++++++++++------------ src/style.css | 4 +-- src/themes/main.css | 36 +++++++++++------------ tailwind.config.js | 16 ++++------ tsconfig.json | 34 ++++++++++----------- vite.config.ts | 8 ++--- 17 files changed, 259 insertions(+), 238 deletions(-) diff --git a/index.html b/index.html index 9b8415e..535101e 100644 --- a/index.html +++ b/index.html @@ -1,17 +1,17 @@ - + - - - - - - Nebula - - - - - -
- - + + + + + + Nebula + + + + + +
+ + diff --git a/postcss.config.js b/postcss.config.js index 2e7af2b..ba80730 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,6 +1,6 @@ export default { plugins: { tailwindcss: {}, - autoprefixer: {}, - }, -} + autoprefixer: {} + } +}; diff --git a/public/sw.js b/public/sw.js index 8ed26c1..7a8c18f 100644 --- a/public/sw.js +++ b/public/sw.js @@ -1,8 +1,8 @@ // @ts-nocheck -importScripts('/ultra/ultra.bundle.js'); -importScripts('/ultra/ultra.config.js'); -importScripts(__uv$config.sw || '/ultra/ultra.sw.js'); +importScripts("/ultra/ultra.bundle.js"); +importScripts("/ultra/ultra.config.js"); +importScripts(__uv$config.sw || "/ultra/ultra.sw.js"); const sw = new UVServiceWorker(); -self.addEventListener('fetch', (event) => event.respondWith(sw.fetch(event))); +self.addEventListener("fetch", (event) => event.respondWith(sw.fetch(event))); diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 96f7d76..15254d1 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -1,5 +1,5 @@ import { HeaderButton } from "./HeaderButton"; -import { useTranslation } from 'react-i18next'; +import { useTranslation } from "react-i18next"; // Header icons import { HiOutlineCube } from "react-icons/hi"; @@ -10,20 +10,40 @@ export function Header() { const { t } = useTranslation(); return ( -