diff --git a/src/routes/(pages)/app/(app)/components/default-explore-page.svelte b/src/routes/(pages)/app/(app)/components/default-explore-page.svelte index 6b219c80a..6b2d1c725 100644 --- a/src/routes/(pages)/app/(app)/components/default-explore-page.svelte +++ b/src/routes/(pages)/app/(app)/components/default-explore-page.svelte @@ -13,8 +13,6 @@ import EtherscanIcon from '$lib/components/icons/Etherscan.svelte'; import DripListIcon from '$lib/components/icons/DripList.svelte'; import Section from '$lib/components/section/section.svelte'; - import ProjectCard from '$lib/components/project-card/project-card.svelte'; // PROJECT_CARD_FRAGMENT, - import PrimaryColorThemer from '$lib/components/primary-color-themer/primary-color-themer.svelte'; import { PUBLIC_NETWORK } from '$env/static/public'; import walletStore from '$lib/stores/wallet/wallet.store'; import AggregateFiatEstimate from '$lib/components/aggregate-fiat-estimate/aggregate-fiat-estimate.svelte'; @@ -28,8 +26,6 @@ import DripListCard, { DRIP_LIST_CARD_FRAGMENT, } from '$lib/components/drip-list-card/drip-list-card.svelte'; - import filterCurrentChainData from '$lib/utils/filter-current-chain-data'; - import isClaimed from '$lib/utils/project/is-claimed'; import { gql } from 'graphql-request'; import type { DefaultExplorePageFeaturedDripListsFragment, @@ -39,8 +35,8 @@ import type { postsListingSchema } from '../../../../api/blog/posts/schema'; import LatestNewsSection from './latest-news-section.svelte'; import ConnectWalletPrompt from './connect-wallet-prompt.svelte'; - import getProjectColor from './project-color'; import RecentlyClaimedProjects from './recently-claimed-projects.svelte'; + import ProjectsGrid from './projects-grid.svelte'; const FEATURED_WEB_3_PROJECTS_ACCOUNT_IDS = { @@ -175,17 +171,7 @@ }} >
- +
@@ -229,17 +215,7 @@ }} >
- +
@@ -299,18 +275,6 @@ overflow-x: auto; } - @media (max-width: 767px) { - .featured-projects { - display: flex; - gap: 1rem; - padding: 4px; - } - - .featured-projects > div { - width: 14rem; - } - } - .drip-list-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr)); diff --git a/src/routes/(pages)/app/(app)/components/projects-grid.svelte b/src/routes/(pages)/app/(app)/components/projects-grid.svelte new file mode 100644 index 000000000..1c2b09bf9 --- /dev/null +++ b/src/routes/(pages)/app/(app)/components/projects-grid.svelte @@ -0,0 +1,45 @@ + + +
+ {#each projects as project} +
+ {#if isClaimed(filterCurrentChainData(project.chainData))} + + + + {/if} +
+ {/each} +
+ + diff --git a/src/routes/(pages)/app/(app)/components/recently-claimed-projects.svelte b/src/routes/(pages)/app/(app)/components/recently-claimed-projects.svelte index 860e9006f..3255dfed8 100644 --- a/src/routes/(pages)/app/(app)/components/recently-claimed-projects.svelte +++ b/src/routes/(pages)/app/(app)/components/recently-claimed-projects.svelte @@ -20,17 +20,12 @@