Module: ApplicationHelper

Defined in:
lib/generators/trek/templates/helpers/application_helper.rb

Instance Method Summary collapse

Instance Method Details

#admin_full_brandObject



10
11
12
13
14
15
# File 'lib/generators/trek/templates/helpers/application_helper.rb', line 10

def admin_full_brand
  [
    t("admin.brand.title"),
    t("admin.brand.subtitle")
  ].join("")
end

def webfonts_link_tag

stylesheet_link_tag("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap")

end



6
7
8
# File 'lib/generators/trek/templates/helpers/application_helper.rb', line 6

def admin_webfonts_link_tag
  stylesheet_link_tag("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap")
end