feat: add version history drawer with release notes
Introduce a footer-triggered Version History drawer with categorized release notes, hardcoded release data, and semver tracking at v0.3.0. Also ships blog blockquote/table styling, site-wide typography, home page image updates, header refinements, and related bug fixes. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '@/components/ui/accordion'
|
||||
import Link from 'next/link'
|
||||
import { type, typeSpacing } from '@/lib/typography'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
||||
export default function FAQsFour() {
|
||||
const faqItems = [
|
||||
@@ -36,8 +38,8 @@ export default function FAQsFour() {
|
||||
<section className="py-16 md:py-24">
|
||||
<div className="mx-auto max-w-5xl px-4 md:px-6">
|
||||
<div className="mx-auto max-w-xl text-center">
|
||||
<h2 className="text-balance text-3xl font-bold md:text-4xl lg:text-5xl">Frequently Asked Questions</h2>
|
||||
<p className="text-muted-foreground mt-4 text-balance">Discover quick and comprehensive answers to common questions about our platform, services, and features.</p>
|
||||
<h2 className={type.h2}>Frequently Asked Questions</h2>
|
||||
<p className={cn(type.body, "text-muted-foreground mt-4 text-balance")}>Discover quick and comprehensive answers to common questions about our platform, services, and features.</p>
|
||||
</div>
|
||||
|
||||
<div className="mx-auto mt-12 max-w-xl">
|
||||
@@ -52,9 +54,9 @@ export default function FAQsFour() {
|
||||
<AccordionItem
|
||||
value={item.id}
|
||||
className="data-[state=open]:bg-card dark:data-[state=open]:bg-muted peer rounded-xl border-none px-7 py-1 data-[state=open]:border-none data-[state=open]:shadow-sm">
|
||||
<AccordionTrigger className="cursor-pointer text-base hover:no-underline">{item.question}</AccordionTrigger>
|
||||
<AccordionTrigger className={cn(type["list-title"], "cursor-pointer hover:no-underline")}>{item.question}</AccordionTrigger>
|
||||
<AccordionContent>
|
||||
<p className="text-base">{item.answer}</p>
|
||||
<p className={type.body}>{item.answer}</p>
|
||||
</AccordionContent>
|
||||
</AccordionItem>
|
||||
<hr className="mx-7 border-dashed group-last:hidden peer-data-[state=open]:opacity-0" />
|
||||
@@ -62,11 +64,11 @@ export default function FAQsFour() {
|
||||
))}
|
||||
</Accordion>
|
||||
|
||||
<p className="text-muted-foreground mt-6 px-8">
|
||||
<p className={cn(type.body, "text-muted-foreground mt-6 px-8")}>
|
||||
Can't find what you're looking for? Contact our{' '}
|
||||
<Link
|
||||
href="#"
|
||||
className="text-primary font-medium hover:underline">
|
||||
href="/consulting#consulting-form"
|
||||
className="text-accent font-medium hover:underline">
|
||||
customer support team
|
||||
</Link>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user