Skip to content

Commit

Permalink
Add license and privacy pages, remove unused code, and update React v…
Browse files Browse the repository at this point in the history
…ersion
  • Loading branch information
coji committed Jan 15, 2024
1 parent 62763c4 commit c57e3e1
Show file tree
Hide file tree
Showing 9 changed files with 210 additions and 222 deletions.
2 changes: 1 addition & 1 deletion app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function HydrateFallback() {
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<Meta />
{/* <Links /> */}
<Links />
</head>
<body>
<div className="grid grid-cols-1 h-screen place-items-center">
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export default function RegisterProfilePage() {
const { signOut } = useSignOut()

return (
<div className="px-4 py-32 max-w-lg w-full mx-auto flex flex-col justify-center items-center gap-8 leading-10">
<div className="px-4 py-32 max-w-sm w-full mx-auto flex flex-col justify-center items-center gap-8 leading-10">
<div className="text-xl">アカウントを作成します</div>

<div className="bg-slate-50 rounded-md flex flex-col gap-4 p-4">
<div className="bg-slate-100 rounded-3xl flex flex-col gap-4 p-6">
<div className="text-slate-700">
<Link className="underline" to="/license" target="_blank">
利用規約
Expand All @@ -26,11 +26,11 @@ export default function RegisterProfilePage() {
をご確認ください。
</div>

<div className="text-center mx-auto">
<Button variant="outline" asChild>
<Link to="/account/create">同意する</Link>
</Button>
</div>
<Button variant="outline" size="lg" asChild>
<Link to="/account/create" prefetch="render">
同意する
</Link>
</Button>
</div>

<div className="text-center">
Expand Down
3 changes: 3 additions & 0 deletions app/routes/_public+/license.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function PrivacyPolicyPage() {
return <div>利用規約</div>
}
3 changes: 0 additions & 3 deletions app/routes/_public+/license/license.md

This file was deleted.

12 changes: 0 additions & 12 deletions app/routes/_public+/license/route.tsx

This file was deleted.

File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"clsx": "^2.1.0",
"firebase": "^10.7.1",
"lucide-react": "^0.309.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "18.3.0-canary-60a927d04-20240113",
"react-dom": "18.3.0-canary-60a927d04-20240113",
"remix-flat-routes": "^0.6.4",
"tailwind-merge": "^2.2.0",
"tailwindcss-animate": "^1.0.7",
Expand Down
394 changes: 197 additions & 197 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

0 comments on commit c57e3e1

Please sign in to comment.