diff --git a/packages/nextjs/app/page.tsx b/packages/nextjs/app/page.tsx index b91c22f..71b6cb6 100644 --- a/packages/nextjs/app/page.tsx +++ b/packages/nextjs/app/page.tsx @@ -4,6 +4,7 @@ import Link from "next/link"; import type { NextPage } from "next"; import { useAccount } from "wagmi"; import { BugAntIcon, MagnifyingGlassIcon } from "@heroicons/react/24/outline"; +import { Faq } from "~~/components/extensions-hackathon/Faq"; import { Address } from "~~/components/scaffold-eth"; const Home: NextPage = () => { @@ -63,6 +64,7 @@ const Home: NextPage = () => { + ); diff --git a/packages/nextjs/components/extensions-hackathon/Faq.tsx b/packages/nextjs/components/extensions-hackathon/Faq.tsx new file mode 100644 index 0000000..21c7b51 --- /dev/null +++ b/packages/nextjs/components/extensions-hackathon/Faq.tsx @@ -0,0 +1,44 @@ +const faqData = [ + { + question: "What's SE-2?", + answer: + "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", + }, + { + question: "What are SE-2 extensions?", + answer: + "Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.", + }, + { + question: "What do I have to do to participate?", + answer: + "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit.", + }, + { + question: "Are there any rules for the extension?", + answer: + "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam. Eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.", + }, + { + question: "What makes a good extension?", + answer: + "Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit.", + }, +]; + +export const Faq = () => { + return ( +
+

Frequently Asked Questions

+ {faqData.map((item, index) => ( +
+ +
{item.question}
+
+

{item.answer}

+
+
+ ))} +
+ ); +};