INNER CODE UNIT · Python

favicon

SHAdd0WTAka/Zen-Ai-Pentest · api/main.py:765

async def favicon():
    """Custom Zen favicon"""
    svg = """<?xml version="1.0" encoding="UTF-8"?>
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="32" height="32">
      <defs>
        <linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%">
          <stop offset="0%" style="stop-color:#06b6d4;stop-opacity:1" />
          <stop offset="100%" style="stop-color:#0891b2;stop-opacity:1" />
        </linearGradient>
      </defs>
      <rect width="100" height="100" rx="20" fill="#0a0a0f"/>
      <path d="M50 10 L80 25 L80 50 C80 70 50 90 50 90 C50 90 20 70 20 50 L20 25 Z"
            fill="url(#grad)" stroke="#06b6d4" stroke-width="2"/>
      <path d="M35 45 L45 55 L65 35" fill="none" stroke="#0a0a0f" stroke-width="4" stroke-linecap="round"/>
    </svg>"""

    return Response(content=svg.encode(), media_type="image/svg+xml")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…