Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…EBSITE into tech322/bonasi-mint
  • Loading branch information
techeng322 committed Oct 8, 2024
2 parents 33e2cd0 + 5b267de commit fb71e75
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
3 changes: 0 additions & 3 deletions src/components/Pages/BonasiContent/index.tsx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import getIpfsLink from "@/lib/getIpfsLink"
import { BONASI } from "@/lib/consts"
import { BONSAI } from "@/lib/consts"
import RecBar from "../../RecBar"
import useIsMobile from "../../../hooks/useIsMobile"

const BonasiContent = () => {
const BonsaiContent = () => {
const isMobile = useIsMobile()

return (
Expand All @@ -20,7 +20,7 @@ const BonasiContent = () => {
>
{/* eslint-disable-next-line jsx-a11y/media-has-caption */}
<video
src={getIpfsLink(BONASI)}
src={getIpfsLink(BONSAI)}
width={isMobile ? 180 : 200}
height={isMobile ? 125 : 230}
controls
Expand All @@ -33,4 +33,4 @@ const BonasiContent = () => {
)
}

export default BonasiContent
export default BonsaiContent
3 changes: 3 additions & 0 deletions src/components/Pages/BonsaiContent/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import BonsaiContent from "./BonsaiContent"

export default BonsaiContent
12 changes: 6 additions & 6 deletions src/components/Pages/LandingPage/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import { SCREENS } from "@/lib/screens"
import { usePopupWidget } from "@/providers/PopupWidgetProvider"
import LandingCard from "../../LandingCard"
import Layout from "../../Layout"
import BonasiContent from "../BonasiContent/BonasiContent"
import BonsaiContent from "../BonsaiContent"

const LandingPage = () => {
const { openPopUp } = usePopupWidget() as any
const { entered } = usePageLoad()
const isMobile = useIsMobile()
const [isBonasiOpen, setIsBonasiOpen] = useState<any>(true)
const [isBonsaiOpen, setIsBonsaiOpen] = useState<any>(true)

return (
<Layout type={isMobile ? "mobile" : "base"}>
Expand Down Expand Up @@ -59,13 +59,13 @@ const LandingPage = () => {
Play Relief
</a>
)}
{isBonasiOpen && (
{isBonsaiOpen && (
<DraggableModal
href="/"
handleClose={() => setIsBonasiOpen(!isBonasiOpen)}
isVisible={isBonasiOpen}
handleClose={() => setIsBonsaiOpen(!isBonsaiOpen)}
isVisible={isBonsaiOpen}
>
<BonasiContent />
<BonsaiContent />
</DraggableModal>
)}
</Layout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import data from "@/lib/zora-drops"
import { Address } from "viem"
import { base, baseSepolia } from "viem/chains"

const BonasiSection = ({ isPopup }) => (
const BonsaiSection = ({ isPopup }) => (
<DropCollect
title={data[12].title}
artist={data[12].artist}
Expand All @@ -20,4 +20,4 @@ const BonasiSection = ({ isPopup }) => (
</DropCollect>
)

export default BonasiSection
export default BonsaiSection
4 changes: 2 additions & 2 deletions src/components/Pages/Web3Page/Trailer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ArcadeSection from "./ArcadeSection"
import BonasiSection from "./BonasiSection"
import BonsaiSection from "./BonsaiSection"
import DropSection from "./DropSection"
import HydroplaningSection from "./HydroplaningSection"
import NeyborsSection from "./NeyborsSection"
Expand All @@ -9,7 +9,7 @@ const Trailer = ({ isPopup = false }) => (
<div className="h-full overflow-y-auto w-full">
<div className={`flex flex-col items-center gap-y-[10px] ${!isPopup && "md:gap-y-[20px]"}`}>
<div className="flex flex-col gap-y-[10px] h-full overflow-y-auto pr-2">
<BonasiSection isPopup={isPopup} />
<BonsaiSection isPopup={isPopup} />
<HydroplaningSection isPopup={isPopup} />
<TopArbitrumSection isPopup={isPopup} />
<DropSection isPopup={isPopup} />
Expand Down
2 changes: 1 addition & 1 deletion src/lib/consts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const ONE_MILLISEOND = 1000

export const SYSTEM_COMMERCIAL =
"ipfs://Qmccf1fZeNZc9nWwvq3a5aiQr3bCr5VNCi3PaUbhrUnpRJ/SYSTEM%20COMMERCIAL.mp4"
export const BONASI = "ipfs://QmeiQuQSv8HWsAmZxzX666V26KbknVi82qQMq5sibGhSHr"
export const BONSAI = "ipfs://QmeiQuQSv8HWsAmZxzX666V26KbknVi82qQMq5sibGhSHr"
export const COLLECTIONS = [
{
collectionAddress: ZORA_DROP_ADDRESS,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/zora-drops.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const data = [
ipfs: "https://ipfs.decentralized-content.com/ipfs/QmeiQuQSv8HWsAmZxzX666V26KbknVi82qQMq5sibGhSHr",
artist: "heno",
title: "Heno., Mad Keys - Lemons Made Better (Snippet)",
startedAt: "",
startedAt: "October 09, 2024",
},
]
export default data

0 comments on commit fb71e75

Please sign in to comment.