From 833bb2805e13eb52a6f5113cb7963380cf81d7e9 Mon Sep 17 00:00:00 2001 From: Visual-Dawg Date: Fri, 2 Aug 2024 01:10:58 +0300 Subject: [PATCH] Improve hero design (#66) * improve hero design * navbar: smaller font Looks better --- src/lib/components/Button.svelte | 6 +++--- src/routes/Navbar.svelte | 16 ++++++++++------ src/routes/home-slices/Hero.svelte | 18 ++++++------------ 3 files changed, 19 insertions(+), 21 deletions(-) diff --git a/src/lib/components/Button.svelte b/src/lib/components/Button.svelte index b870b5f..5eef4d8 100755 --- a/src/lib/components/Button.svelte +++ b/src/lib/components/Button.svelte @@ -7,13 +7,13 @@ export let type = 'primary' $: classes = clsx( - 'animate rounded text-sm font-bold hover:scale-[1.01] active:scale-100', + 'animate rounded text-sm font-bold hover:scale-[1.01] active:scale-100', 'primary' == type && 'bg-slate-200 text-black', 'outline' == type && 'bg-transparent text-white outline outline-2 outline-slate-200', 'fancyOutline' == type && 'fancy', 'md' == size && 'min-w-[5.5rem] px-4 py-2.5', - 'lg' == size && 'min-w-[5.5rem] px-6 py-3 ', - 'xl' == size && 'min-w-[5.5rem] px-8 py-4 ', + 'lg' == size && 'min-w-[5.5rem] px-6 py-3', + 'xl' == size && 'min-w-[5.5rem] px-8 py-3.5', $$restProps.class ) diff --git a/src/routes/Navbar.svelte b/src/routes/Navbar.svelte index 536b0b6..bef1923 100755 --- a/src/routes/Navbar.svelte +++ b/src/routes/Navbar.svelte @@ -19,14 +19,14 @@
- HyprlandHyprland + - + @@ -72,7 +67,6 @@ theme(colors.cyan.500 / 0%) ); background-clip: text; - @apply text-4xl font-bold sm:text-5xl md:text-7xl; } .title-gradient {