From a5cac50708b1e4b5589d8a48199af1716a674a57 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 11 Aug 2024 01:44:13 +0900 Subject: fix(frontend): fix layout shift --- frontend/app/root.tsx | 3 +++ frontend/app/routes/_index.tsx | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'frontend/app') 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" }, ]; -- cgit v1.2.3-70-g09d2