MCPcopy Create free account
hub / github.com/dailydotdev/apps / PlusFAQ

Function PlusFAQ

packages/shared/src/components/plus/PlusFAQ.tsx:50–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48};
49
50export const PlusFAQ = (): ReactElement => {
51 const id = useId();
52 const titleId = `${id}-title`;
53 const items = plusFAQItemsApi;
54 return (
55 <section aria-labelledby={titleId} className="my-10">
56 <Typography
57 bold
58 className="mb-10 text-center"
59 id={titleId}
60 tag={TypographyTag.H2}
61 type={TypographyType.Title3}
62 >
63 Frequently asked questions
64 </Typography>
65 <div className="mx-auto flex max-w-3xl flex-col gap-4">
66 {items.map((item) => (
67 <FAQItem key={item.question} item={item} />
68 ))}
69 </div>
70 <Typography
71 className="mt-10 text-center"
72 color={TypographyColor.Tertiary}
73 type={TypographyType.Callout}
74 >
75 For technical or product related questions{' '}
76 <a
77 className="underline"
78 href={feedback}
79 target="_blank"
80 rel={anchorDefaultRel}
81 >
82 click here
83 </a>{' '}
84 or email us at{' '}
85 <a
86 className="underline"
87 href="mailto:support@daily.dev?subject=I have a question about Plus membership"
88 target="_blank"
89 rel={anchorDefaultRel}
90 >
91 support@daily.dev
92 </a>
93 </Typography>
94 </section>
95 );
96};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected