mirror of
https://github.com/we-promise/sure.git
synced 2026-04-08 14:54:49 +00:00
* pwa(cleanup): enforce LF, head meta + icons, manifest orientation, remove static webmanifest * pwa(cleanup): add gitattributes, head meta/icons, manifest orientation; remove static manifest; small nav & dashboard fixes * pwa(cleanup): improve transaction drawer header layout with inline close button * fix: address PR review feedback - Add dom_id to transaction header for Turbo Stream updates (Codex) - Add pending badge next to date when transaction is pending (CodeRabbit) - Make close button keyboard-focusable by removing tabindex=-1 (CodeRabbit) - Fix settings nav horizontal scroll with flex-nowrap space-x-1 (CodeRabbit) * fix: localize 'Linked with Plaid' tooltip string (CodeRabbit) * Update .gitattributes Better comment smh * fix: align transaction/transfer dialog icons and update transfer drawer pattern - Fix icon alignment in transaction header (items-center instead of items-start) - Make transfer/linked icons consistent size and color - Update transfers/show.html.erb to use frame: drawer with hide_close_icon pattern - Match transfer dialog header layout with transaction details * fix: enhance header layout This in the transaction and transfer views, with consistent icon placement * fix: remove fixed height from HTML document class basically a regression issue pretty sure * fix: update dialog rendering to use 'frame' and hide close icon in headers * fix: update transaction type tabs layout for improved responsiveness * fix: conditionally render transaction type tabs based on account type
42 lines
1.7 KiB
Plaintext
42 lines
1.7 KiB
Plaintext
<head>
|
|
<title><%= content_for(:title) || product_name %></title>
|
|
|
|
<%= csrf_meta_tags %>
|
|
<%= csp_meta_tag %>
|
|
|
|
<%= stylesheet_link_tag "tailwind", "data-turbo-track": "reload" %>
|
|
|
|
<%= combobox_style_tag %>
|
|
|
|
<%= yield :plaid_link %>
|
|
<%= javascript_importmap_tags %>
|
|
<%= render "layouts/dark_mode_check" %>
|
|
<%= turbo_refreshes_with method: :morph, scroll: :preserve %>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, viewport-fit=cover">
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
<meta name="apple-mobile-web-app-title" content="<%= product_name %>">
|
|
<meta name="color-scheme" content="dark light">
|
|
|
|
<%# Use theme colors that match both light and dark modes %>
|
|
<meta name="msapplication-TileColor" content="#0B0B0B">
|
|
<meta name="theme-color" content="#F9F9F9" media="(prefers-color-scheme: light)">
|
|
<meta name="theme-color" content="#0B0B0B" media="(prefers-color-scheme: dark)">
|
|
|
|
<link rel="manifest" href="<%= pwa_manifest_path %>">
|
|
<%# Provide multiple iOS icons (standard 180x180 and larger) %>
|
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
<link rel="apple-touch-icon" sizes="512x512" href="/logo-pwa.png">
|
|
<link rel="icon" sizes="192x192" type="image/png" href="/android-chrome-192x192.png">
|
|
|
|
<% if Rails.env.production? && (posthog_config = Rails.configuration.x.posthog).try(:api_key).present? %>
|
|
<%= render "shared/posthog", posthog_api_key: posthog_config.api_key, posthog_host: posthog_config.host %>
|
|
<% end %>
|
|
|
|
<%= yield :head %>
|
|
</head>
|