mirror of
https://github.com/revanced/revanced-website.git
synced 2025-06-12 21:27:42 +02:00
feat: download page wip
This commit is contained in:
@ -2,13 +2,13 @@
|
||||
export let kind = 'secondary';
|
||||
$: type = 'button-' + kind;
|
||||
export let href = '#';
|
||||
export let maxWidth = 'false';
|
||||
export let maxWidth = false;
|
||||
export let icon = '';
|
||||
</script>
|
||||
|
||||
<a {href}>
|
||||
<div class={type} style="width: {maxWidth ? '100%' : 'max-width'}">
|
||||
<img src="icons/{icon}.svg" alt={icon} />
|
||||
<a {href} rel="noreferrer">
|
||||
<div class={type} style="width: {maxWidth ? '100%' : 'max-content'}">
|
||||
<img src="../icons/{icon}.svg" alt={icon} />
|
||||
<slot />
|
||||
</div>
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user