Skip to content

Commit

Permalink
Update manifest, add Twitter card
Browse files Browse the repository at this point in the history
  • Loading branch information
corbindavenport committed Aug 5, 2022
1 parent 58fef6f commit 06dec84
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
9 changes: 8 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>PhotoStack</title>
<meta name="description" content="Convert, resize, and add watermarks to images all in your web browser.">
<meta name="description" content="PhotoStack can convert, resize, watermark, and crop images in a few clicks.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="css/photostack.css">
Expand All @@ -17,6 +17,13 @@
<link rel="manifest" href="site.webmanifest">
<link rel="shortcut icon" href="favicon.ico">
<meta name="theme-color" content="#222">
<!-- Twitter card -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:creator" content="@corbindavenport" />
<meta name="twitter:title" content="PhotoStack" />
<meta name="twitter:description" content="Convert, resize, watermark, and crop images in a few clicks." />
<meta name="twitter:image" content="https://photostack.app/img/maskable_icon_x512.png" />
<meta name="twitter:image:alt" content="PhotoStack app icon" />
<!-- Analytics -->
<script defer data-domain="edit.photostack.app" src="https://plausible.io/js/plausible.js"></script>
</head>
Expand Down
18 changes: 2 additions & 16 deletions site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "PhotoStack",
"short_name": "PhotoStack",
"description": "Convert, resize, watermark, and crop images in a few clicks.",
"icons": [
{
"src": "img/icon_x192.png",
Expand Down Expand Up @@ -28,20 +29,5 @@
"theme_color": "#303030",
"background_color": "#303030",
"display": "standalone",
"start_url": "/?utm_source=Installed%20App&utm_medium=Shortcut",
"shortcuts": [
{
"name": "Watermarks",
"description": "Open list of watermarks",
"url": "/?open_watermarks=true",
"icons": [
{
"src": "/img/watermark-edit-shortcut.png",
"type": "image/png",
"sizes": "192x192",
"purpose": "any maskable"
}
]
}
]
"start_url": "/?utm_source=Installed%20App&utm_medium=Shortcut"
}

0 comments on commit 06dec84

Please sign in to comment.