aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-11 01:44:13 +0900
committernsfisis <nsfisis@gmail.com>2024-08-11 01:44:13 +0900
commita5cac50708b1e4b5589d8a48199af1716a674a57 (patch)
tree5994c48e89ec35be51da5a601649e1266350b536 /frontend
parent88db9e7e043d59deae6258652d04f2cabf5708ca (diff)
downloadiosdc-japan-2024-albatross-a5cac50708b1e4b5589d8a48199af1716a674a57.tar.gz
iosdc-japan-2024-albatross-a5cac50708b1e4b5589d8a48199af1716a674a57.tar.zst
iosdc-japan-2024-albatross-a5cac50708b1e4b5589d8a48199af1716a674a57.zip
fix(frontend): fix layout shift
Diffstat (limited to 'frontend')
-rw-r--r--frontend/app/root.tsx3
-rw-r--r--frontend/app/routes/_index.tsx3
2 files changed, 3 insertions, 3 deletions
diff --git a/frontend/app/root.tsx b/frontend/app/root.tsx
index 4d7a661..0fcfa1f 100644
--- a/frontend/app/root.tsx
+++ b/frontend/app/root.tsx
@@ -1,3 +1,4 @@
+import { config } from "@fortawesome/fontawesome-svg-core";
import type { LinksFunction } from "@remix-run/node";
import {
Links,
@@ -8,6 +9,8 @@ import {
} from "@remix-run/react";
import "./tailwind.css";
+config.autoAddCss = false;
+
export const links: LinksFunction = () => [
{ rel: "icon", href: "/iosdc-japan/2024/code-battle/favicon.svg" },
];
diff --git a/frontend/app/routes/_index.tsx b/frontend/app/routes/_index.tsx
index 25b9c81..905a75b 100644
--- a/frontend/app/routes/_index.tsx
+++ b/frontend/app/routes/_index.tsx
@@ -1,11 +1,8 @@
-import { config } from "@fortawesome/fontawesome-svg-core";
import type { LoaderFunctionArgs, MetaFunction } from "@remix-run/node";
import { Link } from "@remix-run/react";
import "@fortawesome/fontawesome-svg-core/styles.css";
import { ensureUserNotLoggedIn } from "../.server/auth";
-config.autoAddCss = false;
-
export const meta: MetaFunction = () => [
{ title: "iOSDC Japan 2024 Albatross.swift" },
];