aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/routes/_index.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-28 02:24:13 +0900
committernsfisis <nsfisis@gmail.com>2024-07-28 02:24:36 +0900
commitf106dfda762b499af52a741f682c34abb83d27d9 (patch)
treefb79c8ef39215b994f3c50c4267f5a266f3055bb /frontend/app/routes/_index.tsx
parent2b9de78cf20faa8d3ae8cd31a8e9d1b7f3ed9aef (diff)
downloadphperkaigi-2025-albatross-f106dfda762b499af52a741f682c34abb83d27d9.tar.gz
phperkaigi-2025-albatross-f106dfda762b499af52a741f682c34abb83d27d9.tar.zst
phperkaigi-2025-albatross-f106dfda762b499af52a741f682c34abb83d27d9.zip
frontend: impl /login and /dashboard
Diffstat (limited to 'frontend/app/routes/_index.tsx')
-rw-r--r--frontend/app/routes/_index.tsx19
1 files changed, 18 insertions, 1 deletions
diff --git a/frontend/app/routes/_index.tsx b/frontend/app/routes/_index.tsx
index f39c7eb..f5a46ca 100644
--- a/frontend/app/routes/_index.tsx
+++ b/frontend/app/routes/_index.tsx
@@ -1,9 +1,26 @@
import type { MetaFunction } from "@remix-run/node";
+import { Link } from "@remix-run/react";
export const meta: MetaFunction = () => {
return [{ title: "Albatross.swift" }];
};
export default function Index() {
- return <p>iOSDC 2024 Albatross.swift</p>;
+ return (
+ <div className="min-h-screen bg-gray-100 flex items-center justify-center">
+ <div className="text-center">
+ <h1 className="text-4xl font-bold text-blue-600 mb-4">
+ iOSDC 2024 Albatross.swift
+ </h1>
+ <p>
+ <Link
+ to="/login"
+ className="text-lg text-white bg-blue-500 px-4 py-2 rounded hover:bg-blue-600 transition duration-300"
+ >
+ Login
+ </Link>
+ </p>
+ </div>
+ </div>
+ );
}