import React from 'react'; import Layout from '@theme/Layout'; import Link from '@docusaurus/Link'; import Heading from '@theme/Heading'; import BrowserOnly from '@docusaurus/BrowserOnly'; export default function DashboardRedirect(): JSX.Element { return ( Loading...}> {() => { // This code only runs in the browser const dashboardUrl = window.location.hostname === 'localhost' ? 'http://localhost:5173' : 'https://www.communityone.com'; // Auto-redirect after 3 seconds React.useEffect(() => { const timer = setTimeout(() => { window.location.href = dashboardUrl; }, 3000); return () => clearTimeout(timer); }, []); return (
📊 Redirecting to Dashboard...

You will be redirected in 3 seconds...

Or click here to go immediately: Open Dashboard →

Note: The interactive dashboard is a separate React application (port 5173) that provides real-time access to advocacy opportunities, meeting minutes, and nonprofit data. This documentation site (port 3000) provides guides and reference materials.

Development Access

To access the dashboard in development mode:

  1. Start the API backend:
    python -m uvicorn api.app:app --reload --port 8001
  2. Start the React dashboard:
    cd frontend && npm run dev
  3. Access at: http://localhost:5173
← Back to Documentation Home
); }}
); }