From 824e8839e6d8bb5770c4e5d6c2fc7bdab8f77014 Mon Sep 17 00:00:00 2001 From: midblep Date: Fri, 4 Feb 2022 22:33:58 +0100 Subject: [PATCH] make most things editable --- src/lib/en-lang.json | 212 ++++++++++++++++++++++++++++ src/routes/about.svelte | 24 ++-- src/routes/commissions/index.svelte | 80 ++--------- src/routes/commissions/tos.svelte | 27 ++-- src/routes/index.svelte | 20 +-- 5 files changed, 255 insertions(+), 108 deletions(-) create mode 100644 src/lib/en-lang.json diff --git a/src/lib/en-lang.json b/src/lib/en-lang.json new file mode 100644 index 0000000..3b04f39 --- /dev/null +++ b/src/lib/en-lang.json @@ -0,0 +1,212 @@ +{ + "home": { + "page": "Home", + "title": "Hi, I'm siv Kyne!", + "description": "I'm a young Asian artist who specializes in cartoony 2D animals.
You can find more information below." + }, + "tos": { + "title": "Terms of Service", + "description": "By commissioning Siv Kyne, you are agreeing to all of these terms and are held responsible for any noncomformities. These terms may be updated at any time without notice.", + "lastEdit": "Last updated: February 4th, 2022", + "text": "By commissioning Siv Kyne, you are agreeing to all of these terms and are held responsible for any noncomformities. These terms may be updated at any time without notice.

When commissioning Siv Kyne, you, the customer, are paying for the production of the product. The product’s intellectual property rights shall always belong to Siv Kyne unless explicitly stated otherwise. Rights to the product itself may be purchased from Siv Kyne at 500% of the production cost.

Payment is generally taken through PayPal or Cashapp. Siv Kyne shall also accept payment in gift cards upon request. Payment shall be made upfront, and production shall not begin until full payment is sent.

When requesting a refund, the amount of money you shall be refunded depends on how much progress was made on your product. Refunds are strictly disallowed after you have been sent the final product. Attempting to charge back shall result in a ban from receiving any future products from Siv Kyne. If Siv Kyne must stop production of your product due to an issue on her end, then you shall be refunded 100% of the cost.

Siv Kyne is strictly against creating any NSFW products. Attempting to commission an NSFW product from Siv Kyne will result in a 6 month ban from receiving any future products from her. If you paid Siv Kyne before stating that you want an NSFW product, then she is not obligated to refund you. Siv Kyne is allowed to deny commission inquiries without explanation." + }, + "about": { + "title": "About me", + "text": "I was born in China, but my biological parents left me at the gate of an orphanage. From there, I was adopted into an American family when I was still a baby. They then raised me on a farm in the southeastern United States.

I learned a lot about myself from being a farmer and gardener. I'm incredibly allergic to pollen and hay. The hot, southern sun is my enemy. I love the days when it's cool enough for me to ride my bike without sweating.

However, just because I was raised in farm country didn't mean my life was centered around the outdoors. Since I was a young child, I was interested in art, music, and writing. I would go through countless sheets of paper drawing. I would consume whole wide ruled notebooks with my childishly simple stories. I would bang on the piano that my sister played beautifully and strum horrendous discord on an antique harp.

As I grew older, I began to refine my skills. I studied art techniques, wrote tons of fan fictions, and started taking piano lessons with half gallon jars of milk as payment instead of cash. Around this time, my brother haggled with my parents to give me their old laptop, and they obliged. This is when my love for gaming—or simply Minecraft, rather—began. A few months afterward, my baby brother was adopted. He's less than a year younger than me, but he's still a baby to this day.

Now, I'm a professional artist by definition. My stories are in the sluggish process of becoming novels. I continue to practice the piano, though under new guidance due to my old teacher's retiring. My bike is still the place where I go to relieve my stress. We own a lot less farm animals now than before, but at least we have more cats." + }, + "commissions": { + "accordions" : [ + { + "id": "icon", + "title": "Icon Commissions", + "cols": "3", + "autoOpen": true, + "items": [ + { + "name": "Sketchy", + "price": "$13", + "picture": "/commissions/iconsketchy.jpg" + }, + { + "name": "Basic", + "price": "$18", + "picture": "/commissions/iconbasic.jpg" + }, + { + "name": "Basic Lineless", + "price": "$18", + "picture": "/commissions/iconbasiclineless.jpg" + }, + { + "name": "Cell Shaded", + "price": "$23", + "picture": "/commissions/iconcellshaded.jpg" + }, + { + "name": "Ultra Lineart", + "price": "$30", + "picture": "/commissions/iconultralineart.jpg" + }, + { + "name": "Complex Lineless", + "price": "$33", + "picture": "/commissions/iconcomplexlineless.jpg" + } + ] + }, + { + "id": "emote", + "title": "Emote Commissions", + "cols": "3", + "items": [ + { + "name": "Pack of 4", + "price": "$26", + "picture": "/commissions/emote1.jpg" + }, + { + "name": "Pack of 5", + "price": "$31", + "picture": "/commissions/emote2.jpg" + }, + { + "name": "Pack of 6", + "price": "$38", + "picture": "/commissions/emote4.jpg" + } + ] + }, + { + "id": "ych", + "title": "YCH Commissions", + "cols": "3", + "items": [ + { + "name": "Baby YCH Flat Color", + "price": "$7", + "picture": "/commissions/ychbaby.jpg" + }, + { + "name": "Baby YCH Cell Shaded", + "price": "$10", + "picture": "/commissions/ychbaby.jpg" + } + ] + }, + { + "id": "halfbody", + "title": "Half Body Commissions", + "cols": "3", + "items": [ + { + "name": "Sketchy", + "price": "$18", + "picture": "/commissions/halfbodysketchy.jpg" + }, + { + "name": "Basic", + "price": "$23", + "picture": "/commissions/halfbodybasic.jpg" + }, + { + "name": "Basic Lineless", + "price": "$23" + }, + { + "name": "Cell Shaded", + "price": "$28" + }, + { + "name": "Ultra Lineart", + "price": "$40", + "picture": "/commissions/halfbodyultralineart.jpg" + } + ] + }, + { + "id": "fullbody", + "title": "Full Body Commissions", + "cols": "3", + "items": [ + { + "name": "Sketchy", + "price": "$23" + }, + { + "name": "Basic", + "price": "$28", + "picture": "/commissions/fullbodybasic.jpg" + }, + { + "name": "Basic Lineless", + "price": "$38", + "picture": "/commissions/fullbodybasiclineless.jpg" + }, + { + "name": "Cell Shaded", + "price": "$33" + }, + { + "name": "Ultra Lineart", + "price": "$45", + "picture": "/commissions/fullbodyultralineart.jpg" + } + ] + }, + { + "id": "animation", + "title": "Animation Commissions", + "cols": "3", + "items": [ + { + "name": "Headshot", + "price": "$21 per frame", + "picture": "/commissions/animationheadshot.gif", + "note": "-20% if sketchy
+80% if cell shaded" + } + ] + }, + { + "id": "refsheet", + "note": "Feel free to contact me about reference sheets! A lot of different details determine the price.", + "title": "Reference Sheet Commissions", + "cols": "1", + "items": [ + { + "name": "Reference Sheet Example", + "price": "$?", + "picture": "/commissions/refsheet1.jpg" + }, + { + "name": "Reference Sheet Example", + "price": "$?", + "picture": "/commissions/refsheet2.jpg" + }, + { + "name": "Reference Sheet Example", + "price": "$?", + "picture": "/commissions/refsheet3.jpg" + } + ] + }, + { + "id": "complex", + "note": "Feel free to contact me about complex scenes! A lot of different details determine the price.", + "title": "Complex Scene Commissions", + "cols": "2", + "items": [ + { + "name": "Complex Scene Example", + "price": "$?", + "picture": "/commissions/complex1.jpg" + }, + { + "name": "Complex Scene Example", + "price": "$?", + "picture": "/commissions/complex2.jpg" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/src/routes/about.svelte b/src/routes/about.svelte index 3b31d28..982a387 100644 --- a/src/routes/about.svelte +++ b/src/routes/about.svelte @@ -1,30 +1,24 @@ - - - About || Siv Kyne + + + {lang["title"]} || Siv Kyne
-

About me

+

{lang["title"]}

+

- I was born in China, but my biological parents left me at the gate of an orphanage. From there, I was adopted into an American family when I was still a baby. They then raised me on a farm in the southeastern United States. -

- I learned a lot about myself from being a farmer and gardener. I'm incredibly allergic to pollen and hay. The hot, southern sun is my enemy. I love the days when it's cool enough for me to ride my bike without sweating. -

- However, just because I was raised in farm country didn't mean my life was centered around the outdoors. Since I was a young child, I was interested in art, music, and writing. I would go through countless sheets of paper drawing. I would consume whole wide ruled notebooks with my childishly simple stories. I would bang on the piano that my sister played beautifully and strum horrendous discord on an antique harp. -

- As I grew older, I began to refine my skills. I studied art techniques, wrote tons of fan fictions, and started taking piano lessons with half gallon jars of milk as payment instead of cash. Around this time, my brother haggled with my parents to give me their old laptop, and they obliged. This is when my love for gaming—or simply Minecraft, rather—began. A few months afterward, my baby brother was adopted. He's less than a year younger than me, but he's still a baby to this day. -

- Now, I'm a professional artist by definition. My stories are in the sluggish process of becoming novels. I continue to practice the piano, though under new guidance due to my old teacher's retiring. My bike is still the place where I go to relieve my stress. We own a lot less farm animals now than before, but at least we have more cats. + {@html lang["text"]}

\ No newline at end of file diff --git a/src/routes/commissions/index.svelte b/src/routes/commissions/index.svelte index d01530e..c6a2dd5 100644 --- a/src/routes/commissions/index.svelte +++ b/src/routes/commissions/index.svelte @@ -2,9 +2,10 @@ import Accordion from "$lib/commissions/Accordion.svelte"; import Item from "$lib/commissions/Item.svelte"; import Social from "$lib/elements/Social.svelte"; - + import words from "$lib/en-lang.json"; import Navbar from "$lib/header/Navbar.svelte"; - import { onMount } from "svelte"; + + let lang = words["commissions"]; @@ -16,72 +17,15 @@
- -
- - - - - - -
-
- - -
- - - -
-
- - -
- - -
-
- - -
- - - - - -
-
- - -
- - - - - -
-
- - -
- -
-
- - -
- - - -
-
- - -
- - -
-
+ {#each lang["accordions"] as accordion} + +
+ {#each accordion["items"] as item} + + {/each} +
+
+ {/each}
diff --git a/src/routes/commissions/tos.svelte b/src/routes/commissions/tos.svelte index 2806530..0f60682 100644 --- a/src/routes/commissions/tos.svelte +++ b/src/routes/commissions/tos.svelte @@ -1,30 +1,27 @@ - - - Terms of Service || Siv Kyne + + + {lang["title"]} || Siv Kyne
-

Terms of Service

+ +

{lang["title"]}

+

{lang["lastEdit"]}

+
+

- By commissioning Siv Kyne, you are agreeing to all of these terms and are held responsible for any noncomformities. These terms may be updated at any time without notice. -

- When commissioning Siv Kyne, you, the customer, are paying for the production of the product. The product’s intellectual property rights shall always belong to Siv Kyne unless explicitly stated otherwise. Rights to the product itself may be purchased from Siv Kyne at 500% of the production cost. -

- Payment is generally taken through PayPal or Cashapp. Siv Kyne shall also accept payment in gift cards upon request. Payment shall be made upfront, and production shall not begin until full payment is sent. -

- When requesting a refund, the amount of money you shall be refunded depends on how much progress was made on your product. Refunds are strictly disallowed after you have been sent the final product. Attempting to charge back shall result in a ban from receiving any future products from Siv Kyne. If Siv Kyne must stop production of your product due to an issue on her end, then you shall be refunded 100% of the cost. -

- Siv Kyne is strictly against creating any NSFW products. Attempting to commission an NSFW product from Siv Kyne will result in a 6 month ban from receiving any future products from her. If you paid Siv Kyne before stating that you want an NSFW product, then she is not obligated to refund you. Siv Kyne is allowed to deny commission inquiries without explanation. + {@html lang["text"]}

\ No newline at end of file diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 14f5f34..4cc4e3e 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -3,6 +3,8 @@ import Social from "$lib/elements/Social.svelte"; import Button from "$lib/header/Button.svelte"; import { onMount } from "svelte"; + import words from "$lib/en-lang.json"; + let lang = words["home"]; onMount(() => { const soundBtn = document.querySelector('#clickMeow'); @@ -15,23 +17,21 @@ - - - Home || Siv Kyne + + + {lang["page"]} || Siv Kyne
-
-
+
+
- profile pic + profile pic
-

Hi, I'm Siv Kyne!

+

{lang["title"]}

- I'm a young Asian artist who specializes in cartoony 2D animals. -
- You can find more information below. + {@html lang["description"]}