From eabdbac1ede57edd6b077e9ea45be21e0e283353 Mon Sep 17 00:00:00 2001 From: cballevre Date: Thu, 28 Nov 2024 17:32:43 +0100 Subject: [PATCH] feat: Every one use assets --- manifest.webapp | 12 ++++++++---- src/targets/browser/index.ejs | 8 ++++---- src/targets/public/index.ejs | 3 +++ 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/manifest.webapp b/manifest.webapp index ec9682fd..2f4fa73c 100644 --- a/manifest.webapp +++ b/manifest.webapp @@ -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", @@ -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": "/", @@ -37,6 +37,10 @@ "folder": "/public", "index": "index.html", "public": true + }, + "/assets": { + "folder": "/assets", + "public": true } }, "services": { diff --git a/src/targets/browser/index.ejs b/src/targets/browser/index.ejs index 0fbcb436..62a0bd17 100755 --- a/src/targets/browser/index.ejs +++ b/src/targets/browser/index.ejs @@ -3,10 +3,10 @@ <%= htmlPlugin.options.title %> - - - - + + + + Public Cozy Photos + + +