From ecc4fd5db84bd8de05aa9855e731d47ebb0e820a Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Fri, 16 Jul 2021 15:32:47 +0700 Subject: [PATCH] refactor: meta tags --- client/src/components/navbar.svelte | 76 ++++++++++++++--------------- client/src/components/notice.svelte | 3 +- client/src/routes/__layout.svelte | 9 ++-- client/src/routes/api.svelte | 4 +- client/src/routes/guide.svelte | 1 + client/src/routes/index.svelte | 3 +- client/src/routes/why.svelte | 12 ++++- 7 files changed, 60 insertions(+), 48 deletions(-) diff --git a/client/src/components/navbar.svelte b/client/src/components/navbar.svelte index 85c43ad..cc22d3c 100644 --- a/client/src/components/navbar.svelte +++ b/client/src/components/navbar.svelte @@ -52,46 +52,46 @@ -
-
-
{ - open = false; - return goto('/'); - }} - class="hover:cursor-pointer flex-1 font-bold text-3xl pt-6 pb-10" - > - Jokesbapak2 -
-
{ - open = false; - return goto('/why'); - }} - class="flex-1 py-3 text-4xl" - > - {$_('navigation.why')} -
-
{ - open = false; - return goto('/guide'); - }} - class="flex-1 py-3 text-4xl" - > - {$_('navigation.guide')} -
-
{ - open = false; - return goto('/api'); - }} - class="flex-1 py-3 text-4xl" - > - {$_('navigation.api')} +
+
+
{ + open = false; + return goto('/'); + }} + class="hover:cursor-pointer flex-1 font-bold text-3xl pt-6 pb-10" + > + Jokesbapak2 +
+
{ + open = false; + return goto('/why'); + }} + class="flex-1 py-3 text-4xl" + > + {$_('navigation.why')} +
+
{ + open = false; + return goto('/guide'); + }} + class="flex-1 py-3 text-4xl" + > + {$_('navigation.guide')} +
+
{ + open = false; + return goto('/api'); + }} + class="flex-1 py-3 text-4xl" + > + {$_('navigation.api')} +
-
{/if} diff --git a/client/src/components/notice.svelte b/client/src/components/notice.svelte index aaaf0b6..7ded7fb 100644 --- a/client/src/components/notice.svelte +++ b/client/src/components/notice.svelte @@ -1,6 +1,7 @@ +
diff --git a/client/src/routes/__layout.svelte b/client/src/routes/__layout.svelte index c371b12..acec4f9 100644 --- a/client/src/routes/__layout.svelte +++ b/client/src/routes/__layout.svelte @@ -5,7 +5,6 @@ @@ -17,9 +16,13 @@ + + + + @@ -41,9 +44,7 @@ {$_('footer.available')} {$_('footer.github')}.

-

-  |  -

+

 | 

{$_('footer.language')} {$_('footer.english')} diff --git a/client/src/routes/api.svelte b/client/src/routes/api.svelte index 8212309..8af19ff 100644 --- a/client/src/routes/api.svelte +++ b/client/src/routes/api.svelte @@ -11,6 +11,7 @@ + @@ -42,9 +43,6 @@

{$_('api.more')}

- - -