mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
608 B
15 lines
608 B
<%= render 'shared/logo' %>
|
|
<% title_account = defined?(current_account) && current_account
|
|
if title_account
|
|
brand_name, _bn_locked = title_account.config_value(AccountConfig::BRAND_NAME_KEY)
|
|
brand_font, _bf_locked = title_account.config_value(AccountConfig::BRAND_NAME_FONT_KEY)
|
|
end
|
|
brand_name = brand_name.presence || 'DocuSeal'
|
|
brand_font = brand_font.presence %>
|
|
<% brand_font_css = AccountConfig.brand_font_css(brand_font) %>
|
|
<% if brand_font_css %>
|
|
<span style="font-family: <%= brand_font_css %>;"><%= brand_name %></span>
|
|
<% else %>
|
|
<span><%= brand_name %></span>
|
|
<% end %>
|