fix stiker di forum

This commit is contained in:
2025-04-24 17:36:21 +08:00
parent 5b3c99be39
commit 65c69a96e5
13 changed files with 730 additions and 89 deletions

View File

@@ -1,11 +1,14 @@
import { Forum_Create } from "@/app_modules/forum";
import Forum_NewCreate from "@/app_modules/forum/create/new_create";
import { Forum_V3_Create } from "@/app_modules/forum/create/V3_create";
export default async function Page() {
return (
<>
{/* <Forum_Create /> */}
<Forum_NewCreate/>
{/* <Forum_NewCreate/> */}
<Forum_V3_Create/>
</>
);
}

View File

@@ -16,6 +16,7 @@ import {
import { useDisclosure } from "@mantine/hooks";
import dynamic from "next/dynamic";
import { MainColor } from "@/app_modules/_global/color";
import { listStiker } from "@/app_modules/_global/lib/stiker";
// Dynamic import ReactQuill dengan SSR disabled
const ReactQuill = dynamic(
@@ -29,23 +30,6 @@ const ReactQuill = dynamic(
{ ssr: false, loading: () => <p>Loading Editor...</p> }
);
const listStiker = [
{
id: 1,
name: "stiker2",
url: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQN9AKmsBY4yqdn3GueJJEVPJbfmf853gDL4cN8uc9eqsCTiJ1fzhcpywzVP68NCJEA5NQ&usqp=CAU",
},
{
id: 2,
name: "stiker3",
url: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS2lkV3ZiQ8m-OELSui2JGVy80vnh1cyRUV7NrgFNluPVVs2HUAyCHwCMAKGe2s5jk2sn8&usqp=CAU",
},
{
id: 3,
name: "stiker4",
url: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQHy9ZdsPc6dHgVTl5yIGpRJ-KtpTIsXA2_kbfO1Oc-pv_f7CNKGxhO56RjKujE3xCyb9k&usqp=CAU",
},
];
type ChatItem = {
content: string; // HTML content including text and stickers