diff --git a/cms.data.js b/cms.data.js index 946abe3..a728eef 100644 --- a/cms.data.js +++ b/cms.data.js @@ -325,4 +325,29 @@ export const infoBlockContent = { cta : `Do one good thing before you croak: invest in ${entityTitle}`, ctaHref : "#invest" -} +}; +export const safeTermsContent = { + title : "Offering Details", + subTitle : "Y-Combinator SAFE", + description : + "We use the standard Y-Combinator SAFE note and offer all three versions for your convenience. The below are priced to our optimality but present to add choice for your investment and portfolio requirements.", + safeNoteContent : [ + { + safeTitle : "Cap", + href : "", + description : '"Standard", valuation cap only.', + }, + { + safeTitle : "Discount", + href : "", + description : + "Discount applies at conversion during the Liquidity Event.", + }, + { + safeTitle : "MFN", + href : "", + description : "No cap and no discount with MFN provision.", + }, + ], + cta : 'Learn more about our business.', +}; diff --git a/components/FactSnippetsHero.jsx b/components/FactSnippetsHero.jsx index 5c6e916..303906b 100644 --- a/components/FactSnippetsHero.jsx +++ b/components/FactSnippetsHero.jsx @@ -1,4 +1,4 @@ -import { signIn, signOut } from "next-auth/react"; +import { signIn } from "next-auth/react"; export default function FactSnippetsHero({ subTitle, diff --git a/components/Hero.jsx b/components/Hero.jsx index 2784a58..95efca4 100644 --- a/components/Hero.jsx +++ b/components/Hero.jsx @@ -50,7 +50,7 @@ export default function Hero({ ; +} diff --git a/components/Modal.jsx b/components/Modal.jsx new file mode 100644 index 0000000..d82102f --- /dev/null +++ b/components/Modal.jsx @@ -0,0 +1,83 @@ +import { Fragment, useState } from "react"; +import { Dialog, Transition } from "@headlessui/react"; +import { CheckIcon } from "@heroicons/react/outline"; + +export default function Modal({ title, buttonText, setIsClicked, children }) { + const [open, setOpen] = useState(true); + + return ( + + { + setOpen(!open); + setIsClicked(true); + }} + > +
+ + + + + {/* This element is to trick the browser into centering the modal contents. */} + + +
+
+
+
+
+ + {title} + +
{children}
+
+
+
+ +
+
+
+
+
+
+ ); +} diff --git a/components/SafeDiscount.jsx b/components/SafeDiscount.jsx new file mode 100644 index 0000000..7e919ce --- /dev/null +++ b/components/SafeDiscount.jsx @@ -0,0 +1,8 @@ +import MarkdownWrapper from "./MarkdownWrapper"; +import { discountSafe } from "../safe-note-content.js"; + +export default function SafeDiscount() { + return ( + + ); +} diff --git a/components/SafeMfn.jsx b/components/SafeMfn.jsx new file mode 100644 index 0000000..84e102b --- /dev/null +++ b/components/SafeMfn.jsx @@ -0,0 +1,6 @@ +import MarkdownWrapper from "./MarkdownWrapper"; +import { mfnSafe } from "../safe-note-content.js"; + +export default function SafeMfn() { + return ; +} diff --git a/components/SafeNote.jsx b/components/SafeNote.jsx new file mode 100644 index 0000000..5493f7b --- /dev/null +++ b/components/SafeNote.jsx @@ -0,0 +1,6 @@ +import { resolveSafeTypeToComponent } from "../lib/utils"; + +export default function SafeNote({ safeType }) { + const Safe = resolveSafeTypeToComponent(safeType); + return ; +} diff --git a/components/SafeValCap.jsx b/components/SafeValCap.jsx new file mode 100644 index 0000000..4876b13 --- /dev/null +++ b/components/SafeValCap.jsx @@ -0,0 +1,11 @@ +import MarkdownWrapper from "./MarkdownWrapper"; +import { valuationCapSafe } from "../safe-note-content.js"; + +export default function ValCap() { + return ( + + ); +} diff --git a/components/Sections/InfoBlock.jsx b/components/Sections/InfoBlock.jsx index b6e77fa..f89b47b 100644 --- a/components/Sections/InfoBlock.jsx +++ b/components/Sections/InfoBlock.jsx @@ -1,6 +1,6 @@ export default function InfoBlock({ title, description, cta, ctaHref }) { return ( -