diff --git a/src/routes/chat/GuestChannelChatInfo/index.tsx b/src/routes/chat/GuestChannelChat/index.tsx
similarity index 100%
rename from src/routes/chat/GuestChannelChatInfo/index.tsx
rename to src/routes/chat/GuestChannelChat/index.tsx
diff --git a/src/routes/chat/GuestChannelChatInfo/styled.tsx b/src/routes/chat/GuestChannelChat/styled.tsx
similarity index 100%
rename from src/routes/chat/GuestChannelChatInfo/styled.tsx
rename to src/routes/chat/GuestChannelChat/styled.tsx
diff --git a/src/routes/chat/GuestSessionList/styled.tsx b/src/routes/chat/GuestSessionList/styled.tsx
index 715533ae..b4b9b5f3 100644
--- a/src/routes/chat/GuestSessionList/styled.tsx
+++ b/src/routes/chat/GuestSessionList/styled.tsx
@@ -79,16 +79,6 @@ const Styled = styled.ul`
}
}
}
- &.muted {
- .up .name,
- .up .time,
- .down .msg {
- color: #d0d5dd;
- }
- .down .badge {
- background: #bfbfbf;
- }
- }
}
}
`;
diff --git a/src/routes/chat/ThirdApps.tsx b/src/routes/chat/ThirdApps.tsx
deleted file mode 100644
index 296436fe..00000000
--- a/src/routes/chat/ThirdApps.tsx
+++ /dev/null
@@ -1,21 +0,0 @@
-// import React from 'react'
-import boardosIcon from "../../assets/icons/app.boardos.svg?url";
-import webrowseIcon from "../../assets/icons/app.webrowse.svg?url";
-import Tooltip from "../../common/component/Tooltip";
-
-export default function ThirdApps() {
- return (
-
- -
-
-
-
-
- -
-
-
-
-
-
- );
-}
diff --git a/src/routes/chat/index.team.tsx b/src/routes/chat/index.team.tsx
deleted file mode 100644
index 7bf00dce..00000000
--- a/src/routes/chat/index.team.tsx
+++ /dev/null
@@ -1,93 +0,0 @@
-// import React from 'react';
-import { useState, MouseEvent } from "react";
-import { useParams } from "react-router-dom";
-
-import { AiOutlineCaretDown } from "react-icons/ai";
-
-import StyledWrapper from "./styled";
-import AddIcon from "../../assets/icons/add.svg";
-import BlankPlaceholder from "../../common/component/BlankPlaceholder";
-import Server from "../../common/component/Server";
-import Tooltip from "../../common/component/Tooltip";
-import ChannelChat from "./ChannelChat";
-import DMChat from "./DMChat";
-import ChannelList from "./ChannelList";
-import UsersModal from "../../common/component/UsersModal";
-import ChannelModal from "../../common/component/ChannelModal";
-import DMList from "./DMList";
-import { useAppSelector } from "../../app/store";
-
-export default function ChatPage() {
- const [channelDropFiles, setChannelDropFiles] = useState([]);
- const [userDropFiles, setUserDropFiles] = useState([]);
- const { sessionUids } = useAppSelector((store) => {
- return {
- sessionUids: store.userMessage.ids
- };
- });
- const [channelModalVisible, setChannelModalVisible] = useState(false);
- const [usersModalVisible, setUsersModalVisible] = useState(false);
- const { channel_id, user_id = 0 } = useParams();
- const toggleUsersModalVisible = () => {
- setUsersModalVisible((prev) => !prev);
- };
- const toggleChannelModalVisible = () => {
- setChannelModalVisible((prev) => !prev);
- };
- const handleToggleExpand = (evt: MouseEvent) => {
- const { currentTarget } = evt;
- currentTarget.classList.toggle("collapse");
- };
- const tmpUid = sessionUids.findIndex((i) => i == +user_id) > -1 ? 0 : +user_id;
- // console.log("temp uid", tmpUid);
- const placeholderVisible = !channel_id && !user_id;
- return (
- <>
- {channelModalVisible && (
-
- )}
- {usersModalVisible && }
-
-
-
-
-
-
-
- CHANNELS
-
-
-
-
-
-
-
-
-
-
-
- DIRECT MESSAGE
-
-
-
-
-
-
-
-
-
- {placeholderVisible && }
- {channel_id && }
- {user_id && }
-
-
- >
- );
-}