diff --git a/src/lib/IO/Button.svelte b/src/lib/IO/Button.svelte index 0b0e028..b15656b 100644 --- a/src/lib/IO/Button.svelte +++ b/src/lib/IO/Button.svelte @@ -1,23 +1,49 @@ - - {text} + + + + Click Me! + + diff --git a/src/lib/IO/ButtonType.ts b/src/lib/IO/ButtonType.ts new file mode 100644 index 0000000..36a399e --- /dev/null +++ b/src/lib/IO/ButtonType.ts @@ -0,0 +1,5 @@ +export enum ButtonType { + Primary, + Secondary, + Accent +} diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index e897c21..66cfbfb 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -3,6 +3,7 @@ import NewsCard from '$lib/posts/NewsCard.svelte'; import ShowcaseNewsCard from '$lib/posts/ShowcaseNewsCard.svelte'; import Button from '$lib/IO/Button.svelte'; + import { ButtonType } from '$lib/IO/ButtonType.ts'; export let data; // <- contains post data @@ -35,8 +36,15 @@ {/each} -