diff --git a/client/src/app.html b/client/src/app.html index 97f318d..2f1744d 100644 --- a/client/src/app.html +++ b/client/src/app.html @@ -4,7 +4,9 @@ - + + + %svelte.head% diff --git a/client/src/languages/id.json b/client/src/languages/id.json index d80fa5a..948ca84 100644 --- a/client/src/languages/id.json +++ b/client/src/languages/id.json @@ -27,42 +27,42 @@ }, "why": { "exists": { - "title": "Why does this project exist?", + "title": "Mengapa ada proyek ini?", "body": { - "1": "Sometime around early 2020, I was interested on seeing Indonesian dad jokes all over Twitter.", - "2": "By the end of the month, I was obsessed with it.", - "3": "Then, it was that time where I learn and created my Discord bot,", - "4": "which I added a feature which you can ask for Indonesian dad jokes on a form of an image.", - "5": "I thought, why not make it into an API where people can use it too?", - "6": "Therefore, this was born." + "1": "Pada awal 2020, saya tertarik melihat jokes bapak2 di jagat Twitter.", + "2": "Akhir bulannya, saya nggak abis-abisnya liatin jokes bapak2.", + "3": "Lalu, pada masa itu juga saya belajar dan membuat bot untuk Discord,", + "4": "yang saya tambahkan fitur agar bisa mengirimkan jokes bapak2 dalam bentuk foto.", + "5": "Saya pikir, kenapa nggak sekalian buat API agar orang-orang juga bisa pakai?", + "6": "Kemudian, proyek ini lahir." } }, "submit": { - "title": "Can I submit my dad joke?", + "title": "Bolehkah saya submit jokes?", "body": { - "1": "You sure can!", - "2": "Submit the image to", - "3": "my email", - "4": ", and I'll get back to you as soon as possible.", - "5": "Bear in mind, your joke (or at least the content of the image) must not insult anyone and be racists.", - "6": "Let's keep the jokes healthy." + "1": "Boleh banget!", + "2": "Kirim fotonya ke", + "3": "email saya", + "4": "dan saya akan segera memprosesnya.", + "5": "Namun, joke yang kamu kirim (atau isi kontennya) tidak boleh menghina siapapun atau mengandung SARA.", + "6": "Tetap jadikan becandaannya sehat, ya." } }, "contribute": { - "title": "I don't have any dad joke, can I contribute?", + "title": "Saya tidak punya jokes, boleh kontribusi saja?", "body": { - "1": "Of course!", - "2": "This project is", - "3": "open sourced on Github.", - "4": "Feel free to crunch a bug, add a feature, or fix a small typo." + "1": "Pastinya!", + "2": "Proyek ini terdapat secara", + "3": "open source di Github.", + "4": "Kamu boleh menghancurkan bug, tambah fitur, atau memperbaiki typo kecil." } }, "inquiries": { - "title": "I have other inquiries", + "title": "Saya punya pertanyaan lain", "body": { - "1": "You can contact me through", - "2": "my email", - "3": "and I'll be in touch as soon as possible." + "1": "Kamu bisa menghubungi saya melalui", + "2": "email saya", + "3": "dan saya akan segera menghubungi kamu secepatnya." } } }, diff --git a/client/src/routes/__error.svelte b/client/src/routes/__error.svelte index fa36577..484a4d3 100644 --- a/client/src/routes/__error.svelte +++ b/client/src/routes/__error.svelte @@ -2,7 +2,7 @@ import type { LoadOutput } from '@sveltejs/kit'; import Sentry from '$lib/logging'; - export async function load({ error }: LoadOutput): Promise { + export function load({ error }: LoadOutput): void { Sentry.captureException(error); } diff --git a/client/src/routes/__layout.svelte b/client/src/routes/__layout.svelte index 64cdeef..288cc0b 100644 --- a/client/src/routes/__layout.svelte +++ b/client/src/routes/__layout.svelte @@ -10,6 +10,19 @@ import Navbar from '../components/navbar.svelte'; + + + + + + + + + + + + +
diff --git a/client/src/routes/api.svelte b/client/src/routes/api.svelte index a062e87..3ba7580 100644 --- a/client/src/routes/api.svelte +++ b/client/src/routes/api.svelte @@ -7,6 +7,11 @@ {$_('navigation.api')} - {$_('meta.title')} + + + + +
@@ -30,6 +35,9 @@

{$_('api.more')}

+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/client/static/social.jpg b/client/static/social.jpg new file mode 100644 index 0000000..96aa609 Binary files /dev/null and b/client/static/social.jpg differ diff --git a/client/static/svelte-welcome.png b/client/static/svelte-welcome.png deleted file mode 100644 index fe7d2d6..0000000 Binary files a/client/static/svelte-welcome.png and /dev/null differ diff --git a/client/static/svelte-welcome.webp b/client/static/svelte-welcome.webp deleted file mode 100644 index 6ec1a28..0000000 Binary files a/client/static/svelte-welcome.webp and /dev/null differ