changed btn from "dashboard" to "home"

This commit is contained in:
2025-07-28 13:42:12 -07:00
parent eae9bc4048
commit 55890d0b3d
@@ -3,6 +3,7 @@ import { ColorModeButton } from "@/components/ui/color-mode";
import { Tooltip } from "@/components/ui/tooltip"; import { Tooltip } from "@/components/ui/tooltip";
import { FaVolcano } from "react-icons/fa6"; import { FaVolcano } from "react-icons/fa6";
import { RxHamburgerMenu } from "react-icons/rx"; import { RxHamburgerMenu } from "react-icons/rx";
import { FaHome } from "react-icons/fa";
import { useState } from "react"; import { useState } from "react";
// ICONS // ICONS
@@ -64,7 +65,7 @@ export default function Sidebar({ onChangeView }) {
// this list of btns will come from the db (not every usr will have access to admin) // this list of btns will come from the db (not every usr will have access to admin)
const buttons = [ const buttons = [
{icon: PushPin, name: "Dashboard", view: "widget"}, {icon: FaHome, name: "Home", view: "widget"},
{icon: Globe, name: "Global Map", view: "global"}, {icon: Globe, name: "Global Map", view: "global"},
{icon: MapMarker, name: "Regional Map", view: "regional"}, {icon: MapMarker, name: "Regional Map", view: "regional"},
{icon: FaVolcano, name: "Volcano", view: "volcano"}, {icon: FaVolcano, name: "Volcano", view: "volcano"},