add server switch

This commit is contained in:
Alex Turchyn
2023-09-04 01:36:09 +03:00
parent 0cc53066eb
commit 8c8c34cb75
3 changed files with 12 additions and 0 deletions
@@ -0,0 +1,10 @@
<div class="text-center">
<div class="join">
<a href="https://docuseal.co<%= request.fullpath.gsub('docuseal.eu', 'docuseal.co') %>" class="btn bg-base-200 join-item w-32 <%= 'bg-base-300' if request.host == 'docuseal.co' %>">
🌎 Global
</a>
<a href="https://docuseal.eu<%= request.fullpath.gsub('docuseal.co', 'docuseal.eu') %>" class="btn bg-base-200 join-item w-32 <%= 'bg-base-300' if request.host == 'docuseal.eu' %>">
🇪🇺 Europe
</a>
</div>
</div>