|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + <head> |
| 4 | + <meta charset="UTF-8" /> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 6 | + <title>Welcome to Choreo Documentation</title> |
| 7 | + |
| 8 | + <style> |
| 9 | + :root { |
| 10 | + --md-text-font-family: "Montserrat", sans-serif; |
| 11 | + } |
| 12 | + |
| 13 | + body { |
| 14 | + display: flex; |
| 15 | + align-items: center; |
| 16 | + justify-content: center; |
| 17 | + height: 100vh; |
| 18 | + background-color: #f7f8fb; |
| 19 | + font-family: var(--md-text-font-family); |
| 20 | + } |
| 21 | + |
| 22 | + .modal { |
| 23 | + background: white; |
| 24 | + padding: 2rem; |
| 25 | + border-radius: 12px; |
| 26 | + box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); |
| 27 | + text-align: center; |
| 28 | + max-width: 500px; |
| 29 | + width: 90%; |
| 30 | + } |
| 31 | + |
| 32 | + .modal h1 { |
| 33 | + font-size: 1.5rem; |
| 34 | + font-weight: 600; |
| 35 | + color: #333; |
| 36 | + } |
| 37 | + |
| 38 | + .modal p { |
| 39 | + font-size: 0.9rem; |
| 40 | + color: #666; |
| 41 | + margin-bottom: 1.5rem; |
| 42 | + } |
| 43 | + |
| 44 | + .persona-card { |
| 45 | + display: flex; |
| 46 | + align-items: center; |
| 47 | + padding: 12px; |
| 48 | + border: 1px solid #d1d5db; |
| 49 | + border-radius: 8px; |
| 50 | + margin-bottom: 1rem; |
| 51 | + cursor: pointer; |
| 52 | + transition: background 0.2s ease-in-out; |
| 53 | + } |
| 54 | + |
| 55 | + .persona-card:hover { |
| 56 | + background: #f0f4ff; |
| 57 | + } |
| 58 | + |
| 59 | + .persona-card img { |
| 60 | + width: 40px; |
| 61 | + margin-right: 12px; |
| 62 | + } |
| 63 | + |
| 64 | + .persona-card div { |
| 65 | + text-align: left; |
| 66 | + } |
| 67 | + |
| 68 | + .persona-card p { |
| 69 | + margin: 0; |
| 70 | + } |
| 71 | + |
| 72 | + .persona-title { |
| 73 | + font-weight: bold; |
| 74 | + color: #333; |
| 75 | + } |
| 76 | + |
| 77 | + .persona-desc { |
| 78 | + font-size: 0.8rem; |
| 79 | + color: #555; |
| 80 | + } |
| 81 | + |
| 82 | + .next-btn { |
| 83 | + background: #545cec; |
| 84 | + color: white; |
| 85 | + border: none; |
| 86 | + padding: 10px 20px; |
| 87 | + border-radius: 8px; |
| 88 | + cursor: pointer; |
| 89 | + font-size: 1rem; |
| 90 | + transition: background 0.2s ease-in-out; |
| 91 | + } |
| 92 | + |
| 93 | + .next-btn:hover { |
| 94 | + background: #4242d6; |
| 95 | + } |
| 96 | + </style> |
| 97 | + |
| 98 | + <script> |
| 99 | + function navigateToDocs(version) { |
| 100 | + window.location.href = `/${version}/`; |
| 101 | + } |
| 102 | + </script> |
| 103 | + </head> |
| 104 | + <body> |
| 105 | + <div class="modal"> |
| 106 | + <h1>Get Started with Choreo Documentation</h1> |
| 107 | + <p>Select your persona to find the right documentation for you</p> |
| 108 | + |
| 109 | + <div class="persona-card" onclick="navigateToDocs('Developer')"> |
| 110 | + <div> |
| 111 | + <p class="persona-title">Developer / Architect</p> |
| 112 | + <p class="persona-desc"> |
| 113 | + Building, testing, and deploying applications. |
| 114 | + </p> |
| 115 | + </div> |
| 116 | + </div> |
| 117 | + |
| 118 | + <div class="persona-card" onclick="navigateToDocs('Platform Engineer')"> |
| 119 | + <div> |
| 120 | + <p class="persona-title">Platform Engineer / SRE</p> |
| 121 | + <p class="persona-desc"> |
| 122 | + Infrastructure, governance, service mesh, and monitoring. |
| 123 | + </p> |
| 124 | + </div> |
| 125 | + </div> |
| 126 | + </div> |
| 127 | + </body> |
| 128 | +</html> |
0 commit comments