Skip to content

Commit

Permalink
feat: Every one use assets
Browse files Browse the repository at this point in the history
  • Loading branch information
cballevre committed Nov 28, 2024
1 parent 3e79a45 commit dc9388c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
12 changes: 8 additions & 4 deletions manifest.webapp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"version": "1.68.0",
"type": "webapp",
"licence": "AGPL-3.0",
"icon": "public/app-icon.svg",
"icon": "assets/app-icon.svg",
"categories": ["cozy"],
"source": "https://github.com/cozy/cozy-photos",
"editor": "Cozy",
Expand All @@ -18,15 +18,15 @@
"fr": {
"short_description": "Cozy Photos est l’application de visualisation et gestion de vos photos sur Cozy.",
"long_description": "Avec Cozy Photos vous pourrez :\n- Visualiser toutes les photos présentes dans votre Cozy, classées par date;\n- Organisez vos photos en albums;\n- Partager vos albums avec qui vous le souhaitez.",
"screenshots": ["screenshots/fr/screenshot01.jpg", "screenshots/fr/screenshot02.jpg", "screenshots/fr/screenshot03.jpg"]
"screenshots": ["assets/screenshots/fr/screenshot01.jpg", "assets/screenshots/fr/screenshot02.jpg", "assets/screenshots/fr/screenshot03.jpg"]
},
"en": {
"short_description": "Cozy Photos allows you to view and manage your photos on your Cozy",
"long_description": "With Cozy Photos, you can:\n- Get a timeline of all your memories\n- Organize your photos through albums\n- Share albums with just a link",
"screenshots": ["screenshots/en/screenshot01.jpg", "screenshots/en/screenshot02.jpg", "screenshots/en/screenshot03.jpg"]
"screenshots": ["assets/screenshots/en/screenshot01.jpg", "assets/screenshots/en/screenshot02.jpg", "assets/screenshots/en/screenshot03.jpg"]
}
},
"screenshots": ["screenshots/fr/screenshot01.jpg", "screenshots/fr/screenshot02.jpg", "screenshots/fr/screenshot03.jpg"],
"screenshots": ["assets/screenshots/fr/screenshot01.jpg", "assets/screenshots/fr/screenshot02.jpg", "assets/screenshots/fr/screenshot03.jpg"],
"routes": {
"/": {
"folder": "/",
Expand All @@ -37,6 +37,10 @@
"folder": "/public",
"index": "index.html",
"public": true
},
"/assets": {
"folder": "/assets",
"public": true
}
},
"services": {
Expand Down
8 changes: 4 additions & 4 deletions src/targets/browser/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<head>
<meta charset="utf-8" />
<title><%= htmlPlugin.options.title %></title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16" />
<link rel="manifest" href="/manifest.json" crossOrigin="use-credentials" />
<link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png" />
<link rel="icon" type="image/png" href="/assets/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/assets/favicon-16x16.png" sizes="16x16" />
<link rel="manifest" href="/assets/manifest.json" crossOrigin="use-credentials" />
<meta name="theme-color" content="#ffffff" />
<meta name="color-scheme" content="light dark" />
<meta
Expand Down
3 changes: 3 additions & 0 deletions src/targets/public/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<head>
<meta charset="UTF-8">
<title>Public Cozy Photos</title>
<link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png" />
<link rel="icon" type="image/png" href="/assets/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/assets/favicon-16x16.png" sizes="16x16" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="robots" content="noindex, nofollow, noimageindex">
Expand Down

0 comments on commit dc9388c

Please sign in to comment.