style: run prettier

This commit is contained in:
Reinaldy Rafli 2021-07-20 01:39:08 +07:00
parent 95c9916e22
commit 0b223cd498
2 changed files with 6 additions and 4 deletions

View File

@ -47,7 +47,9 @@
</div> </div>
<div class="flex-initial pr-3"> <div class="flex-initial pr-3">
<p class="text-sm opacity-50 hover:opacity-90 transition duration-300 ease-in-out inline-block"> <p class="text-sm opacity-50 hover:opacity-90 transition duration-300 ease-in-out inline-block">
<a href="https://jokesbapak2-analytics.herokuapp.com/share/1xYuVSyl/Jokes%20Bapak2" class="hover:underline">Analytics</a>. <a href="https://jokesbapak2-analytics.herokuapp.com/share/1xYuVSyl/Jokes%20Bapak2" class="hover:underline"
>Analytics</a
>.
</p> </p>
</div> </div>
</div> </div>

View File

@ -1,9 +1,9 @@
<script lang="ts"> <script lang="ts">
// This page is meant to explain available API endpoints. // This page is meant to explain available API endpoints.
import {onMount} from 'svelte'; import { onMount } from 'svelte';
import { _ } from 'svelte-i18n'; import { _ } from 'svelte-i18n';
import env from '$lib/env'; import env from '$lib/env';
import {$fetch as omf} from 'ohmyfetch'; import { $fetch as omf } from 'ohmyfetch';
import Codeblock from '../components/codeblock.svelte'; import Codeblock from '../components/codeblock.svelte';
import Notice from '../components/notice.svelte'; import Notice from '../components/notice.svelte';
@ -53,7 +53,7 @@
GET {env.API_ENDPOINT}/today GET {env.API_ENDPOINT}/today
</Codeblock> </Codeblock>
<h2>{$_('api.get.id.title')}</h2> <h2>{$_('api.get.id.title')}</h2>
<p>{$_('api.get.id.body', { values: { total }})}</p> <p>{$_('api.get.id.body', { values: { total } })}</p>
<Codeblock> <Codeblock>
GET {env.API_ENDPOINT}/id/&lcub;id&rcub; GET {env.API_ENDPOINT}/id/&lcub;id&rcub;
</Codeblock> </Codeblock>