import React from 'react';
import Link from 'next/link';
import LiveStream from '@/app/components/LiveStream';
import DonationPanel from '@/app/components/DonationPanel';
import OwlInfo from '@/app/components/OwlInfo';
import { Button } from "@/components/ui/button";
import { Card, CardContent } from "@/components/ui/card";
// This would come from an API or database in a real app
const livestreamsData = [
{
id: "1",
name: "Cape Coral Burrowing Owl",
location: "Cape Coral, FL",
status: "Live",
viewers: 128,
description: "Watch these unique ground-dwelling owls at their burrows in Cape Coral. These protected birds are the official city bird of Cape Coral!"
},
{
id: "2",
name: "Sanibel Island Osprey",
location: "Sanibel Island, FL",
status: "Live",
viewers: 86,
description: "Observe ospreys building nests and hunting for fish around Sanibel Island."
},
{
id: "3",
name: "Everglades Alligator",
location: "Everglades National Park, FL",
status: "Offline",
viewers: 0,
description: "Temporarily offline. Usually shows alligators in their natural habitat in the Everglades."
},
];
export default function LivestreamPage({ params }: { params: { id: string } }) {
// Find the stream data based on the ID
const streamData = livestreamsData.find(stream => stream.id === params.id) || {
id: params.id,
name: `Wildlife Livestream ${params.id}`,
location: "Florida",
status: "Live",
viewers: Math.floor(Math.random() * 100) + 50,
description: "Experience the natural beauty of Florida's wildlife."
};
return (
{streamData.name}
{streamData.location}
{streamData.status}
About this livestream
This livestream is provided by Cape Coral Friends of Wildlife, a volunteer organization dedicated to the protection and preservation of local wildlife. These cameras help researchers monitor wildlife behavior while allowing the public to connect with nature.