Skip to content

Commit

Permalink
edit english texts (#208)
Browse files Browse the repository at this point in the history
* devops(build): use make for k8s apply

* fix(build): hadcode jwt into dockerfile

* fix(webapp): update texts and sidebar

* fix(webapp): update texts and sidebar
  • Loading branch information
xavier506 authored Apr 3, 2021
1 parent 2ea7a89 commit f7fd733
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 43 deletions.
Binary file added webapp/src/images/logos/more-apps-soon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed webapp/src/images/templates/.DS_Store
Binary file not shown.
20 changes: 10 additions & 10 deletions webapp/src/language/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,16 @@
"/>sidebar": "Home",
"/>heading": "Welcome",
"/goods>title": "NFT collectibles that support good causes | gGoods",
"/goods>sidebar": "gGoods",
"/goods>sidebar": "gGoods Marketplace",
"/goods>heading": "",
"/organizations>title": "Communities looking for funding | gGoods",
"/organizations>sidebar": "Communities",
"/organizations>sidebar": "Organizations",
"/organizations>heading": "",
"/your-collection>title": "Your collection | gGoods",
"/your-collection>sidebar": "Your Collection",
"/your-collection>heading": "",
"/games>title": "Apps and games for you to use your NFTs | gGoods",
"/games>sidebar": "Games",
"/games>sidebar": "Games and Apps",
"/games>heading": "",
"/inventory>title": "Inventory | gGoods",
"/inventory>sidebar": "Inventory",
Expand Down Expand Up @@ -145,7 +145,7 @@
},
"organizationsRoute": {
"title": "Organizations",
"paragraph1": "Communities, NGOs and any other good causes that you might be interested in."
"paragraph1": "Communities, NGOs and any other good causes that you might be interested in supporting."
},
"organizationRoute": {
"objectives": "Objectives",
Expand All @@ -156,16 +156,16 @@
"location": "Location",
"contact": "Contact",
"ourGoods": "Our Goods",
"empty": "Organization without goods"
"empty": "Organization has not created any goods"
},
"gamesRoute": {
"title": "Games",
"paragraph1": "Created so you can have fun with your goods."
"paragraph1": "Created so you can have fun with your digital goods."
},
"selfieCam": {
"title": "Selfie Cam",
"subTitle": "Your Goods",
"paragraph1": "Select one of your Goods and take a selfie together, then share the image to your social media and spread the word.",
"subTitle": "Take a pcture with your digital goods",
"paragraph1": "Select one of your NFTs and take a selfie together, then share the image to your social media and spread the word.",
"share": "Share to Social",
"save": "Save to Device",
"cancel": "Cancel"
Expand Down Expand Up @@ -231,7 +231,7 @@
"whygGoods": "Why gGoods?",
"whygGoodsParagraph": "gGoods is an open-source NFT standard that lets organizations create their own NFT to seek funding. Creating an NFT is easy and straightforward, such as creating an avatar or sticker. The NFT represents a cause for the donor to collect",
"behindgGoogs": "Who’s behind gGoods?",
"behindgGoogsParagraph": "gGoods is developed by a group of Costa Rican techies and led by Edenia Labs and EOS Costa Rica. It was our submission to the 2021 Beyond Blockchain EOSIO Hackathon organized by block.one",
"behindgGoogsParagraph": "gGoods is developed by a group of Costa Rican techies and led by Edenia Labs and EOS Costa Rica. It was our submission to the 2021 Beyond Blockchain EOSIO Hackathon organized by block.one, Google, Galaxy Interactive and Mythical Games.",
"aboutHack": "About the hackathon",
"aboutHackParagraph": "The 2021 Beyond Blockchain EOSIO Hackathon was organized by block.one, a leading technology company that launched the EOSIO blockchain protocol, to encourage teams to develop a solution that could bring positive change at scale to communities around the world.",
"title2": "About the technology",
Expand All @@ -249,7 +249,7 @@
"whosEDENIALabsParagraph": "Edenia Labs incubates and accelerates projects that deploy technologies in industry 4.0, including artificial intelligence, blockchain, internet of things, drones, and cybersecurity. It is part of Sistemas Edenia Internacional, a company with over 30 years of experience developing innovative technologies."
},
"helpRoute": {
"title": "Thank you for using our product!",
"title": "Thank you for using gGoods!",
"paragraph": "This project is still work in progress. Please feel free to leave upgrade suggestions, log bugs, or use the code yourself. You can also find us on Telegram or visit our website.",
"githubEOSCR": "GitHub EOS Costa Rica",
"telegramChannel": "Telegram Channel",
Expand Down
16 changes: 12 additions & 4 deletions webapp/src/routes/Games/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,33 @@ const GAME_LIST = [
name: 'Selfie Cam',
pathname: '/games/selfie-cam',
description:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus consequat auctor faucibus. Donec sed arcu eu elit gravida',
'Select one of your Goods and take a selfie together, then share the image to your social media and spread the word.',
img:
'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRGLm94nV3FeX81RSgRuKGJ2RDTtqJNblQVWw&usqp=CAU'
},
{
name: 'Free your Animal',
name: 'Free your NFT!',
pathname: '',
description:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus consequat auctor faucibus. Donec sed arcu eu elit gravida rhoncus id non eu tempor diam maximu',
'Let your NFTs explore the world! By being exposed to new places, people, and cultures, you will develop a wider world view',
img:
'https://images-na.ssl-images-amazon.com/images/I/71XltR452RL._AC_SL1500_.jpg'
},
{
name: 'Ggoods Memory',
pathname: '/games/memory',
description:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus consequat auctor faucibus. Donec sed arcu eu elit gravida rhoncus id non eu tempor diam maximu',
'A classic card game in which all of the cards are NFTs! The object of the game is to turn over pairs of matching cards.',
img:
'https://h5p.org/sites/default/files/styles/medium-logo/public/logos/memory-game-icon.png?itok=bIQqHE7Y'
},
{
name: 'More Apps Coming Soon',
pathname: '/games',
description:
'gGoods can integrate with countless apps such as games and social media, the open-source community can develop new ideas for the platform.',
img:
'https://raw.githubusercontent.com/eoscostarica/gGoods/main/webapp/src/images/logos/more-apps-soon.png?token=ABK7HRVGRMGGYEPJCUJOJ43AM7KN6'
}
]

