txtodo.app

[DORMANT] the official website of txtodo
git clone git://git.figbert.com/txtodo.app.git
Log | Files | Refs | README | LICENSE

DownloadIcon.svelte (292B)


      1 <script>
      2     export let isDarkMode
      3     export let srcPair
      4     export let alt
      5     export let label
      6     export let link
      7 </script>
      8 
      9 <a href={link} target="_blank" rel="noopener noreferrer" class="download">
     10     <img src={isDarkMode ? srcPair[0] : srcPair[1]} alt={alt}/>
     11     <p>{label}</p>
     12 </a>