diff --git a/src/settings-tab.ts b/src/settings-tab.ts index ff7fb0b..06bae5c 100644 --- a/src/settings-tab.ts +++ b/src/settings-tab.ts @@ -75,11 +75,15 @@ export class SimpleTimeTrackerSettingsTab extends PluginSettingTab { }); this.containerEl.createEl("hr"); - this.containerEl.createEl("p", {text: "If you like this plugin and want to support its development, you can do so through my website by clicking this fancy image!"}); - this.containerEl.createEl("a", {href: "https://ellpeck.de/support"}) - .createEl("img", { - attr: {src: "https://ellpeck.de/res/generalsupport.png"}, - cls: "simple-time-tracker-support" - }); + this.containerEl.createEl("p", { text: "Need help using the plugin? Feel free to join the Discord server!" }); + this.containerEl.createEl("a", { href: "https://link.ellpeck.de/discordweb" }).createEl("img", { + attr: { src: "https://ellpeck.de/res/discord-wide.png" }, + cls: "simple-time-tracker-settings-image" + }); + this.containerEl.createEl("p", { text: "If you like this plugin and want to support its development, you can do so through my website by clicking this fancy image!" }); + this.containerEl.createEl("a", { href: "https://ellpeck.de/support" }).createEl("img", { + attr: { src: "https://ellpeck.de/res/generalsupport-wide.png" }, + cls: "simple-time-tracker-settings-image" + }); } } diff --git a/styles.css b/styles.css index 43d8475..96d83fa 100644 --- a/styles.css +++ b/styles.css @@ -2,9 +2,8 @@ overflow-x: scroll; } -.simple-time-tracker-support { - max-width: 50%; - width: 400px; +.simple-time-tracker-settings-image { + width: 100%; height: auto; }