|
@@ -13,6 +13,8 @@ import Loading from '@src/components/common/Loading';
|
|
import useMore from '@src/hooks/useMore';
|
|
import useMore from '@src/hooks/useMore';
|
|
import ArtistsScrollList from '@src/containers/common/ArtistsScrollList';
|
|
import ArtistsScrollList from '@src/containers/common/ArtistsScrollList';
|
|
import SalesRankingScrollList from '@src/containers/common/SalesRankingscrollList';
|
|
import SalesRankingScrollList from '@src/containers/common/SalesRankingscrollList';
|
|
|
|
+import { Link } from 'react-router-dom';
|
|
|
|
+import URLInfo from '@src/constants/URLInfo';
|
|
|
|
|
|
const cx = classNames.bind(styles);
|
|
const cx = classNames.bind(styles);
|
|
|
|
|
|
@@ -54,37 +56,37 @@ const Home: React.FC = () => {
|
|
}, [location.pathname]);
|
|
}, [location.pathname]);
|
|
|
|
|
|
return (
|
|
return (
|
|
- <div className={cx('home')}>
|
|
|
|
|
|
+ <div className={cx("home")}>
|
|
{isLoaded ? (
|
|
{isLoaded ? (
|
|
<Loading />
|
|
<Loading />
|
|
) : (
|
|
) : (
|
|
<>
|
|
<>
|
|
{!!data?.curating_list.length && (
|
|
{!!data?.curating_list.length && (
|
|
- <div className={cx('banner_group')}>
|
|
|
|
|
|
+ <div className={cx("banner_group")}>
|
|
<BannerScrollList list={data.curating_list} />
|
|
<BannerScrollList list={data.curating_list} />
|
|
</div>
|
|
</div>
|
|
)}
|
|
)}
|
|
{!!data?.special_bids.length && (
|
|
{!!data?.special_bids.length && (
|
|
- <div className={cx('home_group')}>
|
|
|
|
- <strong className={cx('home_title')}>Special Bids 🌟</strong>
|
|
|
|
|
|
+ <div className={cx("home_group")}>
|
|
|
|
+ <strong className={cx("home_title")}>Special Bids 🌟</strong>
|
|
<NFTScrollList list={data.special_bids} />
|
|
<NFTScrollList list={data.special_bids} />
|
|
</div>
|
|
</div>
|
|
)}
|
|
)}
|
|
{!!data?.hot_bids.length && (
|
|
{!!data?.hot_bids.length && (
|
|
- <div className={cx('home_group')}>
|
|
|
|
- <strong className={cx('home_title')}>지금 뜨는 Bids 🚀</strong>
|
|
|
|
|
|
+ <div className={cx("home_group")}>
|
|
|
|
+ <strong className={cx("home_title")}>지금 뜨는 Bids 🚀</strong>
|
|
<NFTScrollList list={data.hot_bids} />
|
|
<NFTScrollList list={data.hot_bids} />
|
|
</div>
|
|
</div>
|
|
)}
|
|
)}
|
|
{!!data?.time_auctions.length && (
|
|
{!!data?.time_auctions.length && (
|
|
- <div className={cx('home_group')}>
|
|
|
|
- <strong className={cx('home_title')}>타임옥션 🔥</strong>
|
|
|
|
|
|
+ <div className={cx("home_group")}>
|
|
|
|
+ <strong className={cx("home_title")}>타임옥션 🔥</strong>
|
|
<NFTScrollList list={data.time_auctions} />
|
|
<NFTScrollList list={data.time_auctions} />
|
|
</div>
|
|
</div>
|
|
)}
|
|
)}
|
|
{!!data?.collections.length && (
|
|
{!!data?.collections.length && (
|
|
- <div className={cx('home_group')}>
|
|
|
|
- <strong className={cx('home_title')}>인기 콜렉션 🎉</strong>
|
|
|
|
|
|
+ <div className={cx("home_group")}>
|
|
|
|
+ <strong className={cx("home_title")}>인기 콜렉션 🎉</strong>
|
|
<CollectionScrollList list={data.collections} />
|
|
<CollectionScrollList list={data.collections} />
|
|
</div>
|
|
</div>
|
|
)}
|
|
)}
|
|
@@ -92,18 +94,22 @@ const Home: React.FC = () => {
|
|
<strong className={cx('home_title')}>탐색하기 🔍</strong>
|
|
<strong className={cx('home_title')}>탐색하기 🔍</strong>
|
|
<ExploreContentContainer list={filterProps.exploreList} filterProps={filterProps} handler={filterHandler} onClickMore={onClickMore} showMore={showMore} isLoaded={isExploreListLoaded} />
|
|
<ExploreContentContainer list={filterProps.exploreList} filterProps={filterProps} handler={filterHandler} onClickMore={onClickMore} showMore={showMore} isLoaded={isExploreListLoaded} />
|
|
</div> */}
|
|
</div> */}
|
|
- <div className={cx('home_group')}>
|
|
|
|
- <strong className={cx('home_title')}>Registered Artists 🧑🎨</strong>
|
|
|
|
|
|
+ <div className={cx("home_group")}>
|
|
|
|
+ <strong className={cx("home_title")}>Registered Artists 🧑🎨</strong>
|
|
<ArtistsScrollList />
|
|
<ArtistsScrollList />
|
|
</div>
|
|
</div>
|
|
- <div className={cx('home_group')}>
|
|
|
|
- <strong className={cx('home_title')}>Sales Ranking 🏆 <a className={cx('see_more')}>Sea more</a></strong>
|
|
|
|
|
|
+ <div className={cx("home_group")}>
|
|
|
|
+ <strong className={cx("home_title")}>
|
|
|
|
+ Sales Ranking 🏆{" "}
|
|
|
|
+ <Link to={URLInfo.RANKING} className={cx("see_more")}>
|
|
|
|
+ See more
|
|
|
|
+ </Link>
|
|
|
|
+ </strong>
|
|
<SalesRankingScrollList />
|
|
<SalesRankingScrollList />
|
|
</div>
|
|
</div>
|
|
</>
|
|
</>
|
|
)}
|
|
)}
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
);
|
|
);
|
|
};
|
|
};
|
|
|
|
|