@davoodmehraban89 / LifeMate / commits / ccb9690
Fork 0

LifeMate — Personal, Family & Learning Companion

feat: harden RTL PWA install metadata

davoodmehraban89 committed Oct 5, 2026 at 17:12 UTC ccb96904274acb0d17186f6e77abf119b435663e
1 file changed +6 -29
apps/lifemate/web/index.html
+6 -29
@@ -1,46 +1,23 @@
1 <!DOCTYPE html>
2 -<html>
2 +<html lang="fa" dir="rtl">
3 <head>
4 - <!--
5 - If you are serving your web app in a path other than the root, change the
6 - href value below to reflect the base path you are serving from.
7 -
8 - The path provided below has to start and end with a slash "/" in order for
9 - it to work correctly.
10 -
11 - For more details:
12 - * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
13 -
14 - This is a placeholder for base href that will be replaced by the value of
15 - the `--base-href` argument provided to `flutter build`.
16 - -->
4 <base href="$FLUTTER_BASE_HREF">
18 -
5 <meta charset="UTF-8">
6 <meta content="IE=Edge" http-equiv="X-UA-Compatible">
7 + <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
8 <meta name="description" content="LifeMate — همراه شخصی، تحصیلی و خانوادگی">
22 -
23 - <!-- iOS meta tags & icons -->
9 + <meta name="theme-color" content="#ffffff">
10 <meta name="mobile-web-app-capable" content="yes">
11 + <meta name="apple-mobile-web-app-capable" content="yes">
12 <meta name="apple-mobile-web-app-status-bar-style" content="default">
13 <meta name="apple-mobile-web-app-title" content="LifeMate">
14 <link rel="apple-touch-icon" href="icons/Icon-192.png">
28 -
29 - <!-- Favicon -->
30 - <link rel="icon" type="image/png" href="favicon.png"/>
31 -
15 + <link rel="icon" type="image/png" href="favicon.png">
16 <title>LifeMate</title>
17 <link rel="manifest" href="manifest.json">
18 </head>
19 <body>
36 - <!--
37 - You can customize the "flutter_bootstrap.js" script.
38 - This is useful to provide a custom configuration to the Flutter loader
39 - or to give the user feedback during the initialization process.
40 -
41 - For more details:
42 - * https://docs.flutter.dev/platform-integration/web/initialization
43 - -->
20 + <noscript>برای استفاده از LifeMate جاوااسکریپت را فعال کنید.</noscript>
21 <script src="flutter_bootstrap.js" async></script>
22 </body>
23 </html>