1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-18 20:59:39 +02:00
This commit is contained in:
Josh Pigford 2024-03-11 09:01:50 -05:00
parent c7cf9bad69
commit 0eddd86e74
12 changed files with 99 additions and 7 deletions

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html class="bg-gray-25 h-full">
<html class="h-full bg-gray-25">
<head>
<title><%= content_for(:title) || "Maybe" %></title>
<meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
@ -8,10 +8,15 @@
<meta name="apple-mobile-web-app-title" content="Maybe">
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/icon.png" type="image/png">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/icon.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#ffffff">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
<%= javascript_importmap_tags %>
@ -20,7 +25,7 @@
<%= yield :head %>
</head>
<body class="h-full">
<div id="notification-tray" class="fixed top-6 right-6 space-y-1 z-50"></div>
<div id="notification-tray" class="fixed z-50 space-y-1 top-6 right-6"></div>
<%= safe_join(flash.map { |type, message| notification(message, type: type) }) %>
<div class="flex">
<div class="flex-col p-5 min-w-80">
@ -71,7 +76,7 @@
<% end %>
</div>
</div>
<main class="flex-grow py-6 px-20">
<main class="flex-grow px-20 py-6">
<%= yield %>
</main>
</div>

View file

@ -7,6 +7,14 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="Maybe">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#ffffff">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
public/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

9
public/browserconfig.xml Normal file
View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>

BIN
public/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 938 B

BIN
public/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
public/mstile-150x150.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View file

@ -0,0 +1,51 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="1000.000000pt" height="1000.000000pt" viewBox="0 0 1000.000000 1000.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.14, written by Peter Selinger 2001-2017
</metadata>
<g transform="translate(0.000000,1000.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M2815 7423 c-141 -33 -251 -115 -315 -234 -130 -245 -19 -537 245
-639 l60 -24 580 -2 c638 -3 644 -2 757 58 71 38 152 123 185 195 27 58 53
173 48 206 -2 12 -6 44 -9 72 -5 52 -60 173 -98 215 -68 74 -169 133 -260 150
-50 10 -1153 12 -1193 3z"/>
<path d="M5960 7416 c-170 -47 -302 -186 -335 -353 -7 -35 -8 -161 -1 -171 3
-5 7 -21 10 -37 9 -46 53 -129 96 -178 48 -54 113 -99 189 -129 55 -22 63 -22
641 -23 454 -2 598 1 642 11 143 34 263 142 317 288 90 242 -58 523 -310 590
-74 20 -1179 22 -1249 2z"/>
<path d="M2437 6124 c-1 -1 -20 -4 -43 -7 -137 -19 -276 -121 -335 -247 -37
-79 -48 -130 -45 -214 6 -167 93 -309 235 -385 110 -58 83 -57 1201 -56 995 2
1027 3 1086 22 222 73 353 294 307 519 -19 97 -61 174 -131 242 -41 40 -141
96 -202 113 -34 9 -291 12 -1058 13 -558 1 -1014 0 -1015 0z"/>
<path d="M5675 6122 c-187 -19 -352 -160 -399 -343 -11 -42 -13 -172 -4 -209
46 -180 196 -322 368 -347 70 -11 1971 -10 1987 0 7 5 22 10 32 12 80 15 205
113 255 198 134 227 53 521 -175 638 -107 54 -69 52 -1089 53 -520 1 -958 0
-975 -2z"/>
<path d="M1915 4765 c-163 -39 -277 -142 -329 -296 -21 -62 -25 -89 -22 -169
1 -52 7 -104 13 -115 6 -11 21 -42 34 -68 48 -101 142 -183 258 -223 66 -23
66 -23 637 -24 392 0 589 3 625 11 193 41 341 215 353 415 5 84 -8 147 -49
230 -60 123 -192 222 -324 243 -85 13 -1138 10 -1196 -4z"/>
<path d="M4140 4768 c-25 -5 -49 -14 -54 -19 -6 -5 -16 -9 -23 -9 -22 0 -95
-51 -145 -102 -80 -80 -126 -193 -126 -307 0 -127 42 -233 128 -321 57 -59
121 -96 206 -120 65 -19 105 -20 879 -19 866 0 852 0 962 51 71 33 168 133
204 213 80 176 47 365 -89 507 -61 64 -147 112 -231 128 -71 13 -1649 12
-1711 -2z"/>
<path d="M6858 4764 c-82 -19 -151 -57 -212 -117 -248 -243 -151 -647 182
-757 53 -18 95 -19 632 -20 619 0 640 1 734 53 147 80 236 229 237 397 1 213
-150 403 -354 445 -87 18 -1141 17 -1219 -1z"/>
<path d="M4511 3467 c-116 -14 -241 -88 -307 -183 -98 -139 -113 -304 -40
-459 55 -118 155 -203 281 -241 54 -16 111 -18 543 -19 335 0 501 3 541 11 84
17 157 58 223 125 246 245 137 657 -199 755 -50 15 -118 17 -518 18 -253 1
-489 -3 -524 -7z"/>
<path d="M1476 3459 c-152 -36 -295 -174 -335 -324 -59 -225 63 -460 284 -546
l60 -23 598 -1 c329 -1 619 2 645 7 165 30 316 177 353 343 53 241 -92 476
-336 541 -39 11 -174 14 -640 13 -324 -1 -608 -5 -629 -10z"/>
<path d="M7267 3459 c-140 -33 -274 -153 -322 -288 -43 -122 -30 -274 32 -380
56 -96 167 -182 273 -212 53 -15 1190 -22 1269 -7 79 14 184 72 239 132 198
217 157 539 -88 696 -108 70 -98 69 -765 68 -330 0 -617 -4 -638 -9z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

19
public/site.webmanifest Normal file
View file

@ -0,0 +1,19 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}