add share link

pull/105/head
Alex Turchyn 2 years ago
parent 95f7fff53d
commit f624733155

@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" class="<%= local_assigns[:class] %>" width="44" height="44" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M10 14l11 -11"></path>
<path d="M21 3l-6.5 18a.55 .55 0 0 1 -1 0l-3.5 -7l-7 -3.5a.55 .55 0 0 1 0 -1l18 -6.5"></path>
</svg>

After

Width:  |  Height:  |  Size: 421 B

@ -40,5 +40,9 @@
<%= svg_icon('brand_twitter', class: 'w-8 h-8') %> <%= svg_icon('brand_twitter', class: 'w-8 h-8') %>
</a> </a>
</div> </div>
<a href="https://twitter.com/intent/tweet?<%= { text: "Open source DocuSign alternative\n#{Docuseal::GITHUB_URL} #{Docuseal::TWITTER_HANDLE}" }.to_query %>" target="_blank" class="btn btn-neutral btn-outline w-full mt-6">
<%= svg_icon('send', class: 'h-5 w-5') %>
Tell about us
</a>
</div> </div>
</div> </div>

@ -8,6 +8,7 @@ module Docuseal
GITHUB_URL = 'https://github.com/docusealco/docuseal' GITHUB_URL = 'https://github.com/docusealco/docuseal'
DISCORD_URL = 'https://discord.com/invite/B5wg5wKk' DISCORD_URL = 'https://discord.com/invite/B5wg5wKk'
TWITTER_URL = 'https://twitter.com/docusealco' TWITTER_URL = 'https://twitter.com/docusealco'
TWITTER_HANDLE = '@docusealco'
CERTS = JSON.parse(ENV.fetch('CERTS', '{}')) CERTS = JSON.parse(ENV.fetch('CERTS', '{}'))

Loading…
Cancel
Save