Skip to content

Commit 317d073

Browse files
committed
chore: ditch logo, week long session
1 parent 5cbc622 commit 317d073

File tree

4 files changed

+2
-31
lines changed

4 files changed

+2
-31
lines changed

app/components/Logo.tsx

-20
This file was deleted.

app/root.tsx

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
11
import { json, LinksFunction, LoaderFunctionArgs } from "@remix-run/node";
2-
import {
3-
Links,
4-
Meta,
5-
LiveReload,
6-
Outlet,
7-
Scripts,
8-
useLoaderData,
9-
} from "@remix-run/react";
2+
import { Links, Meta, LiveReload, Outlet, Scripts } from "@remix-run/react";
103
import { authenticator } from "./services/auth.server";
114
import stylesheet from "~/styles/tailwind.css";
12-
import Logo from "./components/Logo";
135
import { readSailor } from "./models/sailor.server";
146
import { Sailor } from "@prisma/client";
15-
import ThemeToggle from "./components/ThemeToggle";
167

178
export const links: LinksFunction = () => [
189
{ rel: "stylesheet", href: stylesheet },

app/routes/login/components/PhoneNumberForm.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { Form } from "@remix-run/react";
22
import { E164Number, isPossiblePhoneNumber } from "libphonenumber-js";
33
import { useState } from "react";
4-
import Logo from "~/components/Logo";
54
import PhoneNumberInput from "~/components/PhoneNumberInput";
65

76
export default function PhoneNumberForm({ error }: { error: any }) {

app/services/session.server.ts

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export let sessionStorage = createCookieSessionStorage({
1010
httpOnly: true, // for security reasons, make this cookie http only
1111
secrets: ["s3cr3t"], // replace this with an actual secret
1212
secure: process.env.NODE_ENV === "production", // enable this in prod only
13+
maxAge: 604800,
1314
},
1415
});
1516

0 commit comments

Comments
 (0)