Skip to content

Commit 0ee82c0

Browse files
committed
fix: faq and desc
1 parent c44de94 commit 0ee82c0

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

apps/docs/components/landing/description.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ export const Description = () => {
117117

118118
{/* Desktop Layout */}
119119
<div className="hidden w-full items-center justify-center lg:flex">
120-
<div className="flex w-full max-w-7xl items-center justify-center">
120+
<div className="flex w-full max-w-7xl items-center justify-center px-8">
121121
{/* Left Column - Titles */}
122-
<div className="flex-1">
122+
<div className="flex-1 pr-12">
123123
<h2 className="mb-8 font-medium text-2xl leading-tight xl:mb-12 xl:text-3xl">
124124
Most Analytics Tools are
125125
</h2>
@@ -140,10 +140,10 @@ export const Description = () => {
140140
</div>
141141

142142
{/* Divider */}
143-
<div className="mx-6 h-60 w-px flex-shrink-0 bg-border xl:mx-8" />
143+
<div className="h-60 w-px flex-shrink-0 bg-border" />
144144

145145
{/* Right Column - Content */}
146-
<div className="flex-1">
146+
<div className="flex-1 pl-12">
147147
<div className="flex min-h-[140px] items-center xl:min-h-[180px]">
148148
<AnimatePresence mode="popLayout">
149149
<motion.div

apps/docs/components/landing/faq.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const faqs = [
3030

3131
export default function FAQ() {
3232
return (
33-
<div className="w-full">
33+
<div className="w-full px-8">
3434
<div className="space-y-8 lg:space-y-12">
3535
{/* Header Section */}
3636
<div className="text-center lg:text-left">
@@ -41,17 +41,17 @@ export default function FAQ() {
4141

4242
{/* FAQ Accordion */}
4343
<div className="w-full">
44-
<Accordion className="w-full " collapsible type="single">
44+
<Accordion className="w-full" collapsible type="single">
4545
{faqs.map((faq) => (
4646
<AccordionItem
47-
className="bg-background/50 transition-colors duration-200 hover:bg-background/80"
47+
className="border-l-4 border-l-transparent bg-background/50 transition-colors duration-200 hover:border-l-primary/20 hover:bg-background/80"
4848
key={faq.question}
4949
value={faq.question}
5050
>
51-
<AccordionTrigger className="py-4 text-left font-medium text-base hover:no-underline sm:py-6 sm:text-lg lg:text-xl">
51+
<AccordionTrigger className="px-8 py-4 text-left font-medium text-base hover:no-underline sm:py-6 sm:text-lg lg:text-xl">
5252
{faq.question}
5353
</AccordionTrigger>
54-
<AccordionContent className="pb-4 text-muted-foreground text-sm leading-relaxed sm:pb-6 sm:text-base">
54+
<AccordionContent className="px-8 pb-4 text-muted-foreground text-sm leading-relaxed sm:pb-6 sm:text-base">
5555
{faq.answer}
5656
</AccordionContent>
5757
</AccordionItem>

0 commit comments

Comments
 (0)