"use client" import Image from "next/image" import Link from "next/link" import { Button } from "@/components/ui/button" import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card" import { Input } from "@/components/ui/input" import { Textarea } from "@/components/ui/textarea" import { useState } from "react" export default function ContactPage() { const [isLoading, setIsLoading] = useState(false) const handleMonthlySponsorship = async () => { setIsLoading(true) try { console.log("[v0] Starting monthly sponsorship process") const response = await fetch("/api/create-checkout-session", { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify({ priceId: "buck_a_month", sponsorTier: "Monthly Supporter", }), }) if (!response.ok) { const errorData = await response.json() throw new Error(errorData.error || "Failed to create checkout session") } const data = await response.json() // Open Stripe checkout in new tab to avoid ad blocker issues window.open(data.url, "_blank") } catch (error) { console.error("Error creating checkout session:", error) alert("There was an error processing your request. Please try again.") } finally { setIsLoading(false) } } return (
{/* Header */}

Welcome to

AlertBayTrumpeter.com!

{/* Navigation */}
{/* Contact Content */}

Get in Touch

{/* Contact Form */} Send Jerry a Message