diff --git a/src/lib/en-lang.json b/src/lib/en-lang.json index dda1566..f9a3e5a 100644 --- a/src/lib/en-lang.json +++ b/src/lib/en-lang.json @@ -33,6 +33,63 @@ "twitch": "/icons/paw icon.png" }, + "frontpage": { + "items": [ + { + "text": "Icon
Commissions", + "picture": "/commissions/iconbasic.jpg", + "link": "/commissions#icon", + "width": 1 + }, + { + "text": "Emote
Commissions", + "picture": "/commissions/emote2.jpg", + "link": "/commissions#emote", + "width": 1 + }, + { + "text": "YCH
Commissions", + "picture": "/commissions/ychbaby.jpg", + "link": "/commissions#ych", + "width": 1 + }, + { + "text": "Ref Sheet
Commissions", + "picture": "/commissions/refsheet1.jpg", + "link": "/commissions#refsheet", + "width": 3 + }, + { + "text": "Complex Scene
Commissions", + "picture": "/commissions/complex1.jpg", + "link": "/commissions#complex", + "width": 2 + }, + { + "text": "Animation
Commissions", + "picture": "/commissions/animationheadshot.gif", + "link": "/commissions#animation", + "width": 1 + }, + { + "text": "Halfbody
Commissions", + "picture": "/commissions/halfbodybasic.jpg", + "link": "/commissions#halfbody", + "width": 1 + }, + { + "text": "Fullbody
Commissions", + "picture": "/commissions/fullbodyultralineart.jpg", + "link": "/commissions#fullbody", + "width": 1 + }, + { + "text": "Contact
+
Socials", + "link": "/contact", + "width": 1 + } + ] + }, "commissions": { "accordions" : [ { diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 59fd55d..4123dbd 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -5,6 +5,7 @@ import { onMount } from "svelte"; import words from "$lib/en-lang.json"; let lang = words["home"]; + let items = words["frontpage"]["items"]; onMount(() => { const soundBtn = document.querySelector('#clickMeow'); @@ -55,45 +56,13 @@
- - Icon
Commissions -
- - - Emote
Commissions -
- - - YCH
Commissions -
- - - - Ref Sheet
Commissions -
-
- - - - Complex Scene
Commissions -
-
- - - Animation
Commissions -
- - - Halfbody
Commissions -
- - - Fullbody
Commissions -
- - - Contact
+
Socials -
+ {#each items as item} + + + {@html item["text"]} + + + {/each}