added support section

This commit is contained in:
Ell 2022-03-23 18:06:12 +01:00
parent dfbf454c3e
commit 377a210063
2 changed files with 11 additions and 4 deletions

View file

@ -270,5 +270,10 @@ class CustomFramesSettingTab extends PluginSettingTab {
await this.plugin.saveSettings(); await this.plugin.saveSettings();
this.display(); this.display();
}); });
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: "custom-frames-support" });
} }
} }

View file

@ -11,10 +11,12 @@
background-clip: content-box; background-clip: content-box;
} }
.custom-frames-add {
padding: 0 0 18px 0;
}
.custom-frames-add button { .custom-frames-add button {
margin-left: 10px; margin-left: 10px;
} }
.custom-frames-support {
max-width: 50%;
width: 400px;
height: auto;
}