From d0f21e80787426bb819cb0e1244037172fb279c2 Mon Sep 17 00:00:00 2001
From: timvisee
Date: Wed, 23 Apr 2025 10:07:40 +0200
Subject: [PATCH 01/13] Add customizable notice on main page and in downloads
list
---
app/ui/home.js | 13 +++++++++++++
app/ui/intro.js | 12 ++++++++++++
server/clientConstants.js | 2 ++
server/config.js | 10 ++++++++++
4 files changed, 37 insertions(+)
diff --git a/app/ui/home.js b/app/ui/home.js
index cfa38564..6431aeab 100644
--- a/app/ui/home.js
+++ b/app/ui/home.js
@@ -1,4 +1,5 @@
const html = require('choo/html');
+const raw = require('choo/html/raw');
const { list } = require('../utils');
const archiveTile = require('./archiveTile');
const modal = require('./modal');
@@ -16,7 +17,19 @@ module.exports = function(state, emit) {
} else {
left = archiveTile.empty(state, emit);
}
+
+ if (archives.length > 0 && state.WEB_UI.DOWNLOAD_LIST_NOTICE_HTML) {
+ archives.push(html`
+
+ ${raw(state.WEB_UI.DOWNLOAD_LIST_NOTICE_HTML)}
+
+ `);
+ }
+
archives.reverse();
+
const right =
archives.length === 0
? intro(state)
diff --git a/app/ui/intro.js b/app/ui/intro.js
index c9181837..dc1a1627 100644
--- a/app/ui/intro.js
+++ b/app/ui/intro.js
@@ -1,6 +1,17 @@
const html = require('choo/html');
+const raw = require('choo/html/raw');
module.exports = function intro(state) {
+ const notice = state.WEB_UI.MAIN_NOTICE_HTML
+ ? html`
+
+ ${raw(state.WEB_UI.MAIN_NOTICE_HTML)}
+
+ `
+ : '';
+
return html`
${state.translate('introDescription')}
+ ${notice}
`;
diff --git a/server/clientConstants.js b/server/clientConstants.js
index 4786bcff..dc77ac0e 100644
--- a/server/clientConstants.js
+++ b/server/clientConstants.js
@@ -15,7 +15,9 @@ module.exports = {
FOOTER_SOURCE_URL: config.footer_source_url,
CUSTOM_FOOTER_TEXT: config.custom_footer_text,
CUSTOM_FOOTER_URL: config.custom_footer_url,
+ MAIN_NOTICE_HTML: config.main_notice_html,
UPLOAD_AREA_WARNING_HTML: config.upload_area_warning_html,
+ DOWNLOAD_LIST_NOTICE_HTML: config.download_list_notice_html,
DOWNLOAD_WARNING_HTML: config.download_warning_html,
COLORS: {
PRIMARY: config.ui_color_primary,
diff --git a/server/config.js b/server/config.js
index ffab7bd3..fdf42886 100644
--- a/server/config.js
+++ b/server/config.js
@@ -264,11 +264,21 @@ const conf = convict({
default: '',
env: 'CUSTOM_FOOTER_URL'
},
+ main_notice_html: {
+ format: String,
+ default: '',
+ env: 'SEND_MAIN_NOTICE_HTML'
+ },
upload_area_warning_html: {
format: String,
default: '',
env: 'SEND_UPLOAD_AREA_WARNING_HTML'
},
+ download_list_notice_html: {
+ format: String,
+ default: '',
+ env: 'SEND_DOWNLOAD_LIST_NOTICE_HTML'
+ },
download_warning_html: {
format: String,
default: '',
From 1fb2f45285c6b2db352ef74745c44bfd0ebe40f6 Mon Sep 17 00:00:00 2001
From: timvisee
Date: Wed, 23 Apr 2025 10:08:11 +0200
Subject: [PATCH 02/13] Rename existing warnings to notices
---
app/ui/archiveTile.js | 12 ++++++------
server/clientConstants.js | 4 ++--
server/config.js | 8 ++++----
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/app/ui/archiveTile.js b/app/ui/archiveTile.js
index 9a22cdf5..fb14e54a 100644
--- a/app/ui/archiveTile.js
+++ b/app/ui/archiveTile.js
@@ -486,12 +486,12 @@ module.exports.empty = function(state, emit) {
})}
`;
- const warning = state.WEB_UI.UPLOAD_AREA_WARNING_HTML
+ const uploadNotice = state.WEB_UI.UPLOAD_AREA_NOTICE_HTML
? html`
- ${raw(state.WEB_UI.UPLOAD_AREA_WARNING_HTML)}
+ ${raw(state.WEB_UI.UPLOAD_AREA_NOTICE_HTML)}
`
: '';
@@ -536,7 +536,7 @@ module.exports.empty = function(state, emit) {
>
${state.translate('addFilesButton')}
- ${upsell} ${warning}
+ ${upsell} ${uploadNotice}
`;
@@ -569,12 +569,12 @@ module.exports.preview = function(state, emit) {
${archiveDetails(state.translate, archive)}
`;
- const warning = state.WEB_UI.DOWNLOAD_WARNING_HTML
+ const notice = state.WEB_UI.DOWNLOAD_NOTICE_HTML
? html`
- ${raw(state.WEB_UI.DOWNLOAD_WARNING_HTML)}
+ ${raw(state.WEB_UI.DOWNLOAD_NOTICE_HTML)}
`
: '';
@@ -594,7 +594,7 @@ module.exports.preview = function(state, emit) {
>
${state.translate('downloadButtonLabel')}
- ${warning}
+ ${notice}
`;
diff --git a/server/clientConstants.js b/server/clientConstants.js
index dc77ac0e..48e0964e 100644
--- a/server/clientConstants.js
+++ b/server/clientConstants.js
@@ -16,9 +16,9 @@ module.exports = {
CUSTOM_FOOTER_TEXT: config.custom_footer_text,
CUSTOM_FOOTER_URL: config.custom_footer_url,
MAIN_NOTICE_HTML: config.main_notice_html,
- UPLOAD_AREA_WARNING_HTML: config.upload_area_warning_html,
+ UPLOAD_AREA_NOTICE_HTML: config.upload_area_notice_html,
DOWNLOAD_LIST_NOTICE_HTML: config.download_list_notice_html,
- DOWNLOAD_WARNING_HTML: config.download_warning_html,
+ DOWNLOAD_NOTICE_HTML: config.download_notice_html,
COLORS: {
PRIMARY: config.ui_color_primary,
ACCENT: config.ui_color_accent
diff --git a/server/config.js b/server/config.js
index fdf42886..0c71d9c1 100644
--- a/server/config.js
+++ b/server/config.js
@@ -269,20 +269,20 @@ const conf = convict({
default: '',
env: 'SEND_MAIN_NOTICE_HTML'
},
- upload_area_warning_html: {
+ upload_area_notice_html: {
format: String,
default: '',
- env: 'SEND_UPLOAD_AREA_WARNING_HTML'
+ env: 'SEND_UPLOAD_AREA_NOTICE_HTML'
},
download_list_notice_html: {
format: String,
default: '',
env: 'SEND_DOWNLOAD_LIST_NOTICE_HTML'
},
- download_warning_html: {
+ download_notice_html: {
format: String,
default: '',
- env: 'SEND_DOWNLOAD_WARNING_HTML'
+ env: 'SEND_DOWNLOAD_NOTICE_HTML'
},
ui_color_primary: {
format: String,
From 11aad6eac54872f08c8c5a7b700d1747eb2d8d1a Mon Sep 17 00:00:00 2001
From: timvisee
Date: Wed, 23 Apr 2025 10:09:51 +0200
Subject: [PATCH 03/13] Rename downloads list to uploads list
---
app/ui/home.js | 4 ++--
server/clientConstants.js | 2 +-
server/config.js | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/app/ui/home.js b/app/ui/home.js
index 6431aeab..63238266 100644
--- a/app/ui/home.js
+++ b/app/ui/home.js
@@ -18,12 +18,12 @@ module.exports = function(state, emit) {
left = archiveTile.empty(state, emit);
}
- if (archives.length > 0 && state.WEB_UI.DOWNLOAD_LIST_NOTICE_HTML) {
+ if (archives.length > 0 && state.WEB_UI.UPLOADS_LIST_NOTICE_HTML) {
archives.push(html`
- ${raw(state.WEB_UI.DOWNLOAD_LIST_NOTICE_HTML)}
+ ${raw(state.WEB_UI.UPLOADS_LIST_NOTICE_HTML)}
`);
}
diff --git a/server/clientConstants.js b/server/clientConstants.js
index 48e0964e..6df763ec 100644
--- a/server/clientConstants.js
+++ b/server/clientConstants.js
@@ -17,7 +17,7 @@ module.exports = {
CUSTOM_FOOTER_URL: config.custom_footer_url,
MAIN_NOTICE_HTML: config.main_notice_html,
UPLOAD_AREA_NOTICE_HTML: config.upload_area_notice_html,
- DOWNLOAD_LIST_NOTICE_HTML: config.download_list_notice_html,
+ UPLOADS_LIST_NOTICE_HTML: config.uploads_list_notice_html,
DOWNLOAD_NOTICE_HTML: config.download_notice_html,
COLORS: {
PRIMARY: config.ui_color_primary,
diff --git a/server/config.js b/server/config.js
index 0c71d9c1..1df07bad 100644
--- a/server/config.js
+++ b/server/config.js
@@ -274,10 +274,10 @@ const conf = convict({
default: '',
env: 'SEND_UPLOAD_AREA_NOTICE_HTML'
},
- download_list_notice_html: {
+ uploads_list_notice_html: {
format: String,
default: '',
- env: 'SEND_DOWNLOAD_LIST_NOTICE_HTML'
+ env: 'SEND_UPLOADS_LIST_NOTICE_HTML'
},
download_notice_html: {
format: String,
From 0088a4ccc0b7dedddde9a37e85cb36b8b151d7c0 Mon Sep 17 00:00:00 2001
From: timvisee
Date: Wed, 23 Apr 2025 10:10:22 +0200
Subject: [PATCH 04/13] Add class to underline text
---
app/main.css | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/app/main.css b/app/main.css
index db3852fc..e9f17be4 100644
--- a/app/main.css
+++ b/app/main.css
@@ -167,6 +167,10 @@ footer li a:hover {
width: auto;
}
+.text-underline {
+ text-decoration: underline;
+}
+
.main {
display: flex;
position: relative;
From b3317df7077450c2ab9a7de61aee9c870905a73b Mon Sep 17 00:00:00 2001
From: timvisee
Date: Wed, 23 Apr 2025 10:46:26 +0200
Subject: [PATCH 05/13] Move main notice on top of text
---
app/ui/intro.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/ui/intro.js b/app/ui/intro.js
index dc1a1627..dbdd3dc1 100644
--- a/app/ui/intro.js
+++ b/app/ui/intro.js
@@ -5,7 +5,7 @@ module.exports = function intro(state) {
const notice = state.WEB_UI.MAIN_NOTICE_HTML
? html`
${raw(state.WEB_UI.MAIN_NOTICE_HTML)}
@@ -16,6 +16,7 @@ module.exports = function intro(state) {
+ ${notice}
${state.translate('introTitle')}
@@ -23,7 +24,6 @@ module.exports = function intro(state) {
${state.translate('introDescription')}
- ${notice}
`;
From 56a0e830bd18b456e82cb6c9533c1174dd22fc3b Mon Sep 17 00:00:00 2001
From: timvisee
Date: Wed, 23 Apr 2025 10:47:15 +0200
Subject: [PATCH 06/13] Bump version to 3.4.25
---
package-lock.json | 4 ++--
package.json | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 5e3567b8..228c8428 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "send",
- "version": "3.4.24",
+ "version": "3.4.25",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "send",
- "version": "3.4.24",
+ "version": "3.4.25",
"license": "MPL-2.0",
"dependencies": {
"@dannycoates/express-ws": "^5.0.3",
diff --git a/package.json b/package.json
index 7e492253..7e0e7240 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "send",
"description": "File Sharing Experiment",
- "version": "3.4.24",
+ "version": "3.4.25",
"author": "Mozilla (https://mozilla.org)",
"contributors": [
"Tim Visee <3a4fb3964f@sinenomine.email> (https://timvisee.com)"
From 197b0bcf59ca16b40afbde35ada9309d208d0445 Mon Sep 17 00:00:00 2001
From: timvisee
Date: Wed, 23 Apr 2025 21:01:10 +0200
Subject: [PATCH 07/13] Update contribute.json
---
public/contribute.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/public/contribute.json b/public/contribute.json
index c54a6262..df405da9 100644
--- a/public/contribute.json
+++ b/public/contribute.json
@@ -1,17 +1,17 @@
{
- "name": "firefox-send",
+ "name": "send",
"description": "File Sharing Experiment",
"repository": {
- "url": "https://github.com/send/send/",
+ "url": "https://github.com/timvisee/send/",
"license": "MPL-2.0"
},
"participate": {
- "home": "https://github.com/send/send/blob/master/README.md",
- "docs": "https://github.com/send/send/blob/master/README.md"
+ "home": "https://github.om/timvisee/send/blob/master/README.md",
+ "docs": "https://github.com/timvisee/send/blob/master/README.md"
},
"bugs": {
- "list": "https://gitlab.com/send/send/issues",
- "report": "https://gitlab.com/send/send/issues/new"
+ "list": "https://github.com/timvisee/send/issues",
+ "report": "https://github.com/timvisee/send/issues/new"
},
"keywords": [
"JavaScript",
From c0cf7bbda2036289dd92450165a4b906211137b3 Mon Sep 17 00:00:00 2001
From: Raymond Hear
Date: Tue, 20 May 2025 17:27:44 -0400
Subject: [PATCH 08/13] fix: use Authorization header
---
app/api.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/api.js b/app/api.js
index f271ea2e..2d1238c2 100644
--- a/app/api.js
+++ b/app/api.js
@@ -43,7 +43,7 @@ function post(obj, bearerToken) {
'Content-Type': 'application/json'
};
if (bearerToken) {
- h['Authentication'] = `Bearer ${bearerToken}`;
+ h['Authorization'] = `Bearer ${bearerToken}`;
}
return {
method: 'POST',
From 0a6bf39353036b6f1ea2359b7212725ac67529a2 Mon Sep 17 00:00:00 2001
From: timvisee
Date: Mon, 30 Jun 2025 23:12:54 +0200
Subject: [PATCH 09/13] Add Thunderbird sponsorship banner to home, uploads and
download page
---
app/main.css | 4 +++
app/ui/archiveTile.js | 25 +++++++++++++-
app/ui/home.js | 25 ++++++++++++++
app/ui/intro.js | 26 +++++++++++++++
assets/thunderbird-icon.svg | 65 +++++++++++++++++++++++++++++++++++++
server/clientConstants.js | 1 +
server/config.js | 5 +++
7 files changed, 150 insertions(+), 1 deletion(-)
create mode 100644 assets/thunderbird-icon.svg
diff --git a/app/main.css b/app/main.css
index e9f17be4..0b9bf723 100644
--- a/app/main.css
+++ b/app/main.css
@@ -171,6 +171,10 @@ footer li a:hover {
text-decoration: underline;
}
+.d-block {
+ display: block;
+}
+
.main {
display: flex;
position: relative;
diff --git a/app/ui/archiveTile.js b/app/ui/archiveTile.js
index fb14e54a..39ec82b3 100644
--- a/app/ui/archiveTile.js
+++ b/app/ui/archiveTile.js
@@ -578,6 +578,29 @@ module.exports.preview = function(state, emit) {
`
: '';
+ const sponsor = state.WEB_UI.SHOW_THUNDERBIRD_SPONSOR
+ ? html`
+
+
+ Sponsored by Thunderbird
+
+ `
+ : '';
return html`
${state.translate('downloadButtonLabel')}
- ${notice}
+ ${notice} ${sponsor}
`;
diff --git a/app/ui/home.js b/app/ui/home.js
index 63238266..4215fcb1 100644
--- a/app/ui/home.js
+++ b/app/ui/home.js
@@ -4,6 +4,7 @@ const { list } = require('../utils');
const archiveTile = require('./archiveTile');
const modal = require('./modal');
const intro = require('./intro');
+const assets = require('../../common/assets');
module.exports = function(state, emit) {
const archives = state.storage.files
@@ -30,6 +31,30 @@ module.exports = function(state, emit) {
archives.reverse();
+ if (archives.length > 0 && state.WEB_UI.SHOW_THUNDERBIRD_SPONSOR) {
+ archives.push(html`
+
+
+ Sponsored by Thunderbird
+
+ `);
+ }
+
const right =
archives.length === 0
? intro(state)
diff --git a/app/ui/intro.js b/app/ui/intro.js
index dbdd3dc1..6fdbfd43 100644
--- a/app/ui/intro.js
+++ b/app/ui/intro.js
@@ -1,5 +1,6 @@
const html = require('choo/html');
const raw = require('choo/html/raw');
+const assets = require('../../common/assets');
module.exports = function intro(state) {
const notice = state.WEB_UI.MAIN_NOTICE_HTML
@@ -12,6 +13,30 @@ module.exports = function intro(state) {
`
: '';
+ const sponsor = state.WEB_UI.SHOW_THUNDERBIRD_SPONSOR
+ ? html`
+
+
+ Sponsored by Thunderbird
+
+ `
+ : '';
+
return html`
+ ${sponsor}
`;
};
diff --git a/assets/thunderbird-icon.svg b/assets/thunderbird-icon.svg
new file mode 100644
index 00000000..4f555086
--- /dev/null
+++ b/assets/thunderbird-icon.svg
@@ -0,0 +1,65 @@
+
\ No newline at end of file
diff --git a/server/clientConstants.js b/server/clientConstants.js
index 6df763ec..b340f585 100644
--- a/server/clientConstants.js
+++ b/server/clientConstants.js
@@ -19,6 +19,7 @@ module.exports = {
UPLOAD_AREA_NOTICE_HTML: config.upload_area_notice_html,
UPLOADS_LIST_NOTICE_HTML: config.uploads_list_notice_html,
DOWNLOAD_NOTICE_HTML: config.download_notice_html,
+ SHOW_THUNDERBIRD_SPONSOR: config.show_thunderbird_sponsor,
COLORS: {
PRIMARY: config.ui_color_primary,
ACCENT: config.ui_color_accent
diff --git a/server/config.js b/server/config.js
index 1df07bad..07b94d61 100644
--- a/server/config.js
+++ b/server/config.js
@@ -284,6 +284,11 @@ const conf = convict({
default: '',
env: 'SEND_DOWNLOAD_NOTICE_HTML'
},
+ show_thunderbird_sponsor: {
+ format: Boolean,
+ default: false,
+ env: 'SHOW_THUNDERBIRD_SPONSOR'
+ },
ui_color_primary: {
format: String,
default: '#0a84ff',
From 154a8a90c13d02ff90642e88550cd0adea667d01 Mon Sep 17 00:00:00 2001
From: timvisee
Date: Mon, 30 Jun 2025 23:25:43 +0200
Subject: [PATCH 10/13] Add sponsored by Thunderbird label to translations
---
app/ui/archiveTile.js | 2 +-
public/locales/en-CA/send.ftl | 2 ++
public/locales/en-GB/send.ftl | 2 ++
public/locales/en-US/send.ftl | 2 ++
public/locales/nl/send.ftl | 4 +++-
5 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/app/ui/archiveTile.js b/app/ui/archiveTile.js
index 39ec82b3..e8d77900 100644
--- a/app/ui/archiveTile.js
+++ b/app/ui/archiveTile.js
@@ -597,7 +597,7 @@ module.exports.preview = function(state, emit) {
height="30"
/>
- Sponsored by Thunderbird
+ ${state.translate('sponsoredByThunderbird')}
`
: '';
diff --git a/public/locales/en-CA/send.ftl b/public/locales/en-CA/send.ftl
index 35fd7ba7..a7b71adf 100644
--- a/public/locales/en-CA/send.ftl
+++ b/public/locales/en-CA/send.ftl
@@ -147,3 +147,5 @@ shareLinkButton = Share link
shareMessage = Download “{ $name }” with { -send-brand }: simple, safe file sharing
trailheadPromo = There is a way to protect your privacy. Join Firefox.
learnMore = Learn more.
+
+sponsoredByThunderbird = Sponsored by Thunderbird
diff --git a/public/locales/en-GB/send.ftl b/public/locales/en-GB/send.ftl
index 1fb7a3f8..3b57c4e4 100644
--- a/public/locales/en-GB/send.ftl
+++ b/public/locales/en-GB/send.ftl
@@ -152,3 +152,5 @@ shareLinkButton = Share link
shareMessage = Download “{ $name }” with { -send-brand }: simple, safe file sharing
trailheadPromo = There is a way to protect your privacy. Join Firefox.
learnMore = Learn more.
+
+sponsoredByThunderbird = Sponsored by Thunderbird
diff --git a/public/locales/en-US/send.ftl b/public/locales/en-US/send.ftl
index 36e482f4..f42090c7 100644
--- a/public/locales/en-US/send.ftl
+++ b/public/locales/en-US/send.ftl
@@ -143,3 +143,5 @@ shareLinkButton = Share link
# $name is the name of the file
shareMessage = Download “{ $name }” with { -send-brand }: simple, safe file sharing
learnMore = Learn more.
+
+sponsoredByThunderbird = Sponsored by Thunderbird
diff --git a/public/locales/nl/send.ftl b/public/locales/nl/send.ftl
index ba738802..15f091d4 100644
--- a/public/locales/nl/send.ftl
+++ b/public/locales/nl/send.ftl
@@ -52,7 +52,7 @@ passwordSetError = Dit wachtwoord kon niet worden ingesteld
-send-short-brand = Send
-firefox = Firefox
-mozilla = Mozilla
-introTitle = Bestanden delen, eenvoudig en privé
+introTitle = Bestanden delen, eenvoudig en privé
introDescription = Met { -send-brand } kunt u bestanden delen met end-to-endversleuteling en een koppeling die automatisch verloopt. Hierdoor kunt u privé houden wat u wilt delen en er zeker van zijn dat uw zaken niet voor altijd online blijven.
notifyUploadEncryptDone = Uw bestand is versleuteld en klaar voor verzending
# downloadCount is from the downloadCount string and timespan is a timespanMinutes string. ex. 'Expires after 2 downloads or 25 minutes'
@@ -152,3 +152,5 @@ shareLinkButton = Koppeling delen
shareMessage = Download ‘{ $name }’ met { -send-brand }: eenvoudig, veilig bestanden delen
trailheadPromo = Er is een manier om uw privacy te beschermen. Doe mee met Firefox.
learnMore = Meer info.
+
+sponsoredByThunderbird = Gesponsord door Thunderbird
From 8a82e53e82f97599c3331ab24205f3226f3d295d Mon Sep 17 00:00:00 2001
From: timvisee
Date: Mon, 30 Jun 2025 23:51:40 +0200
Subject: [PATCH 11/13] Bump version to 3.4.26
---
package-lock.json | 4 ++--
package.json | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 228c8428..0a2608c6 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "send",
- "version": "3.4.25",
+ "version": "3.4.26",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "send",
- "version": "3.4.25",
+ "version": "3.4.26",
"license": "MPL-2.0",
"dependencies": {
"@dannycoates/express-ws": "^5.0.3",
diff --git a/package.json b/package.json
index 7e0e7240..09b9da52 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "send",
"description": "File Sharing Experiment",
- "version": "3.4.25",
+ "version": "3.4.26",
"author": "Mozilla (https://mozilla.org)",
"contributors": [
"Tim Visee <3a4fb3964f@sinenomine.email> (https://timvisee.com)"
From b93256316b7ac380ee29aa20bf005f2dd393935f Mon Sep 17 00:00:00 2001
From: timvisee
Date: Tue, 1 Jul 2025 08:50:18 +0200
Subject: [PATCH 12/13] Move icon styles into stylesheet
---
app/main.css | 8 ++++++++
app/ui/archiveTile.js | 3 +--
app/ui/home.js | 3 +--
app/ui/intro.js | 3 +--
4 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/app/main.css b/app/main.css
index 0b9bf723..6a42290e 100644
--- a/app/main.css
+++ b/app/main.css
@@ -175,6 +175,14 @@ footer li a:hover {
display: block;
}
+.d-inline-block {
+ display: inline-block;
+}
+
+.align-middle {
+ vertical-align: middle;
+}
+
.main {
display: flex;
position: relative;
diff --git a/app/ui/archiveTile.js b/app/ui/archiveTile.js
index e8d77900..84ecf1f6 100644
--- a/app/ui/archiveTile.js
+++ b/app/ui/archiveTile.js
@@ -587,8 +587,7 @@ module.exports.preview = function(state, emit) {