Skip to content

Commit

Permalink
chore: remove all notes module
Browse files Browse the repository at this point in the history
  • Loading branch information
listlessbird committed Oct 23, 2024
1 parent 7bc0260 commit 0f90cbb
Show file tree
Hide file tree
Showing 35 changed files with 10 additions and 2,622 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@next/next/no-html-link-for-pages": "off",
"react/jsx-key": "off",
"tailwindcss/no-custom-classname": "off",
"tailwindcss/classnames-order": "error"
"tailwindcss/classnames-order": "off"
},
"settings": {
"tailwindcss": {
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
"prepare": "husky"
},
"dependencies": {
"@blocknote/core": "^0.12.1",
"@blocknote/react": "^0.12.2",
"@builder.io/react-hydration-overlay": "^0.0.8",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-icons": "^1.3.0",
Expand Down
12 changes: 7 additions & 5 deletions src/app/(auth)/auth/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
"use client"
import { auth } from "@/app/(auth)/actions/auth.action"

import { useFormState, useFormStatus } from "react-dom"

import { Button } from "@/components/ui/button"
import { auth } from "@/app/(auth)/actions/auth.action"

function SubmitButton() {
const { pending } = useFormStatus()
Expand All @@ -24,9 +26,9 @@ export default function Auth() {

return (
<div>
<div className="flex justify-center items-center min-h-[calc(100vh-64px)]">
<div className="flex min-h-[calc(100vh-64px)] items-center justify-center">
<div className="flex flex-col gap-4">
<h1 className="text-4xl font-bold text-center">Login</h1>
<h1 className="text-center text-4xl font-bold">Login</h1>
<form className="flex flex-col gap-4" action={formAction}>
<div className="flex flex-col gap-2">
<label htmlFor="email">Email</label>
Expand All @@ -35,7 +37,7 @@ export default function Auth() {
id="email"
name="email"
placeholder="Email"
className="p-2 border border-foreground/60 rounded-md"
className="rounded-md border border-foreground/60 p-2"
/>
</div>
<div className="flex flex-col gap-2">
Expand All @@ -45,7 +47,7 @@ export default function Auth() {
id="password"
name="password"
placeholder="Password"
className="p-2 border border-foreground/60 rounded-md"
className="rounded-md border border-foreground/60 p-2"
autoComplete="current-password"
/>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/app/(landing)/_landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ export function Landing() {
KeepArr
</Typography>
<Typography variant="h2" affects="large">
Keep your life organized
The perfect brainstorming tool for developers.
</Typography>
<Typography variant="p" affects="removePMargin">
A simple, intuitive, and fast task manager.
A simple, intuitive, and fast task manager for developers.
</Typography>
<div className="flex gap-4">
<Button>Get started</Button>
Expand Down
95 changes: 0 additions & 95 deletions src/app/(notes)/_components/TreeItem.tsx

This file was deleted.

141 changes: 0 additions & 141 deletions src/app/(notes)/_components/nav.tsx

This file was deleted.

79 changes: 0 additions & 79 deletions src/app/(notes)/_components/note-playground.tsx

This file was deleted.

Loading

0 comments on commit 0f90cbb

Please sign in to comment.