-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
95d0f4e
commit ccd7082
Showing
2 changed files
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
import React from 'react'; | ||
import { AlertTriangle } from 'lucide-react'; | ||
import { msg } from '../../client/OpenAudioAppContainer'; | ||
|
||
import './modwarning.css'; | ||
|
||
export function ModerationWarning() { | ||
return ( | ||
<div className="moderation-warning mt-3"> | ||
<div className="content-text full"> | ||
<div className="text-center"> | ||
{msg('vc.voiceModerationEnabled')} | ||
</div> | ||
</div> | ||
<div className="mt-3 flex items-center gap-3 rounded-lg bg-red-950/30 p-4 border border-red-500/20"> | ||
<AlertTriangle className="h-5 w-5 flex-shrink-0 text-red-400" /> | ||
<p className="text-sm text-red-200 font-medium"> | ||
{msg('vc.voiceModerationEnabled')} | ||
</p> | ||
</div> | ||
|
||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters