diff --git a/apps/www/app/glossary/[slug]/faq.tsx b/apps/www/app/glossary/[slug]/faq.tsx new file mode 100644 index 0000000000..3a73e6b0ba --- /dev/null +++ b/apps/www/app/glossary/[slug]/faq.tsx @@ -0,0 +1,38 @@ +import { + Accordion, + AccordionContent, + AccordionItem, + AccordionTrigger, +} from "@/components/ui/accordion"; + +export function FAQ(props: { + epigraph?: string; + title: string; + description: string; + items: Array<{ question: string; answer: string }>; +}) { + return ( + <> +
+ {props.description} +
++ Find a term +
+Terms
++ {term.intro} +
+{relatedTerm.tldr}
+No related terms found.
+ )} +{props.takeaways.tldr}
+
+ {item.value}
+
+ {props.takeaways.usageInAPIs.description}
+ > + } + /> + } + title="Best Practices" + items={props.takeaways.bestPractices} + /> ++ With clear definitions and helpful examples, Unkey's API Glossary is your go-to + resource for understanding the key concepts and terminology in API development. +
+Ready to protect your API?
+ +{takeaways.tldr}
+{takeaways.tldr}
+//{currentTerm.title}
+