()
| 36 | |
| 37 | @app.get("/", response_class=HTMLResponse) |
| 38 | def read_root(): |
| 39 | return """ |
| 40 | <!DOCTYPE html> |
| 41 | <html lang="en"> |
| 42 | <head> |
| 43 | <meta charset="UTF-8"> |
| 44 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 45 | <title>Vercel + FastAPI</title> |
| 46 | <link rel="icon" type="image/x-icon" href="/favicon.ico"> |
| 47 | <style> |
| 48 | * { |
| 49 | margin: 0; |
| 50 | padding: 0; |
| 51 | box-sizing: border-box; |
| 52 | } |
| 53 | |
| 54 | body { |
| 55 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif; |
| 56 | background-color: #000000; |
| 57 | color: #ffffff; |
| 58 | line-height: 1.6; |
| 59 | min-height: 100vh; |
| 60 | display: flex; |
| 61 | flex-direction: column; |
| 62 | } |
| 63 | |
| 64 | header { |
| 65 | border-bottom: 1px solid #333333; |
| 66 | padding: 0; |
| 67 | } |
| 68 | |
| 69 | nav { |
| 70 | max-width: 1200px; |
| 71 | margin: 0 auto; |
| 72 | display: flex; |
| 73 | align-items: center; |
| 74 | padding: 1rem 2rem; |
| 75 | gap: 2rem; |
| 76 | } |
| 77 | |
| 78 | .logo { |
| 79 | font-size: 1.25rem; |
| 80 | font-weight: 600; |
| 81 | color: #ffffff; |
| 82 | text-decoration: none; |
| 83 | } |
| 84 | |
| 85 | .nav-links { |
| 86 | display: flex; |
| 87 | gap: 1.5rem; |
| 88 | margin-left: auto; |
| 89 | } |
| 90 | |
| 91 | .nav-links a { |
| 92 | text-decoration: none; |
| 93 | color: #888888; |
| 94 | padding: 0.5rem 1rem; |
| 95 | border-radius: 6px; |
nothing calls this directly
no outgoing calls
no test coverage detected