Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
feat(sponsor): add fillout form url
Browse files Browse the repository at this point in the history
  • Loading branch information
MaloPolese committed Nov 22, 2023
1 parent eb2fd82 commit fe2118d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions public/data/resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"partnersBlock": {
"title": "Sponsors de l'édition 2023",
"button": "Devenez sponsor !",
"formUrl": "https://sunnytech.fillout.com/sponsors2024",
"form": {
"title": "Devenez sponsor !",
"submitLabel": "Envoyer",
Expand Down
16 changes: 14 additions & 2 deletions src/elements/partners-block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,22 @@ export class PartnersBlock extends ReduxMixin(PolymerElement) {
</div>
</template>
<paper-button class="cta-button animated icon-right" on-click="addPotentialPartner">
<!-- <paper-button class="cta-button animated icon-right" on-click="addPotentialPartner">
<span>[[partnersBlock.button]]</span>
<iron-icon icon="hoverboard:arrow-right-circle"></iron-icon>
</paper-button>
</paper-button> -->
<a
target="_blank"
rel="noopener noreferrer"
title$="[[partnersBlock.button]]"
href$="[[partnersBlock.formUrl]]"
>
<paper-button class="cta-button animated icon-right">
<span>[[partnersBlock.button]]</span>
<iron-icon icon="hoverboard:arrow-right-circle"></iron-icon>
</paper-button>
</a>
</div>
`;
}
Expand Down

0 comments on commit fe2118d

Please sign in to comment.