refactor: Reduce repetition by adding icon arguments to Button

This commit is contained in:
Ushie
2024-12-22 03:19:02 +03:00
parent 2f24780f34
commit 24650c71a9
4 changed files with 15 additions and 13 deletions

View File

@@ -12,14 +12,8 @@
Customize your mobile experience through ReVanced <br /> by applying patches to your applications.
</p>
<div class="hero-buttons">
<Button type="filled" href="download">
<TrayArrowDown size="20px" />
Download
</Button>
<Button type="tonal" href="patches">
<FileDocumentOutline size="20px" />
View patches
</Button>
<Button type="filled" icon={TrayArrowDown} href="download">Download</Button>
<Button type="tonal" icon={FileDocumentOutline} href="patches">View patches</Button>
</div>
</div>
</section>