mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
♻️ Organize SVGs components, create svgs folder
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
// Components:
|
||||
import Grid from "@/components/grid.svelte";
|
||||
import Search from "@/components/search.svelte";
|
||||
import SvgCard from "@/components/svgCard.svelte";
|
||||
import SortSvgs from "@/components/sortSvgs.svelte";
|
||||
import SvgCard from "@/components/svgs/svgCard.svelte";
|
||||
import SortSvgs from "@/components/svgs/sortSvgs.svelte";
|
||||
import Container from "@/components/container.svelte";
|
||||
|
||||
import PageCard from "@/components/pageCard.svelte";
|
||||
@@ -105,9 +105,7 @@
|
||||
/>
|
||||
</div>
|
||||
<Container className="my-6">
|
||||
<Grid
|
||||
className="animate-in fill-mode-backwards fade-in slide-in-from-bottom-4 duration-500"
|
||||
>
|
||||
<Grid>
|
||||
{#each displaySvgs as svg}
|
||||
<SvgCard svgInfo={svg} />
|
||||
{/each}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// Components:
|
||||
import Grid from "@/components/grid.svelte";
|
||||
import Search from "@/components/search.svelte";
|
||||
import SvgCard from "@/components/svgCard.svelte";
|
||||
import SvgCard from "@/components/svgs/svgCard.svelte";
|
||||
import Container from "@/components/container.svelte";
|
||||
|
||||
import PageCard from "@/components/pageCard.svelte";
|
||||
@@ -116,9 +116,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<Container className="my-6">
|
||||
<Grid
|
||||
className="animate-in fill-mode-backwards fade-in slide-in-from-bottom-4 duration-500"
|
||||
>
|
||||
<Grid>
|
||||
{#each filteredSvgs as svg}
|
||||
<SvgCard svgInfo={svg} />
|
||||
{/each}
|
||||
|
||||
Reference in New Issue
Block a user