Skip to content

Commit

Permalink
feat: add a brief description for the sponsor button; (#154)
Browse files Browse the repository at this point in the history
* feat: add sponsor list generator;

* feat: added deploy action;

* fix: fixed layout;

* fix: use utm links inside tooltips;

* fix(CI): set engine version;

* chore: reverted the start button title change;

* fix: add the ability to retry the request to get a list of sponsors;

* feat: add a brief description for the sponsor button;

---------

Co-authored-by: Jay <[email protected]>
  • Loading branch information
DigitalBrainJS and jasonsaayman committed Oct 26, 2023
1 parent 20726a0 commit 05210f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions en.lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ module.exports = {
subhead: `Axios is a simple promise based HTTP client for the browser and node.js.
Axios provides a simple to use library in a small package with a very
extensible interface.`,
sponsors: `<p>Thank you for considering supporting our project.</p>
<p>You will be automatically added to this list within 24 hours if the tier you select provides this benefit.</p>`
},
// `t` stands fot `translation`. This will contain translations of single words or phrases
t: {
Expand Down
2 changes: 1 addition & 1 deletion templates/home.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
</li>
<% } %>
<% }) %>
<li class="splide__slide sponsor-card become_sponsor">
<li class="splide__slide sponsor-card become_sponsor" <% if(locale.p['sponsors']){%>data-tippy-content="<%= locale.p['sponsors'] %>"<% } %>>
<a class="button" href="https://opencollective.com/axios/contribute"><%= locale.t['Become a sponsor'] || 'Become a sponsor' %></a>
</li>
</ul>
Expand Down

0 comments on commit 05210f9

Please sign in to comment.