blob: 25b9c81c1cc4dabbc46c1fb881db06d9247e6957 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
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" },
];
export async function loader({ request }: LoaderFunctionArgs) {
await ensureUserNotLoggedIn(request);
return null;
}
export default function Index() {
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 Japan 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>
);
}
|