Skip to content

Commit

Permalink
update hero message
Browse files Browse the repository at this point in the history
  • Loading branch information
yuetloo committed May 17, 2024
1 parent f8448a1 commit 709c458
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
1 change: 1 addition & 0 deletions vue-app/src/locales/cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@
"title": "将您最喜欢的项目送往月球!",
"subtitle": "您捐赠的每个项目都将获得额外资金。",
"link": "",
"roadToDevcon": "",
"info": "如何运作"
},
"callout": {
Expand Down
5 changes: 3 additions & 2 deletions vue-app/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -658,8 +658,9 @@
},
"hero": {
"title": "Join the Road to Devcon and support Ethereum communities in Southeast Asia!",
"subtitle": "Every community you contribute to gets a portion of extra funding. {link}",
"link": "Check out all the events and join them here!",
"subtitle": "Every community you contribute to gets a portion of extra funding.",
"link": "Check out all the {roadToDevcon} events and join them here!",
"roadToDevcon": "Road to Devcon",
"info": "How it works"
},
"callout": {
Expand Down
1 change: 1 addition & 0 deletions vue-app/src/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@
"title": "¡Envía tus proyectos favoritos a la Luna!",
"subtitle": "Cada proyecto al que contribuyas obtiene una parte de financiamiento adicional.",
"link": "",
"roadToDevcon": "",
"info": "Cómo funciona"
},
"callout": {
Expand Down
17 changes: 10 additions & 7 deletions vue-app/src/views/Landing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@
<div>
<div class="hero-content">
<h1>{{ $t('landing.hero.title') }}</h1>
<i18n-t id="subtitle" class="subtitle" keypath="landing.hero.subtitle" tag="div" scope="global">
<template v-slot:link>
<links class="link-here" to="https://devcon.org/en/road-to-devcon/" hideArrow>{{
$t('landing.hero.link')
}}</links>
</template>
</i18n-t>
<div id="subtitle" class="subtitle">
{{ $t('landing.hero.subtitle') }}
<links class="link-here" to="https://devcon.org/en/road-to-devcon/" hideArrow>
<i18n-t keypath="landing.hero.link" tag="span" scope="global">
<template v-slot:roadToDevcon
><b>{{ $t('landing.hero.roadToDevcon') }}</b></template
>
</i18n-t>
</links>
</div>
<div class="btn-group">
<links v-if="leaderboardRoute" class="btn-action" :to="leaderboardRoute">
{{ $t('landing.button.leaderboard') }}
Expand Down

0 comments on commit 709c458

Please sign in to comment.