import MostActiveStocks from "../components/MostActiveStocks";
import Navbar from "../components/Navbar";

export default function Stocks() {
  return (
    <div className="min-h-screen bg-gradient-to-br from-gray-50 to-blue-50">
      <Navbar />
      <div className="py-20">
        <div className="mx-auto max-w-7xl px-6 sm:px-8 lg:px-8">
          <div className="text-center mb-12">
            <h1 className="text-4xl font-bold text-gray-900 mb-4">
              Most Active Stocks
            </h1>
            <p className="text-xl text-gray-600 max-w-2xl mx-auto">
              Real-time view of the most actively traded stocks, auto-refreshing every 30 seconds.
            </p>
          </div>
          <MostActiveStocks />
        </div>
      </div>
    </div>
  );
}
