aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/routes/_index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/routes/_index.tsx')
-rw-r--r--frontend/app/routes/_index.tsx9
1 files changed, 2 insertions, 7 deletions
diff --git a/frontend/app/routes/_index.tsx b/frontend/app/routes/_index.tsx
index 9f9c2bb..9be594f 100644
--- a/frontend/app/routes/_index.tsx
+++ b/frontend/app/routes/_index.tsx
@@ -1,8 +1,8 @@
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";
import BorderedContainer from "../components/BorderedContainer";
+import NavigateLink from "../components/NavigateLink";
export const meta: MetaFunction = () => [
{ title: "iOSDC Japan 2024 Albatross.swift" },
@@ -40,12 +40,7 @@ export default function Index() {
</BorderedContainer>
</div>
<div>
- <Link
- to="/login"
- className="text-lg text-white bg-pink-600 px-4 py-2 rounded transition duration-300 hover:bg-pink-500"
- >
- ログイン
- </Link>
+ <NavigateLink to="/login">ログイン</NavigateLink>
</div>
</div>
);