| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <title>Code Snippets API</title> |
| <style> |
| body { |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; |
| margin: 0; |
| padding: 20px; |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
| min-height: 100vh; |
| color: white; |
| } |
| .container { |
| max-width: 800px; |
| margin: 0 auto; |
| background: rgba(255, 255, 255, 0.1); |
| padding: 30px; |
| border-radius: 15px; |
| backdrop-filter: blur(10px); |
| box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); |
| } |
| h1 { |
| text-align: center; |
| margin-bottom: 30px; |
| font-size: 2.5em; |
| text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); |
| } |
| .endpoints { |
| display: grid; |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); |
| gap: 20px; |
| margin-bottom: 30px; |
| } |
| .endpoint-card { |
| background: rgba(255, 255, 255, 0.15); |
| padding: 20px; |
| border-radius: 10px; |
| text-align: center; |
| transition: transform 0.3s ease; |
| } |
| .endpoint-card:hover { |
| transform: translateY(-5px); |
| background: rgba(255, 255, 255, 0.2); |
| } |
| .endpoint-link { |
| color: #fff; |
| text-decoration: none; |
| font-weight: bold; |
| font-size: 1.2em; |
| } |
| .admin-section { |
| text-align: center; |
| margin-top: 40px; |
| padding-top: 30px; |
| border-top: 2px solid rgba(255, 255, 255, 0.3); |
| } |
| .admin-btn { |
| background: rgba(255, 255, 255, 0.2); |
| color: white; |
| padding: 15px 30px; |
| border: 2px solid rgba(255, 255, 255, 0.3); |
| border-radius: 25px; |
| text-decoration: none; |
| font-weight: bold; |
| transition: all 0.3s ease; |
| display: inline-block; |
| } |
| .admin-btn:hover { |
| background: rgba(255, 255, 255, 0.3); |
| border-color: rgba(255, 255, 255, 0.5); |
| transform: scale(1.05); |
| } |
| .description { |
| text-align: center; |
| margin-bottom: 30px; |
| font-size: 1.1em; |
| opacity: 0.9; |
| } |
| </style> |
| </head> |
| <body> |
| <div class="container"> |
| <h1>🚀 Code Snippets API</h1> |
| <p class="description">Access your code snippets through these endpoints:</p> |
| |
| <div class="endpoints"> |
| <div class="endpoint-card"> |
| <h3>NAVN Endpoints</h3> |
| <p><a href="/navn1" class="endpoint-link">/navn1</a></p> |
| <p><a href="/navn2" class="endpoint-link">/navn2</a></p> |
| <p><a href="/navn3" class="endpoint-link">/navn3</a></p> |
| <p><a href="/navn4" class="endpoint-link">/navn4</a></p> |
| </div> |
| |
| <div class="endpoint-card"> |
| <h3>CHIKU Endpoints</h3> |
| <p><a href="/chiku1" class="endpoint-link">/chiku1</a></p> |
| <p><a href="/chiku2" class="endpoint-link">/chiku2</a></p> |
| <p><a href="/chiku3" class="endpoint-link">/chiku3</a></p> |
| <p><a href="/chiku4" class="endpoint-link">/chiku4</a></p> |
| </div> |
| </div> |
| |
| <div class="admin-section"> |
| <h3>Manage Your Snippets</h3> |
| <p>Update and edit your code snippets</p> |
| <a href="/admin" class="admin-btn">🛠️ Admin Panel</a> |
| </div> |
| </div> |
| </body> |
| </html> |