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:
@@ -6,9 +6,9 @@
|
||||
import XIcon from "@lucide/svelte/icons/x";
|
||||
import TagIcon from "@lucide/svelte/icons/tag";
|
||||
import LinkIcon from "@lucide/svelte/icons/link";
|
||||
import PaletteIcon from "@lucide/svelte/icons/palette";
|
||||
import SparklesIcon from "@lucide/svelte/icons/sparkles";
|
||||
import BaselineIcon from "@lucide/svelte/icons/baseline";
|
||||
import PaletteIcon from "@lucide/svelte/icons/palette";
|
||||
import EllipsisIcon from "@lucide/svelte/icons/ellipsis";
|
||||
|
||||
// UI Components:
|
||||
@@ -17,10 +17,9 @@
|
||||
import { Button, buttonVariants } from "@/components/ui/button";
|
||||
|
||||
// Components:
|
||||
import CopySvg from "@/components/copySvg.svelte";
|
||||
import DownloadSvg from "@/components/downloadSvg.svelte";
|
||||
import Heart from "@lucide/svelte/icons/heart";
|
||||
import AddToFavorite from "./addToFavorite.svelte";
|
||||
import CopySvg from "@/components/svgs/copySvg.svelte";
|
||||
import DownloadSvg from "@/components/svgs/downloadSvg.svelte";
|
||||
import AddToFavorite from "@/components/addToFavorite.svelte";
|
||||
|
||||
// Props:
|
||||
interface Props {
|
||||
@@ -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