feat: integrate customer service chat functionality and add socket.io-client dependency
- Implemented a customer service chat interface in the application. - Added socket.io-client for real-time communication. - Updated language files to include customer service related translations. - Modified navigation to direct users to the customer service page. - Enhanced UI elements for better user experience in chat interactions.
This commit is contained in:
@@ -86,6 +86,7 @@ var en = {
|
||||
|
||||
user: "User",
|
||||
userBalance: "Balance",
|
||||
customerService: "Customer Service",
|
||||
logout: "Logout",
|
||||
tip: "Tip",
|
||||
logoutTip: "Are you sure to logout?",
|
||||
@@ -178,6 +179,21 @@ var en = {
|
||||
chooseCoin: "Currency",
|
||||
flagshipHall: "Flagship Hall",
|
||||
liveHall: "Live hall",
|
||||
|
||||
// Customer Service
|
||||
csConnected: "Connected",
|
||||
csConnecting: "Connecting...",
|
||||
csWelcome: "Welcome to Customer Service",
|
||||
csBusy: "Agents are busy, please wait...",
|
||||
csInputTip: "Please enter your question",
|
||||
csInputPlaceholder: "Type a message and send...",
|
||||
csSend: "Send",
|
||||
csMe: "Me",
|
||||
csAgent: "Agent",
|
||||
csSessionEnded: "Session ended",
|
||||
csAgentServing: "is serving you",
|
||||
csAgentJoined: "has joined",
|
||||
csConnectFailed: "Connection failed",
|
||||
};
|
||||
|
||||
export { en };
|
||||
|
||||
Reference in New Issue
Block a user