diff --git a/app/learn-more/components/TabContainer.tsx b/app/learn-more/components/TabContainer.tsx new file mode 100644 index 0000000..476e47c --- /dev/null +++ b/app/learn-more/components/TabContainer.tsx @@ -0,0 +1,101 @@ +'use client' + +import { useState } from 'react' +import { motion } from 'framer-motion' +import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card" +import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs" +import { CheckCircle, Code, Brain, TrendingUp, Users, Zap } from 'lucide-react' + +const features = [ + { icon: , title: 'Track Progress', description: 'Log solved problems and track improvement over time.' }, + { icon: , title: 'Enhance Learning', description: 'Write comprehensive notes and explanations for each problem.' }, + { icon: , title: 'Analyze Performance', description: 'Gain insights into problem-solving patterns and focus areas.' }, + { icon: , title: 'Interview Prep', description: 'Organize solutions by companies and topics for targeted review.' }, + { icon: , title: 'Collaborate', description: 'Share insights and learn from peers in the community.' }, + { icon: , title: 'Boost Efficiency', description: 'Streamline your coding practice with powerful tools and analytics.' }, +] + +const benefits = [ + 'Seamless integration with your LeetCode account', + 'Customizable templates for consistent note-taking', + 'Advanced search and filtering options', + 'Progress visualization and performance analytics', + 'Collaborative features for group study and peer review', + 'Mobile-friendly interface for on-the-go learning' +] + +const containerVariants = { + hidden: { opacity: 0 }, + visible: { + opacity: 1, + transition: { + staggerChildren: 0.1 + } + } +} + +const itemVariants = { + hidden: { y: 20, opacity: 0 }, + visible: { + y: 0, + opacity: 1 + } +} + +export function TabContainer() { + const [activeTab, setActiveTab] = useState('features') + + return ( + + + setActiveTab('features')}>Key Features + setActiveTab('benefits')}>Benefits + + + + {features.map((feature, index) => ( + + + + + {feature.icon} + {feature.title} + + + + + {feature.description} + + + + + ))} + + + + +

Why Choose LeetCode Journal?

+ + {benefits.map((benefit, index) => ( + + + {benefit} + + ))} + +
+
+
+ ) +} + diff --git a/app/learn-more/page.tsx b/app/learn-more/page.tsx new file mode 100644 index 0000000..200e794 --- /dev/null +++ b/app/learn-more/page.tsx @@ -0,0 +1,212 @@ +'use client' + +import Link from 'next/link' +import { motion } from 'framer-motion' +import { Button } from "@/components/ui/button" +import { TabContainer } from './components/TabContainer' +import Navbar1 from '@/components/navbar' +import {SocialLinks} from '@/components/SocialLinks' +import { BookOpen, Github } from 'lucide-react' + +export default function LearnMorePage() { + return ( +
+ +
+
+ + Discover LeetCode Journal + + + +

+ Elevate your coding practice and ace technical interviews with LeetCode Journal - your ultimate companion for mastering coding challenges. +

+
+ +
+
+ + + + +

Ready to Elevate Your Coding Journey?

+

Join thousands of developers who have transformed their LeetCode experience with LeetCode Journal.

+ +
+
+
+ +
+ ) +} + diff --git a/package-lock.json b/package-lock.json index 47dd760..4e0d8d9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "leetcode-journal", "version": "0.1.0", + "hasInstallScript": true, "dependencies": { "@prisma/client": "^6.2.1", "@radix-ui/react-accordion": "^1.2.2", @@ -7201,6 +7202,7 @@ "version": "5.0.3", "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.3.tgz", "integrity": "sha512-14fwWQtU3pH4dE0dOpdMiWjddcH+QzKIgk1cl8epwSE7yag43k/AD/m4L6+K7DytAOr9gGBe3/EXj9g7cdostg==", + "license": "MIT", "engines": { "node": ">=12.20.0" },