Skip to content

Commit

Permalink
alan/rr-69-mobile-home-icon-tags-browser-color (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpaul authored Mar 12, 2024
2 parents 6f21fe9 + 700ca58 commit f465288
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/layouts/components/_head.html.haml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
%meta{content: "text/html; charset=UTF-8", "http-equiv": "Content-Type"}
%meta{content: "width=device-width,initial-scale=1", name: "viewport"}
%meta{content: "#{BROWSER_THEME_COLOR}", name: "theme-color"}

%link{href: asset_path("#{APPLE_TOUCH_ICON_PATH}"), rel: "apple-touch-icon", sizes: "180x180"}

= display_meta_tags(default_meta_tags)

Expand Down
3 changes: 3 additions & 0 deletions config/initializers/0_constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

APP_NAME = "Rapid Rails".freeze

APPLE_TOUCH_ICON_PATH = "/apple-touch-icon.png".freeze
BROWSER_THEME_COLOR = "#000000".freeze

COMPANY_NAME = "Daniel Paul".freeze
COMPANY_LOCATION = "London, UK".freeze

Expand Down

0 comments on commit f465288

Please sign in to comment.