"use client"; // External dependencies import * as React from "react"; import { Suspense } from "react"; // Internal component imports import ChatBotGrid from "@/app/(audiences)/components/chat-bot-grid"; import { SubjectFilter } from "@/app/(audiences)/components/subject-filter"; import SearchBar from "@/app/(audiences)/components/search-bar"; import ChatBotGridSkeleton from "@/app/(audiences)/components/chat-bot-grid-skeleton"; import { getPopularBots, getTrendingBots, getAllBots } from "./data/chatbots"; /** * ForStudentsPage Component * Main page component for the student-focused section of the application. * Provides a searchable and filterable interface for students to discover AI chatbots. */ export default function ForStudentsPage() { // State management for filters and search const [selectedCategories, setSelectedCategories] = React.useState( [], ); const [selectedSubjects, setSelectedSubjects] = React.useState([]); const [searchQuery, setSearchQuery] = React.useState(""); // Handler for search input updates const handleSearch = (query: string) => { setSearchQuery(query); }; return (
{/* Hero Section - Main title and description */}

PlayGO for Students

{/* Description in Traditional Chinese: "Explore AI chatbots suitable for learning and improve learning efficiency!" */}

探索適合學習的 AI 聊天機器人,提升學習效率!

{/* Interactive Controls Section */}
{/* Search functionality */}
{/* Category and subject filtering system */}
{/* Chatbot Display Section with loading state handling */} }>
); }