diff --git a/components/home/HomePageContent.tsx b/components/home/HomePageContent.tsx index 33903a8fd8..ec8f1cbd3f 100644 --- a/components/home/HomePageContent.tsx +++ b/components/home/HomePageContent.tsx @@ -1,6 +1,7 @@ "use client"; import SubmissionCarouselSection from "./SubmissionCarouselSection"; +import { HeroHeader } from "./hero"; import { NowMintingSection } from "./now-minting"; import { NextMintLeadingSection } from "./next-mint-leading"; import { BoostedSection } from "./boosted"; @@ -9,6 +10,7 @@ import { ExploreWavesSection } from "./explore-waves"; export default function HomePageContent() { return (
+
diff --git a/components/home/hero/HeroHeader.tsx b/components/home/hero/HeroHeader.tsx new file mode 100644 index 0000000000..42f95a2094 --- /dev/null +++ b/components/home/hero/HeroHeader.tsx @@ -0,0 +1,17 @@ +"use client"; + +export default function HeroHeader() { + return ( +
+

+ 6529 +

+

+ Where art meets community +

+

+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Saepe asperiores explicabo culpa. +

+
+ ); +} diff --git a/components/home/hero/index.ts b/components/home/hero/index.ts index f1f4adc1be..34c96a1bf6 100644 --- a/components/home/hero/index.ts +++ b/components/home/hero/index.ts @@ -1 +1,2 @@ export { default as CarouselHeader } from "./CarouselHeader"; +export { default as HeroHeader } from "./HeroHeader"; diff --git a/components/home/now-minting/NowMintingCountdownActive.tsx b/components/home/now-minting/NowMintingCountdownActive.tsx index 8c276731a3..215552870e 100644 --- a/components/home/now-minting/NowMintingCountdownActive.tsx +++ b/components/home/now-minting/NowMintingCountdownActive.tsx @@ -12,26 +12,25 @@ export default function NowMintingCountdownActive({ countdown, }: NowMintingCountdownActiveProps) { return ( -
-
-
- +
+
+ {countdown.title} {countdown.isActive && ( -
+
- + Live
)}
-
-
+
+
@@ -39,7 +38,7 @@ export default function NowMintingCountdownActive({ {countdown.showMintBtn && ( Mint -
-
-
+
+
+
- + Error fetching mint information diff --git a/components/home/now-minting/NowMintingCountdownFinalized.tsx b/components/home/now-minting/NowMintingCountdownFinalized.tsx index 340edbb7a9..1e2ddf5346 100644 --- a/components/home/now-minting/NowMintingCountdownFinalized.tsx +++ b/components/home/now-minting/NowMintingCountdownFinalized.tsx @@ -2,14 +2,13 @@ import ClockIcon from "@/components/utils/icons/ClockIcon"; export default function NowMintingCountdownFinalized() { return ( -
-
-
-
+
+
+
-

+

Mint phase complete

diff --git a/components/home/now-minting/NowMintingCountdownLoading.tsx b/components/home/now-minting/NowMintingCountdownLoading.tsx index 289c61639f..e8a20a9b94 100644 --- a/components/home/now-minting/NowMintingCountdownLoading.tsx +++ b/components/home/now-minting/NowMintingCountdownLoading.tsx @@ -1,11 +1,10 @@ export default function NowMintingCountdownLoading() { return ( -

-
-
+
+
-
-
+
+
); diff --git a/components/home/now-minting/NowMintingCountdownSoldOut.tsx b/components/home/now-minting/NowMintingCountdownSoldOut.tsx index e503e8a413..dceabe0e15 100644 --- a/components/home/now-minting/NowMintingCountdownSoldOut.tsx +++ b/components/home/now-minting/NowMintingCountdownSoldOut.tsx @@ -2,14 +2,13 @@ import { CheckCircleIcon } from "@heroicons/react/24/outline"; export default function NowMintingCountdownSoldOut() { return ( -
-
-
- +
+
+
- + Mint complete diff --git a/components/home/now-minting/NowMintingDetails.tsx b/components/home/now-minting/NowMintingDetails.tsx index 8e730037ff..eedb503448 100644 --- a/components/home/now-minting/NowMintingDetails.tsx +++ b/components/home/now-minting/NowMintingDetails.tsx @@ -17,20 +17,18 @@ export default function NowMintingDetails({ nft }: NowMintingDetailsProps) { if (value <= 0) return "N/A"; return `${value.toFixed(5)} ETH`; }; + const floorPrice = formatEth(nft.floor_price); return (
-
+
- + +
Edition Details -
+
{details.map(({ label, value }) => (
@@ -45,7 +45,7 @@ export default function NowMintingDetailsAccordion({ Distribution Plan View diff --git a/components/home/now-minting/NowMintingHeader.tsx b/components/home/now-minting/NowMintingHeader.tsx index 8096e331f7..3d7d29aff5 100644 --- a/components/home/now-minting/NowMintingHeader.tsx +++ b/components/home/now-minting/NowMintingHeader.tsx @@ -28,10 +28,6 @@ export default function NowMintingHeader({ return (
- - Card #{cardNumber} - - -
- {profile?.pfp ? ( - {artistName} - ) : ( -
- )} - - {hasHandle ? ( - + + Card #{cardNumber} + + + {profile?.pfp ? ( + {artistName} ) : ( - artistName +
)} + + {hasHandle ? ( + + ) : ( + artistName + )} +
+
); } diff --git a/components/home/now-minting/NowMintingSection.tsx b/components/home/now-minting/NowMintingSection.tsx index 762935392f..bd54b84033 100644 --- a/components/home/now-minting/NowMintingSection.tsx +++ b/components/home/now-minting/NowMintingSection.tsx @@ -9,25 +9,25 @@ export default function NowMintingSection() { if (isFetching && !nft) { return ( -
- +
+ Latest Drop -
-
-
-
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
+
{...new Array(4).map((_, i) => (
@@ -35,8 +35,8 @@ export default function NowMintingSection() {
))}
-
-
+
+
@@ -50,18 +50,18 @@ export default function NowMintingSection() { } return ( -
- +
+ Latest Drop -
-
-
+
+
+
-
+
diff --git a/components/home/now-minting/NowMintingStatsGrid.tsx b/components/home/now-minting/NowMintingStatsGrid.tsx index c877095421..2fd3f2c4ed 100644 --- a/components/home/now-minting/NowMintingStatsGrid.tsx +++ b/components/home/now-minting/NowMintingStatsGrid.tsx @@ -25,12 +25,12 @@ export default function NowMintingStatsGrid({ const statusTone = manifoldClaim?.isFinalized ? "ended" : status; const editionSize = manifoldClaim - ? formatEditionSize(manifoldClaim) + ? formatEditionSize(manifoldClaim).replace(/\s*\/\s*/, "/") : undefined; const mintPrice = manifoldClaim ? formatClaimCost(manifoldClaim) : undefined; return ( -
+
) : ( - + {value} )}