diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index bdbefc3..b44e852 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -9,9 +9,10 @@
import Search from '@/components/search.svelte';
import Container from '@/components/container.svelte';
import SvgCard from '@/components/svgCard.svelte';
+ import Grid from '@/components/grid.svelte';
// Search:
- let searchTerm = "";
+ let searchTerm = '';
let filteredSvgs: iSVG[] = [];
if (searchTerm.length === 0) {
@@ -29,10 +30,14 @@
-
-
+
+
{#each filteredSvgs as svg}
{/each}
-
+
diff --git a/src/routes/directory/[slug]/+page.svelte b/src/routes/directory/[slug]/+page.svelte
index ac9b605..bc75d0e 100644
--- a/src/routes/directory/[slug]/+page.svelte
+++ b/src/routes/directory/[slug]/+page.svelte
@@ -6,6 +6,7 @@
// Components:
import Container from '@/components/container.svelte';
+ import Grid from '@/components/grid.svelte';
import Search from '@/components/search.svelte';
import SvgCard from '@/components/svgCard.svelte';
@@ -17,7 +18,7 @@
filteredSvgs = svgsByCategory.sort((a: iSVG, b: iSVG) => {
return b.id - a.id;
});
-}
+ }
const searchSvgs = () => {
return (filteredSvgs = svgsByCategory.filter((svg: iSVG) => {
@@ -28,10 +29,14 @@
-
-
+
+
{#each filteredSvgs as svg}
{/each}
-
+