mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat: banner at the bottom of the system card
This commit is contained in:
parent
b5e15ed589
commit
8df7979dd2
1 changed files with 5 additions and 0 deletions
|
|
@ -12,6 +12,8 @@
|
|||
|
||||
let bannerOpen = false;
|
||||
const toggleBannerModal = () => (bannerOpen = !bannerOpen);
|
||||
|
||||
let settings = JSON.parse(localStorage.getItem("pk-settings"));
|
||||
</script>
|
||||
|
||||
<Row>
|
||||
|
|
@ -52,4 +54,7 @@
|
|||
<b>Description:</b><br />
|
||||
{@html htmlDescription}
|
||||
</div>
|
||||
{#if user.banner && settings && settings.appearance.banner_bottom}
|
||||
<img src={user.banner} alt="your system banner" class="w-100 mb-3 rounded" style="max-height: 15em; object-fit: cover"/>
|
||||
{/if}
|
||||
<Button style="flex: 0" color="primary" on:click={() => editMode = true}>Edit</Button>
|
||||
Loading…
Add table
Add a link
Reference in a new issue