style(help): green action buttons + drop the disabled tips button

Make the two help actions (report bully / player support) green and remove the
always-disabled 'tips' button, matching the reference help window.
This commit is contained in:
simoleo89
2026-06-14 22:17:30 +02:00
parent d23d1800da
commit 28df1da69b
+2 -3
View File
@@ -27,9 +27,8 @@ export const HelpIndexView: FC<{}> = props =>
<Text>{ LocalizeText('help.main.self.description') }</Text>
</div>
<div className="flex flex-col gap-1">
<Button onClick={ onReportClick }>{ LocalizeText('help.main.bully.subtitle') }</Button>
<Button disabled={ !GetConfigurationValue('guides.enabled') } onClick={ () => DispatchUiEvent(new GuideToolEvent(GuideToolEvent.CREATE_HELP_REQUEST)) }>{ LocalizeText('help.main.help.title') }</Button>
<Button disabled={ true }>{ LocalizeText('help.main.self.tips.title') }</Button>
<Button variant="success" onClick={ onReportClick }>{ LocalizeText('help.main.bully.subtitle') }</Button>
<Button variant="success" disabled={ !GetConfigurationValue('guides.enabled') } onClick={ () => DispatchUiEvent(new GuideToolEvent(GuideToolEvent.CREATE_HELP_REQUEST)) }>{ LocalizeText('help.main.help.title') }</Button>
</div>
<Button textColor="black" variant="link" onClick={ () => SendMessageComposer(new GetCfhStatusMessageComposer(false)) }>{ LocalizeText('help.main.my.sanction.status') }</Button>
</>