Expand Down
36 changes: 15 additions & 21 deletions webapp/src/routes/Home/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,36 +76,36 @@ const Home = () => {
<Slider {...settings}>
<div>
<CardImage
primaryText="Fun with your goods"
secondaryText="Games are now able to use your NFTs"
primaryText="Play your heart out"
secondaryText="Play games that integrate your NFTs"
img={Bg}
/>
</div>
<div>
<CardImage
primaryText="Digital goods for good!"
secondaryText="NFTs designed to help good causes"
primaryText="NFTs for good!"
secondaryText="Digital goods designed to help good causes"
img={Bg1}
/>
</div>
<div>
<CardImage
primaryText="Help local shelters"
secondaryText="or animal rescues around the world"
primaryText="App ready NFTs"
secondaryText="Create for your cause and engage with your goods"
img={Bg2}
/>
</div>
</Slider>
<Box className={clsx(classes.rowsBox, classes.firstTitle)}>
<Typography variant="h5">What can I do?</Typography>
<Typography variant="h5">Get Started with gGoods</Typography>
<Box className={classes.displayInline}>
<Box className={classes.optionsWrapper}>
<ArrowForwardIosIcon />
<Typography>Join now!</Typography>
</Box>
<Box className={classes.optionsWrapper}>
<ArrowForwardIosIcon />
<Typography>Browse for Goods</Typography>
<Typography>Browse Goods for sale</Typography>
</Box>
<Box className={classes.optionsWrapper}>
<ArrowForwardIosIcon />
Expand All @@ -114,25 +114,19 @@ const Home = () => {
</Box>
</Box>
<Box className={classes.rowsBox}>
<Typography variant="h5">But how does it work?</Typography>
<Typography variant="h5">How does it work?</Typography>
<Box className={classes.displayInline}>
<Box className={classes.orgWrapper}>
<img alt="help" src={Help} />
<Typography>
You can help by buying goods created by your choice of cause
</Typography>
<Typography>Buy NFTs to support your favorite causes</Typography>
</Box>
<Box className={classes.orgWrapper}>
<img alt="gift" src={Gift} />
<Typography>
Natural rescue organizations create NFT Goods for free.
</Typography>
<img alt="organization" src={Organization} />
<Typography>Collect and use gGoods as in-app items</Typography>
</Box>
<Box className={classes.orgWrapper}>
<img alt="organization" src={Organization} />
<Typography>
Organizations can continue to operate and help preserve nature.{' '}
</Typography>
<img alt="gift" src={Gift} />
<Typography>Help your NGO or community fundraise</Typography>
</Box>
</Box>
</Box>
Expand Down Expand Up @@ -170,7 +164,7 @@ const Home = () => {
))}
</Box>
<Box className={classes.browseGoods}>
<Button size="small">Browse goods</Button>
<Button size="small">Browse goods for sale</Button>
</Box>
</Box>
)
Expand Down
15 changes: 7 additions & 8 deletions webapp/src/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ const routes = [
path: '/',
exact: true
},
{
name: 'organizations',
icon: <PublicIcon />,
component: Organizations,
path: '/organizations',
exact: true
},
{
path: '/organization/:id',
component: Organization
Expand Down Expand Up @@ -90,7 +83,13 @@ const routes = [
exact: true,
roles: ['organization']
},

{
name: 'organizations',
icon: <PublicIcon />,
component: Organizations,
path: '/organizations',
exact: true
},
{
name: 'about',
icon: <InfoIcon />,
Expand Down

0 comments on commit f7fd733

Please sign in to comment.