Add TIDA form URL for adult content report
This commit is contained in:
@@ -7,6 +7,7 @@ import {type ParsedReportSubject} from '#/components/moderation/ReportDialog/typ
|
||||
|
||||
export const DMCA_LINK = 'https://bsky.social/about/support/copyright'
|
||||
export const SUPPORT_PAGE = 'https://bsky.social/about/support'
|
||||
export const TAKE_IT_DOWN_ACT_FORM = 'https://forms.bsky.app/f/ncii'
|
||||
|
||||
export const NEW_TO_OLD_REASON_MAPPING: Record<string, string> = {}
|
||||
|
||||
|
||||
@@ -42,6 +42,7 @@ import {
|
||||
BSKY_LABELER_ONLY_SUBJECT_TYPES,
|
||||
NEW_TO_OLD_REASONS_MAP,
|
||||
SUPPORT_PAGE,
|
||||
TAKE_IT_DOWN_ACT_FORM,
|
||||
} from './const'
|
||||
import {useCopyForSubject} from './copy'
|
||||
import {initialState, reducer} from './state'
|
||||
@@ -409,6 +410,39 @@ function Inner(props: ReportDialogProps) {
|
||||
}}
|
||||
/>
|
||||
))}
|
||||
|
||||
{state.selectedCategory.key === 'sexualAdultContent' && (
|
||||
<Link
|
||||
to={TAKE_IT_DOWN_ACT_FORM}
|
||||
label={l`Need this report to be reviewed under the "Take it down act"?`}>
|
||||
{({hovered, pressed}) => (
|
||||
<View
|
||||
style={[
|
||||
a.flex_row,
|
||||
a.align_center,
|
||||
a.w_full,
|
||||
a.px_md,
|
||||
a.py_sm,
|
||||
a.rounded_sm,
|
||||
a.border,
|
||||
hovered || pressed
|
||||
? [t.atoms.border_contrast_high]
|
||||
: [t.atoms.border_contrast_low],
|
||||
]}>
|
||||
<Text style={[a.flex_1, a.italic, a.leading_snug]}>
|
||||
<Trans>
|
||||
Need this report to be reviewed under the “Take it
|
||||
down act”?
|
||||
</Trans>
|
||||
</Text>
|
||||
<SquareArrowTopRight
|
||||
size="sm"
|
||||
fill={t.atoms.text.color}
|
||||
/>
|
||||
</View>
|
||||
)}
|
||||
</Link>
|
||||
)}
|
||||
</View>
|
||||
) : null}
|
||||
</StepOuter>
|
||||
|
||||
Reference in New Issue
Block a user