Updated URLs to constants in Hero

This commit is contained in:
Alicia Sykes
2023-04-22 21:03:29 +01:00
parent 3ed36f61a6
commit 0f4d9e5c20

View File

@@ -1,5 +1,6 @@
<script> <script>
import Icon from '$lib/Icon.svelte'; import Icon from '$lib/Icon.svelte';
import { gitHubRepo } from '$src/constants';
</script> </script>
<div class="hero"> <div class="hero">
@@ -9,11 +10,11 @@
</header> </header>
<section class="cta"> <section class="cta">
<a href="https://github.com/Lissy93/portainer-templates"> <a href={gitHubRepo}>
<Icon name="github" width="26px" height="26px" /> <Icon name="github" width="26px" height="26px" />
View on GitHub View on GitHub
</a> </a>
<a href="https://github.com/Lissy93/portainer-templates"> <a href="/usage">
<Icon name="portainer" width="26px" height="26px" /> <Icon name="portainer" width="26px" height="26px" />
Install on Portainer Install on Portainer
</a> </a>