Skip to content

Commit

Permalink
Merge pull request #346 from AstarNetwork/feat/financial-support
Browse files Browse the repository at this point in the history
replace to the financial support form
  • Loading branch information
Kahonnohak committed Mar 18, 2024
2 parents 99e7942 + eac9e85 commit 8e8ef00
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 9 deletions.
18 changes: 17 additions & 1 deletion components/home/Funding.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,22 @@
</div>
</div>

<div class="text-center mt-8 sm:mt-12">
<div class="flex flex-col sm:flex-row gap-4 justify-center mt-8 sm:mt-12">
<Button :href="localePath('/developers/')" color="whiteGray">
{{ $t("home.funding.cta") }}
</Button>

<Button
color="whiteGray"
data-tf-popup="OUQlTvWu"
data-tf-opacity="100"
data-tf-size="100"
data-tf-iframe-props="title=Support"
data-tf-transitive-search-params
data-tf-medium="snippet"
>
{{ $t("contact.partnerships.title") }}
</Button>
</div>
</div>
</template>
Expand All @@ -60,6 +72,10 @@
const localePath = useLocalePath();
const { t } = useI18n();
useHead({
script: [{ src: "//embed.typeform.com/next/embed.js" }],
});
const data = [
{
title: t("home.funding.globalHackathons.title"),
Expand Down
2 changes: 1 addition & 1 deletion lang/en-contact.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"partnerships": {
"title": "Financial Suppot",
"description": "dApp staking and integrations support.",
"description": "dApp staking and grants support.",
"button": "Get support"
},
"technical": {
Expand Down
4 changes: 2 additions & 2 deletions lang/ja-contact.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"partnerships": {
"title": "ファイナンシャルサポート",
"description": "dAppのステーキングとインテグレーションのサポート",
"button": "サポートへ連絡"
"description": "dAppステーキングと助成金のサポート",
"button": "サポートを受ける"
},
"technical": {
"title": "技術サポート",
Expand Down
2 changes: 1 addition & 1 deletion lang/ko-contact.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"partnerships": {
"title": "재정 지원",
"description": "dApp 스테이킹 및 통합 지원.",
"description": "dApp 스테이킹 및 그랜트 지원.",
"button": "신청하기"
},
"technical": {
Expand Down
8 changes: 4 additions & 4 deletions pages/contact.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
</Button>
</template>

<template v-else-if="item.slug === 'partnerships'">
<template v-else-if="item.slug === 'support'">
<button
class="btn"
data-tf-popup="XcL9Ii6l"
data-tf-popup="OUQlTvWu"
data-tf-opacity="100"
data-tf-size="100"
data-tf-iframe-props="title=Partnerships"
data-tf-iframe-props="title=Support"
data-tf-transitive-search-params
data-tf-medium="snippet"
>
Expand Down Expand Up @@ -126,7 +126,7 @@ const options = [
icon: Marketing,
},
{
slug: "partnerships",
slug: "support",
title: t("contact.partnerships.title"),
description: t("contact.partnerships.description"),
buttonLabel: t("contact.partnerships.button"),
Expand Down

0 comments on commit 8e8ef00

Please sign in to comment.