Skip to content

Commit

Permalink
Update meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
meg4cyberc4t committed Mar 16, 2024
1 parent e9b17ac commit d299aca
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 49 deletions.
25 changes: 9 additions & 16 deletions web/index.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<!--
If you are serving your web app in a path other than the root, change the
href value below to reflect the base path you are serving from.
The path provided below has to start and end with a slash "/" in order for
it to work correctly.
For more details:
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
This is a placeholder for base href that will be replaced by the value of
the `--base-href` argument provided to `flutter build`.
-->
<base href="$FLUTTER_BASE_HREF">

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="scaffolded-by" content="https://github.com/dart-lang/sdk">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
<meta name="description" content="A new Flutter project.">
<meta name="description" content="Custom template for creating a standalone PWA using Flutter">
<base href="$FLUTTER_BASE_HREF">

<!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
Expand All @@ -30,7 +18,12 @@
<link rel="icon" type="image/png" href="favicon.png"/>

<title>web_template</title>
<meta name="author" content="@meg4cyberc4t">
<meta name="keywords"
content="dart, web, pwa, example, webassembly, canvaskit, html, meg4cyberc4t, molchanovia">
<link rel="manifest" href="manifest.json">
<meta name="full-screen" content="yes">
<meta name="browsermode" content="application">

<script>
// The value below is injected by flutter build, do not touch.
Expand Down
66 changes: 33 additions & 33 deletions web/manifest.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
{
"name": "web_template",
"short_name": "web_template",
"start_url": ".",
"display": "standalone",
"background_color": "#0175C2",
"theme_color": "#0175C2",
"description": "A new Flutter project.",
"orientation": "portrait-primary",
"prefer_related_applications": false,
"icons": [
{
"src": "icons/Icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "icons/Icon-512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "icons/Icon-maskable-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "icons/Icon-maskable-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
]
"name": "web_template",
"short_name": "web_template",
"start_url": ".",
"display": "standalone",
"background_color": "#0175C2",
"theme_color": "#0175C2",
"description": "Custom template for creating a standalone PWA using Flutter",
"orientation": "portrait-primary",
"prefer_related_applications": false,
"icons": [
{
"src": "icons/Icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "icons/Icon-512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "icons/Icon-maskable-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "icons/Icon-maskable-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
]
}

0 comments on commit d299aca

Please sign in to comment.