From 0e656c0addfc807ca4bd1c197544a5dc01bb08dc Mon Sep 17 00:00:00 2001 From: Degreat Date: Fri, 26 Apr 2024 00:52:10 +0000 Subject: [PATCH] bio --- client/app/components/post-input.tsx | 8 +- client/app/components/textarea.tsx | 20 +++ client/app/lib/render-bio.server.ts | 31 ++++ client/app/routes/communities_.new.tsx | 4 +- client/app/routes/events_.add.tsx | 4 +- client/app/routes/p.$username.tsx | 147 ++++++++++++++++-- client/app/style.css | 4 + .../20240425224659_bio/migration.sql | 2 + client/prisma/schema.prisma | 1 + 9 files changed, 203 insertions(+), 18 deletions(-) create mode 100644 client/app/components/textarea.tsx create mode 100644 client/app/lib/render-bio.server.ts create mode 100644 client/prisma/migrations/20240425224659_bio/migration.sql diff --git a/client/app/components/post-input.tsx b/client/app/components/post-input.tsx index 94e95b6..fd2534a 100644 --- a/client/app/components/post-input.tsx +++ b/client/app/components/post-input.tsx @@ -19,6 +19,7 @@ import { stringifySelections, } from "./tag-input"; import { TagSelect } from "./tag-select"; +import { Textarea } from "./textarea"; interface Props { level?: number; @@ -167,11 +168,8 @@ function PostInput({ disabled, level = 0, parent, dataExtra }: Props) { )} -