Add affiliate system

This commit is contained in:
Pixeldrain-Server committed 2025-03-21 01:11:03 +01:00
1 parent f8317a9f32
commit d894246a38
9 files changed
+254 -13

No files matched your search

+6
View File
@@ -4,6 +4,7 @@ import { copy_text } from "../util/Util.svelte";
export let text = ""
export let style = ""
export let large_icon = false
export let small_icon = false
let failed = false
let success = false
@@ -31,6 +32,7 @@ export const copy = () => {
class:button_highlight={success}
class:button_red={failed}
class:large_icon
class:small_icon
title="Copy text to clipboard"
disabled={text === ""}
>
@@ -55,4 +57,8 @@ export const copy = () => {
font-size: 40px;
display: block;
}
.small_icon>.icon {
font-size: 1.2em;
display: block;
}
</style>