diff --git a/src/main.svelte b/src/main.svelte index afae5a5..13856af 100644 --- a/src/main.svelte +++ b/src/main.svelte @@ -3,13 +3,9 @@ import { Toast, ToastType } from "$lib/toast"; import { addToast } from "$lib/store"; - import Card from '$lib/components/Card.svelte'; - import Modal from '$lib/components/Modal.svelte'; + import Skills from './skills.svelte'; import Timeline from "./timeline.svelte"; - - let showModal: boolean = false; - let activeModal: any = null; + +{#each skills as skill} + {showModal = true; activeModal = skill}}> +
+

{skill.skill}

+ +
+
+

{@html skill.usage}

+
+
+ + View More + Repos +
+
+{/each} + + +{#if activeModal != null} + +

+ {activeModal.skill} + +

+ +

+ {activeModal.about} +

+ + +
+{/if} \ No newline at end of file