Skip to content

Commit

Permalink
feat: add cta for trust and safety teams
Browse files Browse the repository at this point in the history
  • Loading branch information
dennyabrain committed Jul 28, 2023
1 parent b8bbc39 commit d5e85bc
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
npm run deploy
- name: Notify on Slack
uses: rtCamp/action-slack-notify@v2.0.0
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_MESSAGE: "Deployed uli-website to production environment"
Expand Down Expand Up @@ -128,17 +128,17 @@ jobs:
tags: ${{ steps.vars.outputs.sha_short }}
workdir: ogbv-ml-rest

# - name: deploy to cluster
# uses: steebchen/[email protected]
# with: # defaults to latest kubectl binary version
# config: ${{ secrets.PROD_KUBE_CONFIG_DATA }}
# command: set image --record deployment/ogbv-ml-rest ogbv-ml-rest=tattletech/ogbv-ml-rest:${{ steps.vars.outputs.sha_short }}
# - name: verify deployment
# uses: steebchen/[email protected]
# with:
# config: ${{ secrets.PROD_KUBE_CONFIG_DATA }}
# version: v1.21.0 # specify kubectl binary version explicitly
# command: rollout status deployment/ogbv-ml-rest
# - name: deploy to cluster
# uses: steebchen/[email protected]
# with: # defaults to latest kubectl binary version
# config: ${{ secrets.PROD_KUBE_CONFIG_DATA }}
# command: set image --record deployment/ogbv-ml-rest ogbv-ml-rest=tattletech/ogbv-ml-rest:${{ steps.vars.outputs.sha_short }}
# - name: verify deployment
# uses: steebchen/[email protected]
# with:
# config: ${{ secrets.PROD_KUBE_CONFIG_DATA }}
# version: v1.21.0 # specify kubectl binary version explicitly
# command: rollout status deployment/ogbv-ml-rest

uli-server:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions uli-website/src/components/atoms/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ const resources = {
en: {
translation: {
app_name: "Uli",
section_hero_head: "Reclaiming your online space",
section_hero_head: "Reclaim your online space",
section_hero_subhead:
"Use Uli to redact slurs and abusive content, archive problematic content, and collectively push back against online gender based violence",
section_hero_cta: "Add to Browser",
section_hero_cta_subhead: "supported on Chrome, Brave and Firefox",
section_hero_cta_subhead: "If you are a Trust and Safety team interested in the slur lists or datasets, click here"

section_feature_head: "Features",
section_feature_1_label: "ARCHIVE Content",
section_feature_1_head:
Expand Down
9 changes: 7 additions & 2 deletions uli-website/src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import { useContext } from "react";
import { Box, ResponsiveContext, Text } from "grommet";
import { Anchor, Box, ResponsiveContext, Text } from "grommet";
import {
Colors,
Theme,
Expand Down Expand Up @@ -61,7 +61,12 @@ const IndexPage = () => {
</a>
)}
</CTALinkPlainPrimary>
<Text size={"small"}>{t("section_hero_cta_subhead")}</Text>
<Text>{t("section_hero_cta_subhead")}</Text>
<Box height={"0.6em"}></Box>
<Text size={"medium"}>
If you are a Trust and Safety team interested in the slur lists
or datasets. <Anchor href={"#"}>Click here</Anchor>
</Text>
</Box>
</Box>
<Box width={"26em"}>
Expand Down

0 comments on commit d5e85bc

Please sign in to comment.