💄 Design improvements, update layout content.

This commit is contained in:
pheralb
2023-12-12 13:12:27 +00:00
parent 2b57fee182
commit 52f067f87a
3 changed files with 25 additions and 21 deletions
+8 -6
View File
@@ -11,6 +11,7 @@
import SvgCard from '@/components/svgCard.svelte';
import Grid from '@/components/grid.svelte';
import NotFound from '@/components/notFound.svelte';
import { cn } from '@/utils/cn';
// Search:
let searchTerm = '';
@@ -39,13 +40,14 @@
<title>A beautiful library with SVG logos - Svgl</title>
</svelte:head>
<Search
bind:searchTerm
on:input={searchSvgs}
clearSearch={() => clearSearch()}
placeholder={`Search ${filteredSvgs.length} logos...`}
/>
<Container>
<Search
bind:searchTerm
on:input={searchSvgs}
clearSearch={() => clearSearch()}
placeholder={`Search ${filteredSvgs.length} logos...`}
/>
<Grid>
{#each filteredSvgs as svg}
<SvgCard svgInfo={svg} />