diff --git a/client/app/(auth)/signup/page.tsx b/client/app/(auth)/signup/page.tsx index af8f5e8c..c1da89f4 100644 --- a/client/app/(auth)/signup/page.tsx +++ b/client/app/(auth)/signup/page.tsx @@ -1,5 +1,4 @@ import Auth from "@components/auth" -import config from "@lib/config" import { getRequiresPasscode } from "pages/api/auth/requires-passcode" const getPasscode = async () => { diff --git a/client/app/(profiles)/mine/page.tsx b/client/app/(profiles)/mine/page.tsx index 36440abc..94c59c9b 100644 --- a/client/app/(profiles)/mine/page.tsx +++ b/client/app/(profiles)/mine/page.tsx @@ -3,12 +3,10 @@ import { notFound, useRouter } from "next/navigation" import { cookies } from "next/headers" import { getPostsByUser } from "app/prisma" import PostList from "@components/post-list" + export default async function Mine() { - // TODO: fix router usage - // const router = useRouter() const userId = cookies().get(USER_COOKIE_NAME)?.value if (!userId) { - // return router.push("/signin") return notFound() } diff --git a/client/app/layout.tsx b/client/app/layout.tsx index 2d4794af..bb0cecaf 100644 --- a/client/app/layout.tsx +++ b/client/app/layout.tsx @@ -9,9 +9,10 @@ interface RootLayoutProps { export default function RootLayout({ children }: RootLayoutProps) { return ( diff --git a/client/app/root-layout-wrapper.tsx b/client/app/root-layout-wrapper.tsx index 06d71856..84e64da5 100644 --- a/client/app/root-layout-wrapper.tsx +++ b/client/app/root-layout-wrapper.tsx @@ -27,10 +27,10 @@ export function LayoutWrapper({ children }: { children: React.ReactNode }) { warning: "var(--warning)" }, expressiveness: { - dropdownBoxShadow: "0 0 0 1px var(--light-gray)", - shadowSmall: "0 0 0 1px var(--light-gray)", - shadowLarge: "0 0 0 1px var(--light-gray)", - shadowMedium: "0 0 0 1px var(--light-gray)" + dropdownBoxShadow: "0 0 0 1px var(--lighter-gray)", + shadowSmall: "0 0 0 1px var(--lighter-gray)", + shadowLarge: "0 0 0 1px var(--lighter-gray)", + shadowMedium: "0 0 0 1px var(--lighter-gray)", }, layout: { gap: "var(--gap)", diff --git a/client/lib/render-markdown.tsx b/client/lib/render-markdown.tsx index 237f462d..d03b9073 100644 --- a/client/lib/render-markdown.tsx +++ b/client/lib/render-markdown.tsx @@ -68,7 +68,7 @@ renderer.listitem = (text, task, checked) => { ) } - return `
  • ${text}
  • ` + return
  • {text}
  • } //@ts-ignore diff --git a/client/pages/api/welcome.ts b/client/pages/api/welcome.ts index 42aa49e5..6d0e0d91 100644 --- a/client/pages/api/welcome.ts +++ b/client/pages/api/welcome.ts @@ -8,8 +8,6 @@ export const getWelcomeContent = async () => { const introContent = config.welcome_content const introTitle = config.welcome_title - - console.log(renderMarkdown(introContent)) return { title: introTitle, content: introContent, diff --git a/client/styles/globals.css b/client/styles/globals.css index 8b5cd228..a914c885 100644 --- a/client/styles/globals.css +++ b/client/styles/globals.css @@ -99,6 +99,8 @@ body { font-family: var(--font-sans); display: flex; flex-direction: column; + /* TODO: this should be unnecessary. Overides the browser background for color-scheme while geist-ui catches up */ + background: var(--bg); } p {