diff --git a/src/pages/HomePage/sections/Levels.tsx b/src/pages/HomePage/sections/Levels.tsx index 85096bb..4379b94 100644 --- a/src/pages/HomePage/sections/Levels.tsx +++ b/src/pages/HomePage/sections/Levels.tsx @@ -1,37 +1,167 @@ -// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this -// file as the canonical source for the "levels" section. +/* eslint-disable */ +// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body +import Button from "@/components/ui/Button"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import GridOrCarousel from "@/components/ui/GridOrCarousel"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import { useState } from "react"; -import React from 'react'; -import FeaturesMediaCards from '@/components/sections/features/FeaturesMediaCards'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +const languages = [ + { + id: "c", + title: "C Programming", + description: "Master the fundamentals with pointers and memory management.", + imageSrc: "https://picsum.photos/seed/1212478007/1200/800" + }, + { + id: "python", + title: "Python", + description: "Tackle algorithms using Python's elegant syntax.", + imageSrc: "https://picsum.photos/seed/806211616/1200/800" + }, + { + id: "java", + title: "Java", + description: "Build robust object-oriented solutions and logic.", + imageSrc: "https://picsum.photos/seed/387063574/1200/800" + }, + { + id: "cpp", + title: "C++", + description: "Optimize performance with advanced STL concepts.", + imageSrc: "https://picsum.photos/seed/170534033/1200/800" + }, + { + id: "dbms", + title: "DBMS Query", + description: "Solve intricate database puzzles and optimize SQL.", + imageSrc: "https://picsum.photos/seed/758983490/1200/800" + } +]; + +const items = [ + { + title: "Level 1: MCQ Challenge", + description: "Hardest theory, output prediction, and True/False with a 30s timer per question.", + imageSrc: "http://img.b2bpic.net/free-photo/close-up-puzzle-background_23-2149289241.jpg" + }, + { + title: "Level 2: Coding Sprint", + description: "10 tricky problem statements, 5 min each. Pass test cases to unlock expert status.", + imageSrc: "http://img.b2bpic.net/free-vector/programming-flat-line-icon-set_1057-10098.jpg" + }, + { + title: "Level 3: ICPC Grand Finale", + description: "Top-tier competitive problems. 2 massive tasks, 10 minutes total. Pure precision.", + imageSrc: "http://img.b2bpic.net/free-photo/settings-front-side-white-background_187299-40208.jpg" + } +]; + +type FeatureItem = { + title: string; + description: string; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +interface FeaturesMediaCardsProps { + tag: string; + title: string; + description: string; + primaryButton?: { text: string; href: string }; + secondaryButton?: { text: string; href: string }; + items: FeatureItem[]; +} + +const LevelsInline = () => { + const [selectedLanguage, setSelectedLanguage] = useState(""); + + const activeLanguage = languages.find(function(l) { return l.id === selectedLanguage; }); -export default function LevelsSection(): React.JSX.Element { return ( -
{selectedLanguage ? "Select Level" : "Select Language"}
+{item.description}
+{item.description}
+