<script module lang="ts">
	export { storeButton };
	import gumroad from "./sidebar/gumroad.png";
	import jinxxy from "./sidebar/jinxxy.png";
</script>

{#snippet storeButton(store: string, url: string)}
	<a aria-label="Store Page Button" class="StoreButton" href={url}>
		{#if store == "gumroad"}
			<img src={gumroad} />
		{:else if store == "jinxxy"}
			<img src={jinxxy} />
		{/if}
	</a>
{/snippet}
