UI Forum untuk user

- UI selesai
- Realtime dan notifikasi selesai
## No Issuee
This commit is contained in:
2024-07-02 17:38:13 +08:00
parent 11b5e8f722
commit bca5a2ac15
43 changed files with 719 additions and 638 deletions

View File

@@ -1,6 +1,7 @@
"use client";
import { RouterForum } from "@/app/lib/router_hipmi/router_forum";
import { AccentColor } from "@/app_modules/component_global/color/color_pallet";
import mqtt_client from "@/util/mqtt_client";
import {
ActionIcon,
@@ -22,10 +23,6 @@ import { useState } from "react";
import ComponentForum_BerandaCardView from "../component/main_component/card_view";
import { forum_new_getAllPosting } from "../fun/get/new_get_all_posting";
import { MODEL_FORUM_POSTING } from "../model/interface";
import {
AccentColor,
MainColor,
} from "@/app_modules/component_global/color/color_pallet";
export default function Forum_Beranda({
listForum,
@@ -185,7 +182,7 @@ export default function Forum_Beranda({
height="83vh"
renderLoading={() => (
<Center mt={"lg"}>
<Loader />
<Loader color={"yellow"} />
</Center>
)}
data={data}

View File

@@ -40,21 +40,6 @@ export default function LayoutForum_Main({
const [hotMenu, setHotMenu] = useState(1);
const [loading, setLoading] = useState(false);
const listFooter = [
{
id: 1,
name: "Beranda",
path: RouterForum.beranda,
icon: <IconHome />,
},
{
id: 2,
name: "ForumKu",
path: RouterForum.forumku,
icon: <IconCircle />,
},
];
return (
<>