Skip to content

Commit

Permalink
Update Titles (#482)
Browse files Browse the repository at this point in the history
* delete duplicate contribution.md file

* update libraries and pages title

* remove url param
  • Loading branch information
tetogomez authored Jun 30, 2020
1 parent 02bcd2a commit c11a763
Show file tree
Hide file tree
Showing 8 changed files with 593 additions and 1,530 deletions.
19 changes: 0 additions & 19 deletions CONTRIBUTING.md

This file was deleted.

14 changes: 14 additions & 0 deletions contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,17 @@
We follow EOS Costa Rica's Open Source Contributing Guidelines.

https://developers.eoscostarica.io/docs/open-source-guidelines

# Branches

## master branch :

- is hosted on k8s, production namespace
- should be configured via env vars to point to the EOS mainnet endpoint: e.g. https://api.eosargentina.io/
- domain: https://eosrate.io

## staging branch :

- is hosted on k8s, testing namespace
- should be configured via env vars to point to the JUNGLE testnet endpoint: https://jungle.eosio.cr
- domain: https://jungle.eosrate.io:8080
12 changes: 6 additions & 6 deletions services/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@
"serve": "^11.3.0",
"subscriptions-transport-ws": "^0.9.16",
"text-encoding": "^0.7.0",
"ual-anchor": "^0.4.1",
"ual-ledger": "^0.2.0",
"ual-lynx": "^0.3.0",
"ual-anchor": "^0.5.0",
"ual-ledger": "^0.3.0",
"ual-lynx": "^0.4.0",
"ual-meetone": "^0.1.1",
"ual-reactjs-renderer": "^0.2.0",
"ual-scatter": "^0.2.0",
"ual-token-pocket": "^0.2.0",
"ual-reactjs-renderer": "^0.3.1",
"ual-scatter": "^0.3.0",
"ual-token-pocket": "^0.3.0",
"yup": "0.28.3"
},
"devDependencies": {
Expand Down
12 changes: 12 additions & 0 deletions services/frontend/public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3371,4 +3371,16 @@
<loc>https://eosrate.io/proxies/zicenproxxxy</loc>
<lastmod>2020-05-22T04:15:01+00:00</lastmod>
</url>
<url>
<loc>https://eosrate.io/about</loc>
<lastmod>2020-06-29T20:17:34+00:00</lastmod>
</url>
<url>
<loc>https://eosrate.io/terms-of-use</loc>
<lastmod>2020-06-29T20:17:34+00:00</lastmod>
</url>
<url>
<loc>https://eosrate.io/help</loc>
<lastmod>2020-06-29T20:17:34+00:00</lastmod>
</url>
</urlset>
8 changes: 6 additions & 2 deletions services/frontend/src/language/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
},

"about": {
"tabTitle": "About EOS Rate",
"tabTitle": "About EOS Rate Block Producer Ratings and EOS voting tool",
"title": "EOS RATE: A RATING SYSTEM FOR THE EOS MAINNET",
"subtitle1": "What is the EOS Mainnet?",
"body1": {
Expand Down Expand Up @@ -247,11 +247,15 @@
},

"help": {
"tabTitle": "Help",
"tabTitle": "EOS Community help for Open Source Tools - EOS Rate",
"title": "Thank you for using EOS Rate!",
"paragraph": "EOS Rate is still in progress. If you are experiencing any issues, please contact us using the following links:",
"githubEOSCR": "Github EOS Costa Rica",
"telegramChannel": "Telegram Channel",
"websiteEOSCR": "Website EOS Costa Rica"
},

"termsOfUse": {
"tabTitle": "Ricardian Contracts for EOS Rate Smart Contract"
}
}
8 changes: 6 additions & 2 deletions services/frontend/src/language/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
},

"about": {
"tabTitle": "Acerca de EOS Rate",
"tabTitle": "Acerca de EOS Rate Block Producer Ratings y la herramienta de votación EOS",
"title": "EOS RATE: UN SISTEMA DE CALIFICACIÓN PARA LA RED PRINCIPAL EOS",
"subtitle1": "¿Qué es la EOS Mainnet?",
"body1": {
Expand Down Expand Up @@ -247,11 +247,15 @@
},

"help": {
"tabTitle": "Ayuda",
"tabTitle": "Ayuda para herramientas de codigo abierto - EOS Rate",
"title": "¡Gracias por usar EOS Rate!",
"paragraph": "EOS Rate aún está en progreso. Si tiene algún problema, contáctenos utilizando los siguientes enlaces:",
"githubEOSCR": "Github de EOS Costa Rica",
"telegramChannel": "Canal de Telegram",
"websiteEOSCR": "Website de EOS Costa Rica"
},

"termsOfUse": {
"tabTitle": "Contratos ricardianos para EOS Rate Smart Contract"
}
}
5 changes: 5 additions & 0 deletions services/frontend/src/routes/termsOfUse/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import React from 'react'
import Box from '@material-ui/core/Box'
import { makeStyles } from '@material-ui/styles'
import { useTranslation } from 'react-i18next'
import { RicardianContract } from '@eoscostarica/eoscr-components'

import TitlePage from 'components/title-page'

const useStyles = makeStyles(theme => ({
root: {
padding: theme.spacing(3),
Expand Down Expand Up @@ -31,9 +34,11 @@ const useStyles = makeStyles(theme => ({

const TermsOfUse = () => {
const classes = useStyles()
const { t } = useTranslation('termsOfUse')

return (
<Box className={classes.root}>
<TitlePage title={t('tabTitle')} />
<RicardianContract name='rateproducer' />
</Box>
)
Expand Down
Loading

0 comments on commit c11a763

Please sign in to comment.