link to /packages

This commit is contained in:
neil 2023-02-11 12:25:39 +08:00
parent c9b0799959
commit b5583b07fa
2 changed files with 3 additions and 2 deletions

View file

@ -26,7 +26,7 @@
articleTitle="What are packages?"
description="Collections of files aggregated to form larger frameworks & functions. Think Python or Node.js."
/>
<ListAction title="Top packages this week" mainCtaTitle="VIEW ALL PACKAGES" />
<ListAction title="Top packages this week" mainCtaTitle="VIEW ALL PACKAGES" mainCtaLink="/packages"/>
</div>
<div>
<HeaderCard

View file

@ -3,6 +3,7 @@
export let title: string;
export let mainCtaTitle: string;
export let mainCtaLink = '/';
</script>
<section class="bg-black">
@ -60,7 +61,7 @@
</li>
</ul>
<footer class="w-full border border-t-0 border-gray text-gray">
<a href="/" class="flex w-full">
<a href={mainCtaLink} class="flex w-full">
<Button>
<div class="flex w-full justify-between p-2">
<button>{mainCtaTitle}</button>