Merge branch 'beta' into 'main'

Beta

See merge request midblep/sivkyne!1
main
Mid (Pascal) 3 years ago
commit 81383ab450

1296
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -27,6 +27,7 @@
"svelte-check": "^2.2.6",
"svelte-preprocess": "^4.9.4",
"tailwindcss": "^3.0.18",
"tailwindcss-text-fill-stroke": "^1.1.2",
"tslib": "^2.3.1",
"typescript": "^4.4.3"
},

@ -23,6 +23,9 @@
}
hr {
border-color: rgb(255, 255, 255, 0.3);
border-width: 1px;
background-color: rgb(255, 255, 255, 0.3);
height: 3px;
border: unset;
width: 100%;
margin: 0.5em 0;
}

@ -0,0 +1,323 @@
<script lang="ts">
import Button from "$lib/header/Button.svelte";
import { onMount } from "svelte";
import words from "$lib/en-lang.json";
let total = 0;
let error = null;
let lang = words["calculator"];
let types = lang["types"];
interface Commission {
type: string,
name: string,
price: number,
example: string,
questions?: any[],
answers?: any[],
}
let commissions: Commission[] = [];
let number: number;
$: number = commissions.length + 1;
async function setup() {
let prefill = true;
const urlParams = new URLSearchParams(window.location.search);
urlParams.forEach((value, key) => {
if(key == "commissions") {
try {
prefill = false;
commissions = JSON.parse(value);
commissions.forEach(value => {
types.forEach(element => {
if(element["name"] == value.type) {
value['questions'] = element["questions"];
}
});
value.questions.forEach(question => {
value['answers'].push({'name': question.name, 'option': question.options[0]['name']});
});
update_price(value);
update_example(value);
});
} catch(msg) {
prefill = true;
error = "The selected preset link failed to load. It may be from an old version of the commission picker. It has been replaced with the default preset below."
}
}
});
if(prefill) {
base();
}
}
function update_example(commission: Commission) {
let lastQuestion = commission.questions[commission.questions.length - 1];
let lastAnswer = commission.answers[commission.answers.length - 1];
let example = "";
commission.example = "";
let typeFound = types.filter(value => {
return value['name'] == commission.type;
});
let type = typeFound[0];
let count = 0;
commission.questions.forEach(value => {
if(type['examples_from'] == value['name']) {
lastQuestion = commission.questions[count];
lastAnswer = commission.answers[count];
}
count++;
})
lastQuestion.options.forEach(value => {
if(value['name'] == lastAnswer['option']) {
example = value['example'];
}
});
type['examples'].forEach(value => {
if(value['name'] == example) {
commission.example = value['url'];
}
});
}
function base() {
let commission = {
"type": types[0]["name"],
"name": "Commission " + number,
"example": types[0]["example"],
"price": 10,
};
commissions.push(commission);
update_commission_type(commission);
update_example(commission);
update_price(commission);
commissions = commissions;
}
function save() {
let data = [];
commissions.forEach(value => {
data.push({
"type": value['type'],
"name": value["name"],
"answers": value["answers"]
})
});
const urlParams = new URLSearchParams(window.location.search);
urlParams.set("commissions", JSON.stringify(data));
let url = window.location.origin + window.location.pathname + "?" + urlParams.toString();
navigator.clipboard.writeText(url);
window.history.replaceState( {} , document.title, url);
}
function update_commission_type(commission: Commission) {
types.forEach(element => {
if(element["name"] == commission.type) {
commission.questions = element["questions"];
}
});
commission.answers = [];
commission.questions.forEach(value => {
commission.answers.push({'name': value.name, 'option': value.options[0]['name']});
});
update_price(commission);
update_example(commission);
}
function update_price(commission: Commission) {
commission.price = 0;
for (let index = 0; index < commission.answers.length; index++) {
const answer = commission.answers[index];
const question = commission.questions.filter(value => {
return value['name'] == answer['name'];
})[0];
question['options'].forEach(value => {
if(value['name'] == answer['option']) {
commission.price += value['price'];
}
});
}
total = 0;
commissions.forEach(value => {
total += value.price;
})
}
async function load() {
window.location.href = await navigator.clipboard.readText();
}
function createNew() {
base();
save();
}
function copy(commission: Commission) {
let newCommission = { ...commission };
newCommission.name = "Commission " + number;
commissions.push(newCommission);
commissions = commissions;
update_price(newCommission);
update_example(newCommission);
save();
}
function remove(name: string) {
commissions = commissions.filter(value => {
return value.name != name;
});
update_price(commissions[0]);
save();
}
function clear() {
commissions = [];
save();
}
onMount(() => {
setup();
});
</script>
<main class="container flex flex-col gap-5">
<section class="container bg-slate-800 rounded-lg shadow-lg p-3 flex flex-col w-full gap-5">
<nav class="flex flex-col lg:flex-row gap-3 justify-between justify-items-stretch items-center">
<Button href="/">⬅️ Back to home</Button>
<Button href="/commissions">🎨 Visit commissions page</Button>
<Button href="/commissions/tos">⚖️ Read Terms of Service</Button>
</nav>
</section>
<section class="container bg-slate-800 rounded-lg shadow-lg p-5 flex flex-col w-full gap-10">
<div class="flex flex-col lg:flex-row gap-5 lg:gap-1 flex-wrap -ml-2 -mr-2">
<span class="flex-grow"><Button added_classes="w-full" on:click={createNew}> Add Commission</Button></span>
<span><Button on:click={save}>💾 Save to Clipboard</Button></span>
<span><Button on:click={load}>📋 Load from Clipboard</Button></span>
<span><Button on:click={clear}> Clear</Button></span>
</div>
<div class="flex items-center justify-between">
<div class="flex items-center gap-5">
<h3 class="hidden lg:block text-6xl">🧮</h3>
<div class="flex flex-col gap-2">
<div class="flex gap-3 items-center">
<p class="font-bold bg-green-500 py-1 px-5 rounded-lg text-lg">${total}</p>
<h4 class="text-xl font-bold">Estimated Total</h4>
</div>
<p class="italic text-gray-200 text-sm">This figure is an estimate, the final price may differ.<br/>All commissions are strictly SFW only.</p>
</div>
</div>
</div>
</section>
{#if error}
<section class="bg-slate-800 text-yellow-500 font-bold rounded-lg shadow-lg p-5 flex flex-col gap-5 text-center lg:text-left">
⚠️ {error}
</section>
{/if}
{#if commissions.length == 0}
<section class="bg-slate-800 rounded-lg shadow-lg p-5 flex flex-col lg:flex-row justify-between items-center w-full gap-5">
<div class="flex flex-col text-center lg:text-left">
<p class="text-green-500 font-bold text-xl">It's alone here :'(</p>
<p>You currently have no commissions selected. <span class="hidden lg:block">Add one --></span></p>
</div>
<span><Button on:click={createNew}> Add Commission</Button></span>
</section>
{/if}
{#if commissions.length > 10}
<section class="bg-slate-800 rounded-lg shadow-lg p-5 flex items-end w-full gap-5 text-center lg:text-left">
<p><span class="text-green-500 font-bold text-xl">Calm down Elon Musk!</span>
Your list is becoming quite long. Loading and saving long lists is not supported and may cause considerable lag or result in loss of data.</p>
</section>
{/if}
{#each [...commissions].reverse() as commission}
<section class="flex flex-col lg:flex-row gap-5">
<div class="w-full lg:w-3/5">
<div class="bg-slate-800 rounded-lg shadow-lg p-5 flex flex-col gap-5">
<div class="flex justify-between flex-col lg:flex-row gap-5 lg:gap-0">
<h3 class="text-xl font-bold flex gap-5">{commission.name}<p class="bg-green-500 py-1 text-sm px-5 rounded-lg">${commission.price}</p></h3>
<span>
<Button on:click={() => {copy(commission)}}>⤴️</Button>
<Button on:click={() => {remove(commission.name)}}>🗑️</Button>
</span>
</div>
<form class="flex flex-col gap-10" on:change={() => {update_example(commission)}}>
<div class="flex flex-col gap-1">
<label for={commission.type}>Type of commission</label>
<select class="bg-slate-600 p-2 rounded-lg hover:bg-slate-500 duration-300" bind:value={commission.type} on:change={() => {update_commission_type(commission)}}>
{#each types as question}
<option value={question.name}>{question.name}</option>
{/each}
</select>
</div>
{#each commission.questions as question, key}
{#if question.multiple}
<div class="flex flex-col gap-1">
<label for={commission.answers[key]['option']}>{question.name}</label>
{#each commission.answers.filter(value => { return value['name'] == question.name; }) as answer, key}
<div class="flex gap-1">
<select class="flex-grow bg-slate-600 p-2 rounded-lg hover:bg-slate-500 duration-300" bind:value={answer['option']} on:change={() => {update_price(commission)}}>
{#each question.options as option}
<option value={option.name}>{option.name} | ${option.price}</option>
{/each}
</select>
</div>
{/each}
<div class="flex gap-1 w-full items-stretch">
<button type="none" class="w-full bg-slate-600 p-2 rounded-lg hover:bg-slate-500 duration-300" on:click|preventDefault={() => {commission.answers.push({'name': question['name'], 'option': question.options[0]['name']}); commission.answers = commission.answers;}}>Add</button>
{#if commission.answers.filter(value => { return value['name'] == question.name; }).length > 1}
<button type="none" class="w-full bg-slate-600 p-2 rounded-lg hover:bg-slate-500 duration-300" on:click|preventDefault={() => {commission.answers.pop(); commission.answers = commission.answers; }}>Remove</button>
{/if}
</div>
</div>
{:else}
<div class="flex flex-col gap-1">
<label for={commission.answers[key]['option']}>{question.name}</label>
<select class="bg-slate-600 p-2 rounded-lg hover:bg-slate-500 duration-300" bind:value={commission.answers[key]['option']} on:change={() => {update_price(commission)}}>
{#each question.options as option}
<option value={option.name}>{option.name} | ${option.price}</option>
{/each}
</select>
</div>
{/if}
{/each}
</form>
</div>
</div>
<div class="w-full lg:w-2/5">
{#if commission.example != ""}
<div class="relative bg-black bg-opacity-50 rounded-xl shadow-xl">
<p class="xl:block hidden absolute top-0 right-0 text-right -rotate-12 font-bold text-4xl -mb-40 -mr-40">
🠔 Example!
</p>
<img src={commission.example} alt="example" class="rounded-xl shadow-xl w-full" />
</div>
{:else}
<div class="relative w-full aspect-square bg-black bg-opacity-50 rounded-xl shadow-xl">
<p class="w-full h-full absolute inset-0 flex items-center justify-center text-center opacity-50 -rotate-45 font-bold text-6xl">
NO EXAMPLE AVAILABLE
</p>
</div>
{/if}
</div>
</section>
{/each}
</main>

@ -0,0 +1,51 @@
<script>
import { page } from "$app/stores";
console.log($page.url.pathname);
</script>
<header class="relative flex flex-col xl:gap-10 max-w-[1400px] mx-auto mt-10 lg:my-20 dropanim">
<img src="/calculator/bannername.png" class="w-3/6 mb-10 lg:mb-0 mx-auto drop-shadow-2xl" alt="header siv kyne" />
<h1>
<img src="/calculator/banner.png" class="mb-10 lg:mb-0 mx-auto drop-shadow-2xl grow" alt="header siv kyne" />
</h1>
</header>
<style>
.dropanim {
animation: dropanim;
animation-duration: 0.4s;
animation-timing-function: ease-in-out;
}
@keyframes dropanim {
0% {
transform: translateY(-50vh);
}
50% {
transform: translateY(1vh);
}
100% {
transform: translateY(0);
}
}
.grow {
animation: grow;
animation-duration: 4s;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
}
@keyframes grow {
0% {
transform: rotate3d(0, 20, 0, 20deg);
}
50% {
transform: rotate3d(0, 20, 0, -20deg);
}
100% {
transform: rotate3d(0, 20, 0, 20deg);
}
}
</style>

@ -0,0 +1,3 @@
import { writable } from 'svelte/store';
export const calculatorImages = writable([]);

@ -28,9 +28,9 @@
}
</script>
<section class="container bg-gray-800 rounded-lg shadow-lg p-5 flex flex-col gap-5" id={id}>
<section class="container bg-slate-800 rounded-lg shadow-lg p-5 flex flex-col gap-5" id={id}>
<div class="flex justify-between items-center">
<h2 class="text-2xl font-bold">{title}</h2>
<h2 class="text-2xl font-bold">{@html title}</h2>
<button type="none" id="{id}-trigger" on:click={openAccordion} class="text-2xl">➡️</button>
</div>

@ -3,9 +3,26 @@
export let price;
export let picture = null;
export let note = null;
export let link = null;
</script>
<div class="flex flex-col items-center gap-2">
{#if link != null}
<a href={link} class="flex flex-col items-center gap-2">
<span class="w-full flex justify-between">
<h3 class="text-xl font-bold break-words">{name}</h3>
<span><span class="bg-green-500 py-1 text-sm px-5 rounded-lg">from {price}</span></span>
</span>
{#if note}
<p class="text-sm text-gray-200 w-full">{@html note}</p>
{/if}
{#if picture}
<img src={picture} alt={name} class="w-full rounded-xl shadow" />
{:else}
<p class="p-2 italic text-gray-200 bg-gray-700 rounded-xl shadow w-full flex justify-center items-center text-center aspect-square">Example TBA</p>
{/if}
</a>
{:else}
<div class="flex flex-col items-center gap-2">
<span class="w-full flex justify-between">
<h3 class="text-xl font-bold break-words">{name}</h3>
<span><span class="bg-green-500 py-1 text-sm px-5 rounded-lg">{price}</span></span>
@ -18,4 +35,5 @@
{:else}
<p class="p-2 italic text-gray-200 bg-gray-700 rounded-xl shadow w-full flex justify-center items-center text-center aspect-square">Example TBA</p>
{/if}
</div>
</div>
{/if}

@ -44,7 +44,7 @@
}
</script>
<main class="flex flex-col gap-5 lg:w-2/3 mx-auto">
<main class="flex flex-col gap-5">
<form
class="flex flex-col gap-5"
action="https://api.staticforms.xyz/submit"

@ -4,6 +4,386 @@
"title": "Hello! I'm Siv Kyne!",
"description": "I'm a young Asian artist who specializes in cartoony 2D animals.<br/>You can find more information below."
},
"calculator": {
"title": "Commission Picker",
"description": "Use Siv Kyne's commission picker to estimate how much your commission would cost. Including multiple commissions, saving your presets, and more!",
"types": [
{
"name": "Icon",
"examples_from": "Detail level",
"examples": [
{
"name": "complexlineless",
"url": "/commissions/alakai again.jpg"
},
{
"name": "basic",
"url": "/commissions/iconbasic.jpg"
},
{
"name": "sketchy",
"url": "/commissions/nick.jpg"
},
{
"name": "ultralineart",
"url": "/commissions/iconultralineart.jpg"
},
{
"name": "basiclineless",
"url": "/commissions/iconbasiclineless.jpg"
},
{
"name": "cellshaded",
"url": "/commissions/iconcellshaded.jpg"
}
],
"questions": [
{
"name": "Detail level",
"options": [
{
"name": "Sketchy",
"example": "sketchy",
"price": 13
},
{
"name": "Basic",
"example": "basic",
"price": 18
},
{
"name": "Basic Lineless",
"example": "basiclineless",
"price": 18
},
{
"name": "Cell Shaded",
"example": "cellshaded",
"price": 23
},
{
"name": "Ultra Lineart",
"example": "ultralineart",
"price": 30
},
{
"name": "Complex Lineless",
"example": "complexlineless",
"price": 33
}
]
},
{
"name": "Fur",
"options": [
{
"name": "1-3 fur colors",
"price": 0
},
{
"name": "4-5 fur colors",
"price": 7
},
{
"name": "6+ fur colors",
"price": 10
}
]
}
]
},
{
"name": "Sticker/Emote",
"examples_from": "Fur",
"examples": [
{
"name": "4fur",
"url": "/commissions/emote2.jpg"
},
{
"name": "3fur",
"url": "/commissions/emote4.jpg"
}
],
"questions": [
{
"name": "Amount",
"options": [
{
"name": "Individual",
"example": "sticker",
"price": 7
},
{
"name": "Pack of 4",
"example": "sticker",
"price": 26
},
{
"name": "Pack of 5",
"example": "sticker",
"price": 31
},
{
"name": "Pack of 6",
"example": "sticker",
"price": 38
}
]
},
{
"name": "Fur",
"options": [
{
"name": "1-3 fur colors",
"example": "3fur",
"price": 0
},
{
"name": "4-5 fur colors",
"example": "4fur",
"price": 5
},
{
"name": "6+ fur colors",
"example": "4fur",
"price": 8
}
]
}
]
},
{
"name": "Halfbody",
"examples_from": "Detail level",
"examples": [
{
"name": "basic",
"url": "/commissions/halfbodybasic.jpg"
},
{
"name": "sketchy",
"url": "/commissions/halfbodysketchy.jpg"
},
{
"name": "ultralineart",
"url": "/commissions/halfbodyultralineart.jpg"
},
{
"name": "basiclineless",
"url": "/commissions/halfbodybasiclineless.jpg"
}
],
"questions": [
{
"name": "Detail level",
"options": [
{
"name": "Sketchy",
"example": "sketchy",
"price": 18
},
{
"name": "Basic",
"example": "basic",
"price": 23
},
{
"name": "Basic Lineless",
"price": 23
},
{
"name": "Cell Shaded",
"price": 28
},
{
"name": "Ultra Lineart",
"example": "ultralineart",
"price": 40
}
]
},
{
"name": "Fur",
"options": [
{
"name": "1-3 fur colors",
"example": "3fur",
"price": 0
},
{
"name": "4-5 fur colors",
"example": "4fur",
"price": 10
},
{
"name": "6+ fur colors",
"example": "4fur",
"price": 15
}
]
}
]
},
{
"name": "Fullbody",
"examples_from": "Detail level",
"examples": [
{
"name": "basic",
"url": "/commissions/fullbodybasic.jpg"
},
{
"name": "basiclineless",
"url": "/commissions/fullbodybasiclineless.jpg"
},
{
"name": "ultralineart",
"url": "/commissions/ultralinearthalfbodies.jpg"
}
],
"questions": [
{
"name": "Detail level",
"options": [
{
"name": "Sketchy",
"price": 23
},
{
"name": "Basic",
"example": "basic",
"price": 28
},
{
"name": "Basic Lineless",
"example": "basiclineless",
"price": 28
},
{
"name": "Cell Shaded",
"price": 33
},
{
"name": "Ultra Lineart",
"example": "ultralineart",
"price": 45
}
]
},
{
"name": "Fur",
"options": [
{
"name": "1-3 fur colors",
"example": "3fur",
"price": 0
},
{
"name": "4-5 fur colors",
"example": "4fur",
"price": 15
},
{
"name": "6+ fur colors",
"example": "4fur",
"price": 20
}
]
}
]
},
{
"name": "Reference sheet",
"examples_from": "Views",
"examples": [
{
"name": "2views",
"url": "/commissions/refsheet2.jpg"
},
{
"name": "3views",
"url": "/commissions/refsheet1.jpg"
}
],
"questions": [
{
"name": "Views",
"options": [
{
"name": "Front + Back",
"example": "2views",
"price": 40
},
{
"name": "Front + Side + Back",
"example": "3views",
"price": 50
}
]
},
{
"name": "Fur",
"options": [
{
"name": "1-3 fur colors",
"example": "3fur",
"price": 0
},
{
"name": "4-5 fur colors",
"example": "4fur",
"price": 20
},
{
"name": "6+ fur colors",
"example": "4fur",
"price": 25
}
]
},
{
"name": "Additions",
"multiple": true,
"options": [
{
"name": "None",
"price": 0
},
{
"name": "Custom Design",
"price": 20
},
{
"name": "Extra Headshot",
"price": 15
},
{
"name": "Paws",
"price": 10
},
{
"name": "Maw",
"price": 5
},
{
"name": "Standalone outfit",
"price": 10
},
{
"name": "Full alt. version",
"price": 20
},
{
"name": "Chibi alt. version",
"price": 10
}
]
}
]
}
]
},
"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.",
@ -30,8 +410,8 @@
"ko-fi": "/icons/paw icon.png",
"paypal": "/icons/paw icon.png",
"trello": "/icons/paw icon.png",
"twitch": "/icons/paw icon.png"
"twitch": "/icons/paw icon.png",
"commission picker": "/icons/paw icon.png"
},
"frontpage": {
"items": [
@ -101,32 +481,38 @@
{
"name": "Sketchy",
"price": "$13",
"picture": "/commissions/nick.jpg"
"picture": "/commissions/nick.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Icon%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Sketchy%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%2C%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Sketchy%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
},
{
"name": "Basic",
"price": "$18",
"picture": "/commissions/iconbasic.jpg"
"picture": "/commissions/iconbasic.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Icon%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Basic%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%2C%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Sketchy%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
},
{
"name": "Basic Lineless",
"price": "$18",
"picture": "/commissions/iconbasiclineless.jpg"
"picture": "/commissions/iconbasiclineless.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Icon%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Basic+Lineless%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%2C%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Sketchy%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
},
{
"name": "Cell Shaded",
"price": "$23",
"picture": "/commissions/iconcellshaded.jpg"
"picture": "/commissions/iconcellshaded.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Icon%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Cell+Shaded%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%2C%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Sketchy%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
},
{
"name": "Ultra Lineart",
"price": "$30",
"picture": "/commissions/iconultralineart.jpg"
"picture": "/commissions/iconultralineart.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Icon%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Ultra+Lineart%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%2C%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Sketchy%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
},
{
"name": "Complex Lineless",
"price": "$33",
"picture": "/commissions/alakai again.jpg"
"picture": "/commissions/alakai again.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Icon%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Complex+Lineless%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%2C%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Sketchy%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
}
]
},
@ -138,17 +524,20 @@
{
"name": "Pack of 4",
"price": "$26",
"picture": "/commissions/emote1.jpg"
"picture": "/commissions/emote3.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Sticker%2FEmote%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Amount%22%2C%22option%22%3A%22Pack+of+4%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
},
{
"name": "Pack of 5",
"price": "$31",
"picture": "/commissions/emote2.jpg"
"picture": "/commissions/emote2.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Sticker%2FEmote%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Amount%22%2C%22option%22%3A%22Pack+of+5%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
},
{
"name": "Pack of 6",
"price": "$38",
"picture": "/commissions/emote4.jpg"
"picture": "/commissions/emote4.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Sticker%2FEmote%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Amount%22%2C%22option%22%3A%22Pack+of+6%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
}
]
},
@ -177,25 +566,30 @@
{
"name": "Sketchy",
"price": "$18",
"picture": "/commissions/halfbodysketchy.jpg"
"picture": "/commissions/halfbodysketchy.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Halfbody%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Sketchy%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
},
{
"name": "Basic",
"price": "$23",
"picture": "/commissions/halfbodybasic.jpg"
"picture": "/commissions/halfbodybasic.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Halfbody%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Basic%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
},
{
"name": "Basic Lineless",
"price": "$23"
"price": "$23",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Halfbody%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Basic+Lineless%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
},
{
"name": "Cell Shaded",
"price": "$28"
"price": "$28",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Halfbody%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Cell+Shaded%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
},
{
"name": "Ultra Lineart",
"price": "$40",
"picture": "/commissions/ultralinearthalfbodies.jpg"
"picture": "/commissions/ultralinearthalfbodies.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Halfbody%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Ultra+Lineart%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
}
]
},
@ -206,25 +600,30 @@
"items": [
{
"name": "Sketchy",
"price": "$23"
"price": "$23",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Fullbody%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Sketchy%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
},
{
"name": "Basic",
"price": "$28",
"picture": "/commissions/fullbodybasic.jpg"
"picture": "/commissions/fullbodybasic.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Fullbody%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Basic%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
},
{
"name": "Basic Lineless",
"price": "$38",
"picture": "/commissions/fullbodybasiclineless.jpg"
"picture": "/commissions/fullbodybasiclineless.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Fullbody%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Basic+Lineless%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
},
{
"name": "Cell Shaded",
"price": "$33"
"price": "$33",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Fullbody%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Cell+Shaded%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%2C%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Sketchy%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
},
{
"name": "Ultra Lineart",
"price": "$45"
"price": "$45",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Fullbody%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Ultra+Lineart%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%2C%7B%22name%22%3A%22Detail+level%22%2C%22option%22%3A%22Sketchy%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%5D%7D%5D"
}
]
},
@ -250,17 +649,20 @@
{
"name": "Reference Sheet Example",
"price": "$?",
"picture": "/commissions/refsheet1.jpg"
"picture": "/commissions/refsheet1.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Reference+sheet%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Views%22%2C%22option%22%3A%22Front+%2B+Back%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%2C%7B%22name%22%3A%22Additions%22%2C%22option%22%3A%22None%22%7D%5D%7D%5D"
},
{
"name": "Reference Sheet Example",
"price": "$?",
"picture": "/commissions/refsheet2.jpg"
"picture": "/commissions/refsheet2.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Reference+sheet%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Views%22%2C%22option%22%3A%22Front+%2B+Back%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%2C%7B%22name%22%3A%22Additions%22%2C%22option%22%3A%22None%22%7D%5D%7D%5D"
},
{
"name": "Reference Sheet Example",
"price": "$?",
"picture": "/commissions/refsheetblueberry.jpg"
"picture": "/commissions/refsheetblueberry.jpg",
"link": "/calculator?commissions=%5B%7B%22type%22%3A%22Reference+sheet%22%2C%22name%22%3A%22Commission+1%22%2C%22answers%22%3A%5B%7B%22name%22%3A%22Views%22%2C%22option%22%3A%22Front+%2B+Back%22%7D%2C%7B%22name%22%3A%22Fur%22%2C%22option%22%3A%221-3+fur+colors%22%7D%2C%7B%22name%22%3A%22Additions%22%2C%22option%22%3A%22None%22%7D%5D%7D%5D"
}
]
},

@ -1,3 +1,5 @@
<footer>
<h4 class="text-center py-20 text-sm text-gray-200">copyright {new Date().getFullYear()} -- site made by <a href="https://bartindustries.com/" target="blank" class="hover:underline border-b border-dashed hover:border-b-0">midblep</a> -- art by siv kyne -- bg art by smol-static</h4>
<h4 class="text-center py-20 text-sm text-gray-200">
copyright {new Date().getFullYear()} -- site made by <a href="https://bartindustries.com/" target="blank" class="hover:underline border-b border-dashed hover:border-b-0">midnight</a> -- art by siv kyne
</h4>
</footer>

@ -1,6 +1,7 @@
<script>
export let href;
export let href = "";
export let active = "";
export let added_classes = "";
let classes = "hover:bg-gradient-to-tr hover:from-red-500 hover:to-pink-500 bg-red-500 duration-300 active:translate-y-1 py-2 px-3 w-full rounded-lg shadow";
@ -9,8 +10,10 @@
} else {
classes += " bg-opacity-50";
}
classes += " " + added_classes;
</script>
<a href={href} class={classes}>
<a href={href} class={classes} on:click>
<slot />
</a>

@ -1,11 +1,42 @@
<header>
<script>
import { page } from "$app/stores";
import Button from "./Button.svelte";
console.log($page.url.pathname);
</script>
<header class="relative mt-20 max-w-[1400px] mx-auto dropanim">
<a href="/">
<img src="/title.png" class="w-11/12 lg:w-2/3 mb-10 lg:mb-0 mx-auto grow drop-shadow-2xl" alt="header siv kyne" />
<img src="/title.png" class="mb-10 lg:mb-0 mx-auto drop-shadow-2xl grow" alt="header siv kyne" />
</a>
{#if $page.url.pathname != "/" && $page.url.pathname != "/calculator" }
<span href="/calculator" class="hidden xl:block text-s absolute w-full py-6 bottom-0 left-0 right-0 text-center hover:scale-105 transition duration-300 z-50">
<Button href="/calculator" added_classes="bg-opacity-100 shadow-xl">
🧮 Check out the new interactive commission picker!
</Button>
</span>
{/if}
</header>
<style>
.dropanim {
animation: dropanim;
animation-duration: 0.4s;
animation-timing-function: ease-in-out;
}
@keyframes dropanim {
0% {
transform: translateY(-50vh);
}
50% {
transform: translateY(1vh);
}
100% {
transform: translateY(0);
}
}
.grow {
animation: grow;
animation-duration: 2s;

@ -4,7 +4,7 @@
export let page;
</script>
<section class="container bg-gray-800 rounded-lg shadow-lg p-3 flex flex-col lg:flex-row gap-3 justify-between justify-items-stretch items-center -mt-10 z-20">
<section class="container bg-slate-800 rounded-lg shadow-lg p-3 flex flex-col lg:flex-row gap-3 justify-between justify-items-stretch items-center z-20">
{#if page == "/"}
<Button href="/" active="true">
🏠 Home
@ -37,11 +37,11 @@
{#if page == "/contact"}
<Button href="/contact" active="true">
✉️ Social Links
✉️ Socials
</Button>
{:else}
<Button href="/contact">
✉️ Social Links
✉️ Socials
</Button>
{/if}
</section>

@ -13,11 +13,12 @@
<section class="container bg-gray-800 rounded-lg shadow-lg p-5 flex flex-col gap-5">
<h1 class="text-xl font-bold">
Unexpected Error!
*beep boop* Unexpected Error!
</h1>
<hr/>
<p class="text-lg">
You probably have the wrong page.
The website encountered some kind of problem.
It is likely you've navigated to the wrong place, or copied a link from the Commission Picker that is no longer compatible.
</p>
</section>
</main>

@ -1,7 +1,6 @@
<script>
import Footer from "$lib/footer/Footer.svelte";
import Header from "$lib/header/Header.svelte";
import "../app.css";
</script>
@ -13,21 +12,43 @@
</svelte:head>
<main class="bg-green-600 text-white relative w-screen bg-cover bg-fixed" style="background-image: url('/bg2.png')">
<div class="absolute inset-0 z-0 overflow-y-hidden ">
<div class="absolute inset-0 z-0 overflow-y-hidden">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320">
<path fill="rgb(244 63 94)" fill-opacity="1" d="M0,288L30,272C60,256,120,224,180,186.7C240,149,300,107,360,101.3C420,96,480,128,540,154.7C600,181,660,203,720,229.3C780,256,840,288,900,304C960,320,1020,320,1080,304C1140,288,1200,256,1260,224C1320,192,1380,160,1410,144L1440,128L1440,320L1410,320C1380,320,1320,320,1260,320C1200,320,1140,320,1080,320C1020,320,960,320,900,320C840,320,780,320,720,320C660,320,600,320,540,320C480,320,420,320,360,320C300,320,240,320,180,320C120,320,60,320,30,320L0,320Z"></path>
</svg>
<div class="bg-gradient-to-b from-rose-500 via-pink-800 to-gray-900 -mt-1 z-10 h-screen"></div>
<div class="bg-gray-900 h-full">
<div class="bg-gradient-to-b from-rose-500 via-pink-800 to-slate-900 -mt-1 z-10 h-screen"></div>
<div class="bg-slate-900 h-full">
<div style="background-image: url('/bg3.png')" class="h-full bg-cover bg-opacity-1 blur-xl"></div>
</div>
</div>
<article class="px-3 lg:px-0 py-10 lg:py-20 flex flex-col gap-10 h-full">
<div class="flex flex-col gap-10 min-h-screen z-50">
<article class="px-3 lg:px-0 py-0 flex flex-col gap-10 h-full">
<div class="flex flex-col justify-start gap-10 min-h-screen z-50">
<Header />
<span class="loadanim">
<slot />
<Footer />
</span>
</div>
</article>
</main>
<style>
.loadanim {
animation: loadanim;
animation-duration: 0.4s;
animation-timing-function: ease-in-out;
}
@keyframes loadanim {
0% {
transform: translateY(50vh);
}
50% {
transform: translateY(-1vh);
}
100% {
transform: translateY(0);
}
}
</style>

@ -14,7 +14,7 @@
<main class="flex flex-col gap-5">
<Navbar page="/about" />
<section class="container bg-gray-800 rounded-lg shadow-lg p-5 flex flex-col gap-5">
<section class="container bg-slate-800 rounded-lg shadow-lg p-5 flex flex-col gap-5">
<h1 class="text-2xl font-bold fira-bold">{lang["title"]}</h1>
<hr/>
<p class="text-sm lg:text-base">

@ -0,0 +1,56 @@
<script>
import CalculatorHeader from "$lib/calculator/CalculatorHeader.svelte";
import Footer from "$lib/footer/Footer.svelte";
import "../../app.css";
</script>
<svelte:head>
<meta property="og:type" content="website" />
<meta property="og:url" content="https://sivkyne.xyz" />
<meta property="og:image" content="https://sivkyne.xyz/pic.png" />
<meta name="theme-color" content="rgb(244 63 94)">
</svelte:head>
<main class="bg-black text-white relative w-screen">
<div class="absolute inset-0 w-full h-full bg-cover bg-fixed bg-bottom" style="background-image: url('/commissions/complex1.jpg')"></div>
<div class="absolute inset-0 h-[800px] bg-gradient-to-tr from-[#4d9937] via-[#57a940]"></div>
<div class="absolute inset-0 z-0 overflow-y-hidden mt-60">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320">
<path fill="rgb(244 63 94)" fill-opacity="1" d="M0,0L80,37.3C160,75,320,149,480,181.3C640,213,800,203,960,170.7C1120,139,1280,85,1360,58.7L1440,32L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"></path>
</svg>
<div class="bg-gradient-to-b from-rose-500 via-pink-800 to-slate-900 -mt-1 z-10 h-screen"></div>
<div class="bg-slate-900 h-full">
<div style="background-image: url('/bg3.png')" class="h-full bg-cover bg-opacity-1 blur-xl"></div>
</div>
</div>
<article class="px-3 lg:px-0 py-0 flex flex-col gap-10 h-full">
<div class="flex flex-col justify-start gap-10 min-h-screen z-50">
<CalculatorHeader/>
<span class="loadanim">
<slot />
<Footer />
</span>
</div>
</article>
</main>
<style>
.loadanim {
animation: loadanim;
animation-duration: 0.4s;
animation-timing-function: ease-in-out;
}
@keyframes loadanim {
0% {
transform: translateY(50vh);
}
50% {
transform: translateY(-1vh);
}
100% {
transform: translateY(0);
}
}
</style>

@ -0,0 +1,17 @@
<script>
import words from "$lib/en-lang.json";
import Calculator from "$lib/calculator/Calculator.svelte";
import Button from "$lib/header/Button.svelte";
let lang = words["calculator"];
</script>
<svelte:head>
<meta property="og:title" content={lang["title"] + " || Siv Kyne"} />
<meta property="og:description" content={lang["description"]} />
<title>{lang["title"]} || Siv Kyne</title>
</svelte:head>
<main class="flex flex-col gap-5">
<Calculator/>
</main>

@ -17,25 +17,35 @@
<main class="flex flex-col gap-5">
<Navbar page="/commissions" />
<section class="container bg-slate-800 rounded-lg shadow-lg p-5 flex flex-col">
<h2 class="flex gap-2 items-end">
<span class="font-bold text-green-500 text-xl">Pro Tip!</span>
Press on the pictures to visit them in the Commission Picker
</h2>
</section>
{#each lang["accordions"] as accordion}
<Accordion title={accordion["title"]} id={accordion["id"]} note={accordion["note"]} autoOpen={accordion["autoOpen"]}>
<div class="grid grid-cols-1 lg:grid-cols-{accordion["cols"]} gap-5">
{#each accordion["items"] as item}
<Item picture={item["picture"]} name={item["name"]} price={item["price"]} note={item["note"]} />
<Item picture={item["picture"]} name={item["name"]} price={item["price"]} note={item["note"]} link={item['link']} />
{/each}
</div>
</Accordion>
{/each}
<section class="container bg-gray-800 rounded-lg shadow-lg p-5 flex flex-col">
<section class="container bg-slate-800 rounded-lg shadow-lg p-5 flex flex-col">
<div class="flex flex-wrap justify-center items-center gap-5">
<Social href="https://trello.com/b/JfPAzQyJ/siv-kynes-commission-queue" icon="📑" text="Commission Queue" />
<Social href="https://ko-fi.com/sivkyne" icon="☕" text="Ko-fi" />
<Social href="https://paypal.me/sivkyne" icon="💰" text="PayPal" />
<Social href="/contact" icon="✉️" text="Contact" />
<Social href="/commissions/tos" icon="⚖️" text="Terms of Service" />
<Social href="/calculator" icon="🧮" text="Commission Picker" />
</div>
</section>
<div class="hidden col-span-1 col-span-2 col-span-3 col-span-4 col-span-5 col-span-6 col-span-7 col-span-8 col-span-9 col-span-10 col-span-11 col-span-12"></div>
<div class="grid-cols-1"></div>
<div class="grid-cols-2"></div>
<div class="grid-cols-3"></div>
</main>

@ -14,7 +14,7 @@
<main class="flex flex-col gap-5">
<Navbar page="/commissions" />
<section class="container bg-gray-800 rounded-lg shadow-lg p-5 flex flex-col gap-5">
<section class="container bg-slate-800 rounded-lg shadow-lg p-5 flex flex-col gap-5">
<span>
<h1 class="text-2xl font-bold fira-bold">{lang["title"]}</h1>
<h3 class="text-gray-300 italic text-sm">{lang["lastEdit"]}</h3>

@ -13,9 +13,17 @@
<main class="flex flex-col gap-5">
<Navbar page="/contact" />
<section class="container bg-gray-800 rounded-lg shadow-lg p-5 flex flex-col">
<section class="container flex lg:flex-row flex-col gap-10 bg-slate-800 rounded-lg shadow-lg p-5">
<div class="lg:w-2/4 flex flex-col gap-5">
<h2 class="text-2xl font-bold font-mono">✉️ Mail me!</h2>
<hr/>
<Form />
</div>
<div class="lg:w-2/4 flex flex-col gap-5">
<h2 class="text-2xl font-bold font-mono">💬 Find me online!</h2>
<hr/>
<div class="flex flex-wrap justify-center items-center gap-5">
<Social href="/about" icon="📄" text="About Me" />
<Social href="https://twitter.com/SivKyne" icon="🐦" text="Twitter" />
<Social href="https://discord.com/invite/5JCZTv3TtF" icon="💬" text="Discord" />
<Social href="https://www.youtube.com/channel/UC1pnonYCZv1mi3XImhX35-A" icon="📺" text="YouTube" />
@ -27,12 +35,8 @@
<Social href="https://myanimelist.net/animelist/SivKyne" icon="🎞️" text="My Anime List" />
<Social href="https://ko-fi.com/sivkyne" icon="☕" text="Ko-fi" />
<Social href="https://paypal.me/sivkyne" icon="💰" text="PayPal" />
<Social href="/commissions/tos" icon="⚖️" text="Terms of Service" />
<Social href="https://twitch.tv/sivkyne" icon="📹" text="Twitch" />
</div>
</section>
<section class="container bg-gray-800 rounded-lg shadow-lg p-5 flex flex-col">
<Form />
</div>
</section>
</main>

@ -1,20 +1,15 @@
<script>
import Card from "$lib/elements/Card.svelte";
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"];
let items = words["frontpage"]["items"];
onMount(() => {
const soundBtn = document.querySelector('#clickMeow');
soundBtn.addEventListener('click',() => {
function meow() {
let meow = new Audio("/squeak.mp3");
meow.volume = 0.1;
meow.play();
});
});
}
</script>
<svelte:head>
@ -24,11 +19,11 @@
</svelte:head>
<main class="flex flex-col gap-5">
<section class="container bg-gray-800 rounded-lg shadow-lg p-5 flex flex-col -mt-5 lg:mt-0 xl:-mt-5">
<div class="flex flex-col justify-center items-center gap-3 -mt-20 sm:-mt-28">
<div class="bg-gradient-to-t from-gray-800 via-gray-800 to-red-500 p-2 lg:p-3 rounded-full z-50">
<img src="/pic.png" id="clickMeow" class="pop w-40 h-40 sm:w-60 sm:h-60 rounded-full bg-gray-800" alt="profile pic" />
</div>
<section class="container bg-gradient-to-b from-slate-700 to-slate-800 rounded-lg shadow-lg p-5 flex flex-col -mt-5 lg:mt-0 xl:-mt-5">
<div class="flex flex-col justify-center items-center gap-3 -mt-20 sm:-mt-28 relative">
<div class="absolute inset-0 mx-auto bg-slate-700 rounded-full -z-10 w-40 h-40 sm:w-60 sm:h-60"></div>
<img src="/pic.png" class="absolute inset-0 mx-auto p-2 lg:p-3 pop w-40 h-40 sm:w-60 sm:h-60 rounded-full z-40" alt="profile pic" on:click={meow} />
<div class="h-60"></div>
<h2 class="text-2xl font-bold fira-bold text-center">{lang["title"]}</h2>
<p class="text-center">
@ -37,7 +32,12 @@
</div>
</section>
<section class="container bg-gray-800 rounded-lg shadow-lg p-5 flex flex-col gap-5">
<section class="container bg-slate-800 rounded-lg shadow-lg p-5 flex flex-col gap-5">
<div class="flex flex-wrap justify-center items-center gap-5">
<Social href="/about" icon="📄" text="About Me" />
<Social href="/calculator" icon="🧮" text="Commission Picker" />
<Social href="/contact" icon="✉️" text="Contact" />
</div>
<div class="flex flex-wrap justify-center items-center gap-5">
<Social href="https://twitter.com/SivKyne" target="_blank" icon="🐦" text="Twitter" />
<Social href="https://discord.com/invite/5JCZTv3TtF" target="_blank" icon="💬" text="Discord" />
@ -47,9 +47,6 @@
<Social href="https://open.spotify.com/user/uqwz46n0jki4zdwiedca5gbp2" target="_blank" icon="🎵" text="Spotify" />
<Social href="https://toyhou.se/sivkyne" target="_blank" icon="👪" text="Toyhouse" />
<Social href="https://myanimelist.net/animelist/SivKyne" target="_blank" icon="🎞️" text="My Anime List" />
<Social href="/about" icon="📄" text="About Me" />
<Social href="/contact" icon="✉️" text="Contact" />
<Social href="/commissions/tos" icon="⚖️" text="Terms of Service" />
<Social href="https://twitch.tv/sivkyne" icon="📹" text="Twitch" />
</div>
</section>

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

@ -11,7 +11,7 @@ module.exports = {
sm: '100%',
md: '100%',
lg: '700px',
xl: '900px'
xl: '1000px'
},
borderWidth: {
DEFAULT: '1px',

Loading…
Cancel
Save