mirror of
https://github.com/Ellpeck/ObsidianSimpleTimeTracker.git
synced 2024-12-18 19:39:22 +01:00
added discord link to settings
This commit is contained in:
parent
3186f1ba4d
commit
ebecd57b91
2 changed files with 12 additions and 9 deletions
|
@ -75,11 +75,15 @@ export class SimpleTimeTrackerSettingsTab extends PluginSettingTab {
|
||||||
});
|
});
|
||||||
|
|
||||||
this.containerEl.createEl("hr");
|
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("p", { text: "Need help using the plugin? Feel free to join the Discord server!" });
|
||||||
this.containerEl.createEl("a", {href: "https://ellpeck.de/support"})
|
this.containerEl.createEl("a", { href: "https://link.ellpeck.de/discordweb" }).createEl("img", {
|
||||||
.createEl("img", {
|
attr: { src: "https://ellpeck.de/res/discord-wide.png" },
|
||||||
attr: {src: "https://ellpeck.de/res/generalsupport.png"},
|
cls: "simple-time-tracker-settings-image"
|
||||||
cls: "simple-time-tracker-support"
|
});
|
||||||
|
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"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,9 +2,8 @@
|
||||||
overflow-x: scroll;
|
overflow-x: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
.simple-time-tracker-support {
|
.simple-time-tracker-settings-image {
|
||||||
max-width: 50%;
|
width: 100%;
|
||||||
width: 400px;
|
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue