<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Crawl4AI</title>

        <link rel="preconnect" href="https://fonts.googleapis.com" />
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
        <link href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap" rel="stylesheet" />

        <!-- <link href="https://cdn.jsdelivr.net/npm/tailwindcss@3.4.3/dist/tailwind.min.css" rel="stylesheet" /> -->
        <script src="https://cdn.tailwindcss.com"></script>
        <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
        <link rel="stylesheet" href="/pages/app.css" />
        <link
            rel="stylesheet"
            href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/monokai.min.css"
        />
        <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>

        <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
    </head>
    <body class="bg-black text-gray-200">
        <header class="bg-zinc-950 text-lime-500 py-4 flex">
            
            <div class="mx-auto px-4">
                <h1 class="text-2xl font-bold">🔥🕷️ Crawl4AI: Web Data for your Thoughts</h1>
            </div>
            <div class="mx-auto px-4 flex font-bold text-xl gap-2">
                <span>📊 Total Website Processed</span>
                <span id="total-count" class="text-lime-400">2</span>
            </div>
        </header>
        
            {{ try_it | safe }}

            <div class="mx-auto p-4 bg-zinc-950 text-lime-500 min-h-screen">
                <div class="container mx-auto">
                <div class="flex h-full px-20">
                    <div class="sidebar w-1/4 p-4">
                        <h2 class="text-lg font-bold mb-4">Outline</h2>
                        <ul>
                            <li class="mb-2"><a href="#" data-target="installation">Installation</a></li>
                            <li class="mb-2"><a href="#" data-target="how-to-guide">How to Guide</a></li>
                            <li class="mb-2"><a href="#" data-target="chunking-strategies">Chunking Strategies</a></li>
                            <li class="mb-2">
                                <a href="#" data-target="extraction-strategies">Extraction Strategies</a>
                            </li>
                        </ul>
                    </div>

                    <!-- Main Content -->
                    <div class="w-3/4 p-4">
                        {{installation | safe}} {{how_to_guide | safe}}

                        <section id="chunking-strategies" class="content-section">
                            <h1 class="text-2xl font-bold">Chunking Strategies</h1>
                            <p>Content for chunking strategies...</p>
                        </section>
                        <section id="extraction-strategies" class="content-section">
                            <h1 class="text-2xl font-bold">Extraction Strategies</h1>
                            <p>Content for extraction strategies...</p>
                        </section>
                    </div>
                </div>
            </div>
            </div>
        
        {{ footer | safe }}
        <script script src="/pages/app.js"></script>
    </body>
</html>
