From f6247331557227649c21e1b35e543e4a8ebd8d4f Mon Sep 17 00:00:00 2001 From: Alex Turchyn Date: Tue, 4 Jul 2023 23:21:49 +0300 Subject: [PATCH] add share link --- app/views/icons/_send.html.erb | 5 +++++ app/views/shared/_settings_nav.html.erb | 4 ++++ lib/docuseal.rb | 1 + 3 files changed, 10 insertions(+) create mode 100644 app/views/icons/_send.html.erb diff --git a/app/views/icons/_send.html.erb b/app/views/icons/_send.html.erb new file mode 100644 index 00000000..7cd5d465 --- /dev/null +++ b/app/views/icons/_send.html.erb @@ -0,0 +1,5 @@ + + + + + diff --git a/app/views/shared/_settings_nav.html.erb b/app/views/shared/_settings_nav.html.erb index d74ab662..878cc3a5 100644 --- a/app/views/shared/_settings_nav.html.erb +++ b/app/views/shared/_settings_nav.html.erb @@ -40,5 +40,9 @@ <%= svg_icon('brand_twitter', class: 'w-8 h-8') %> + " target="_blank" class="btn btn-neutral btn-outline w-full mt-6"> + <%= svg_icon('send', class: 'h-5 w-5') %> + Tell about us + diff --git a/lib/docuseal.rb b/lib/docuseal.rb index 3e8243d1..ea3793f3 100644 --- a/lib/docuseal.rb +++ b/lib/docuseal.rb @@ -8,6 +8,7 @@ module Docuseal GITHUB_URL = 'https://github.com/docusealco/docuseal' DISCORD_URL = 'https://discord.com/invite/B5wg5wKk' TWITTER_URL = 'https://twitter.com/docusealco' + TWITTER_HANDLE = '@docusealco' CERTS = JSON.parse(ENV.fetch('CERTS', '{}'))