Skip to content

Commit be153ec

Browse files
refactor: 💡 Remove testimonials and FAQ sections from LandingPage component
1 parent eaf0de4 commit be153ec

File tree

1 file changed

+0
-69
lines changed

1 file changed

+0
-69
lines changed

‎app/page.tsx

Lines changed: 0 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { Button } from "@/components/ui/button"
44
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"
55
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"
66
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion"
7-
import { Separator } from "@/components/ui/separator"
87
import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from "@/components/ui/carousel"
98
import { ThemeToggle } from "@/components/theme-toggle"
109
import { BookOpen, CheckCircle, Github } from 'lucide-react'
@@ -23,9 +22,6 @@ export default function LandingPage() {
2322
<Link className="text-sm font-medium hover:text-primary" href="#features">
2423
Features
2524
</Link>
26-
<Link className="text-sm font-medium hover:text-primary" href="#testimonials">
27-
Testimonials
28-
</Link>
2925
<Link className="text-sm font-medium hover:text-primary" href="#pricing">
3026
Pricing
3127
</Link>
@@ -114,46 +110,6 @@ export default function LandingPage() {
114110
</Tabs>
115111
</div>
116112
</section>
117-
<section id="testimonials" className="w-full py-12 md:py-24 lg:py-32 bg-secondary">
118-
<div className="container px-4 md:px-6">
119-
<h2 className="text-3xl font-bold tracking-tighter sm:text-5xl text-center mb-12">What Our Users Say</h2>
120-
<Carousel className="w-full max-w-xs sm:max-w-sm md:max-w-md lg:max-w-lg xl:max-w-xl mx-auto">
121-
<CarouselContent>
122-
{[
123-
{
124-
name: "Alex Johnson",
125-
role: "Software Engineer at Google",
126-
content: "LeetCode Journal has been instrumental in my interview prep. It's like having a personal coding coach!"
127-
},
128-
{
129-
name: "Sarah Lee",
130-
role: "Recent CS Graduate",
131-
content: "This tool helped me stay organized and motivated throughout my job search. Highly recommended!"
132-
},
133-
{
134-
name: "Michael Chen",
135-
role: "Senior Developer at Amazon",
136-
content: "The progress tracking feature is a game-changer. It's satisfying to see my skills improve over time."
137-
}
138-
].map((testimonial, index) => (
139-
<CarouselItem key={index}>
140-
<Card>
141-
<CardHeader>
142-
<CardTitle>{testimonial.name}</CardTitle>
143-
<CardDescription>{testimonial.role}</CardDescription>
144-
</CardHeader>
145-
<CardContent>
146-
<p>{testimonial.content}</p>
147-
</CardContent>
148-
</Card>
149-
</CarouselItem>
150-
))}
151-
</CarouselContent>
152-
<CarouselPrevious />
153-
<CarouselNext />
154-
</Carousel>
155-
</div>
156-
</section>
157113
<section id="pricing" className="w-full py-12 md:py-24 lg:py-32">
158114
<div className="container px-4 md:px-6">
159115
<h2 className="text-3xl font-bold tracking-tighter sm:text-5xl text-center mb-12">Simple Pricing</h2>
@@ -202,31 +158,6 @@ export default function LandingPage() {
202158
</div>
203159
</div>
204160
</section>
205-
<section className="w-full py-12 md:py-24 lg:py-32 bg-secondary">
206-
<div className="container px-4 md:px-6">
207-
<h2 className="text-3xl font-bold tracking-tighter sm:text-5xl text-center mb-12">Frequently Asked Questions</h2>
208-
<Accordion type="single" collapsible className="w-full max-w-2xl mx-auto">
209-
<AccordionItem value="item-1">
210-
<AccordionTrigger>How does LeetCode Journal help me prepare for coding interviews?</AccordionTrigger>
211-
<AccordionContent>
212-
LeetCode Journal provides a structured approach to your interview preparation by helping you track problems, analyze your progress, and focus on areas that need improvement. It also offers personalized recommendations and curated problem sets to enhance your skills efficiently.
213-
</AccordionContent>
214-
</AccordionItem>
215-
<AccordionItem value="item-2">
216-
<AccordionTrigger>Can I use LeetCode Journal with other coding platforms?</AccordionTrigger>
217-
<AccordionContent>
218-
While LeetCode Journal is optimized for LeetCode, you can use it to track your progress on other coding platforms as well. You can manually add problems from other sources and categorize them according to your needs.
219-
</AccordionContent>
220-
</AccordionItem>
221-
<AccordionItem value="item-3">
222-
<AccordionTrigger>Is there a mobile app available?</AccordionTrigger>
223-
<AccordionContent>
224-
Currently, LeetCode Journal is available as a web application optimized for both desktop and mobile browsers. We're working on dedicated mobile apps for iOS and Android, which will be released in the near future.
225-
</AccordionContent>
226-
</AccordionItem>
227-
</Accordion>
228-
</div>
229-
</section>
230161
<section className="w-full py-12 md:py-24 lg:py-32">
231162
<div className="container px-4 md:px-6">
232163
<div className="flex flex-col items-center space-y-4 text-center">

0 commit comments

Comments
 (0)