From 5f2f319a333560d271604c0b5bdb458faa5f6712 Mon Sep 17 00:00:00 2001 From: priyanshuvish Date: Tue, 30 Sep 2025 17:35:32 +0530 Subject: [PATCH] fix --- src/components/LearningFacilityNew.tsx | 146 ++++++------------------- src/components/WhitepapersSection.tsx | 2 +- 2 files changed, 34 insertions(+), 114 deletions(-) diff --git a/src/components/LearningFacilityNew.tsx b/src/components/LearningFacilityNew.tsx index 7a06e99..adcf93b 100644 --- a/src/components/LearningFacilityNew.tsx +++ b/src/components/LearningFacilityNew.tsx @@ -1,103 +1,45 @@ -import React, { useState, useEffect, useRef } from 'react'; -import { motion } from 'motion/react'; -import { Button } from './ui/button'; -import { Badge } from './ui/badge'; -import { Card, CardContent } from './ui/card'; -import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger } from './ui/dialog'; -import { Input } from './ui/input'; -import { Label } from './ui/label'; -import { Textarea } from './ui/textarea'; -import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from './ui/select'; -import { ImageWithFallback } from './figma/ImageWithFallback'; -import { navigateTo } from './Router'; -import { BrandedTag } from './about/BrandedTag'; -import { PrimaryCTAButton } from './PrimaryCTAButton'; -import { TestimonialsSection } from './TestimonialsSection'; -import { CTABannerSection } from './CTABannerSection'; -import kautilyaVirtualTourImage from '../assets/Kautilya.png'; import { - ArrowRight, - CheckCircle, - Calendar, - Download, - Building, - Monitor, + Bed, BookOpen, - Heart, Briefcase, - Users, - Target, - Network, - MapPin, - Coffee, - Wifi, + Building, + Calendar, Car, - Shield, - Play, + CheckCircle, ChevronLeft, ChevronRight, - Eye, - X, - Clock, - Star, - Mail, - Phone, - Globe, - Maximize2, - TreePine, - Bed, + Coffee, Dumbbell, + Heart, + Leaf, + Mail, + MapPin, + Monitor, + Network, + Phone, + Play, + Shield, + TreePine, + Users, Utensils, - Leaf + Wifi, + X } from 'lucide-react'; - -const offerings = [ - { - title: "Training Halls & Spaces", - description: "State-of-the-art training facilities designed for optimal learning experiences", - icon: Building, - features: ["4 fully-equipped halls", "Flexible seating arrangements", "Advanced AV systems", "Natural lighting"] - }, - { - title: "Technology Infrastructure", - description: "Cutting-edge technology to support modern learning and collaboration", - icon: Monitor, - features: ["High-speed connectivity", "Interactive displays", "Video conferencing", "Digital whiteboards"] - }, - { - title: "Learning Resources", - description: "Comprehensive resources and materials to enhance the learning experience", - icon: BookOpen, - features: ["Digital library access", "Learning materials", "Resource centers", "Study spaces"] - }, - { - title: "Wellness & Recreation", - description: "Facilities focused on participant well-being and relaxation during programs", - icon: Heart, - features: ["Wellness areas", "Recreation spaces", "Quiet zones", "Outdoor areas"] - } -]; - -const targetAudience = [ - { - title: "Corporate Teams", - description: "Organizations seeking immersive learning experiences for their leadership development programs", - icon: Briefcase, - characteristics: ["Team retreats", "Leadership programs", "Skills workshops", "Strategic planning"] - }, - { - title: "Learning Groups", - description: "Educational institutions and learning organizations hosting intensive development sessions", - icon: Users, - characteristics: ["Educational programs", "Intensive workshops", "Collaborative learning", "Group development"] - }, - { - title: "Professional Networks", - description: "Professional associations and networks organizing development events and conferences", - icon: Network, - characteristics: ["Professional development", "Networking events", "Industry conferences", "Skill building"] - } -]; +import { motion } from 'motion/react'; +import React, { useEffect, useRef, useState } from 'react'; +import kautilyaVirtualTourImage from '../assets/Kautilya.png'; +import { BrandedTag } from './about/BrandedTag'; +import { CTABannerSection } from './CTABannerSection'; +import { ImageWithFallback } from './figma/ImageWithFallback'; +import { PrimaryCTAButton } from './PrimaryCTAButton'; +import { navigateTo } from './Router'; +import { TestimonialsSection } from './TestimonialsSection'; +import { Button } from './ui/button'; +import { Card, CardContent } from './ui/card'; +import { Input } from './ui/input'; +import { Label } from './ui/label'; +import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from './ui/select'; +import { Textarea } from './ui/textarea'; const facilityFeatures = [ { @@ -137,17 +79,6 @@ const facilityFeatures = [ } ]; -const amenities = [ - { name: "High-Speed Wi-Fi", icon: Wifi }, - { name: "Parking Facilities", icon: Car }, - { name: "Coffee Lounge", icon: Coffee }, - { name: "Security Services", icon: Shield }, - { name: "Recreation Areas", icon: Heart }, - { name: "Study Spaces", icon: BookOpen }, - { name: "Meeting Rooms", icon: Users }, - { name: "Tech Support", icon: Monitor } -]; - // Virtual Tour Data const virtualTourStops = [ { @@ -280,17 +211,6 @@ const virtualTourStops = [ } ]; -// Booking Form Interface -interface BookingForm { - companyName: string; - contactName: string; - email: string; - phone: string; - role: string; - teamSize: string; - facilityZone: string; - additionalRequirements: string; -} // Facility data for BookingModal const facilities = [ diff --git a/src/components/WhitepapersSection.tsx b/src/components/WhitepapersSection.tsx index 1d3e540..07a5a3f 100644 --- a/src/components/WhitepapersSection.tsx +++ b/src/components/WhitepapersSection.tsx @@ -185,7 +185,7 @@ export function WhitepapersSection() { > navigateTo('/self-learner-signup')} + onClick={() => navigateTo('/learning/articles')} ariaLabel="Browse all leadership resources" />