|
1 | | -<!-- Leafresh API Documentation --> |
2 | 1 | <!DOCTYPE html> |
3 | | -<html lang="en"> |
4 | | - <head> |
| 2 | +<html lang="ko"> |
| 3 | +<head> |
5 | 4 | <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 | 6 | <title>Leafresh API Documentation</title> |
7 | | - <link rel="stylesheet" type="text/css" href="./swagger-ui.css" /> |
8 | | - <link rel="stylesheet" type="text/css" href="index.css" /> |
9 | | - <link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" /> |
10 | | - <link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" /> |
11 | 7 | <style> |
12 | | - body { |
13 | | - margin: 0; |
14 | | - background: #fafafa; |
15 | | - } |
| 8 | + body { |
| 9 | + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 10 | + max-width: 800px; |
| 11 | + margin: 0 auto; |
| 12 | + padding: 2rem; |
| 13 | + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
| 14 | + min-height: 100vh; |
| 15 | + color: white; |
| 16 | + } |
| 17 | + .container { |
| 18 | + background: rgba(255, 255, 255, 0.1); |
| 19 | + backdrop-filter: blur(10px); |
| 20 | + border-radius: 20px; |
| 21 | + padding: 2rem; |
| 22 | + text-align: center; |
| 23 | + } |
| 24 | + h1 { |
| 25 | + font-size: 2.5rem; |
| 26 | + margin-bottom: 1rem; |
| 27 | + background: linear-gradient(45deg, #4CAF50, #8BC34A); |
| 28 | + -webkit-background-clip: text; |
| 29 | + -webkit-text-fill-color: transparent; |
| 30 | + background-clip: text; |
| 31 | + } |
| 32 | + .status { |
| 33 | + font-size: 1.2rem; |
| 34 | + margin: 2rem 0; |
| 35 | + padding: 1rem; |
| 36 | + background: rgba(76, 175, 80, 0.2); |
| 37 | + border-radius: 10px; |
| 38 | + border: 1px solid rgba(76, 175, 80, 0.3); |
| 39 | + } |
| 40 | + .link { |
| 41 | + display: inline-block; |
| 42 | + background: linear-gradient(45deg, #4CAF50, #45a049); |
| 43 | + color: white; |
| 44 | + padding: 1rem 2rem; |
| 45 | + text-decoration: none; |
| 46 | + border-radius: 50px; |
| 47 | + margin: 0.5rem; |
| 48 | + font-weight: 500; |
| 49 | + transition: transform 0.2s; |
| 50 | + } |
| 51 | + .link:hover { |
| 52 | + transform: translateY(-2px); |
| 53 | + box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4); |
| 54 | + } |
| 55 | + .emoji { |
| 56 | + font-size: 3rem; |
| 57 | + margin-bottom: 1rem; |
| 58 | + } |
16 | 59 | </style> |
17 | | - </head> |
18 | | - |
19 | | - <body> |
20 | | - <div id="swagger-ui"></div> |
21 | | - <script src="./swagger-ui-bundle.js" charset="UTF-8"> </script> |
22 | | - <script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script> |
23 | | - <script> |
24 | | - window.onload = function() { |
25 | | - window.ui = SwaggerUIBundle({ |
26 | | - url: "./openapi.yaml", |
27 | | - dom_id: '#swagger-ui', |
28 | | - deepLinking: true, |
29 | | - presets: [ |
30 | | - SwaggerUIBundle.presets.apis, |
31 | | - SwaggerUIStandalonePreset |
32 | | - ], |
33 | | - plugins: [ |
34 | | - SwaggerUIBundle.plugins.DownloadUrl |
35 | | - ], |
36 | | - layout: "StandaloneLayout" |
37 | | - }); |
38 | | - }; |
39 | | - </script> |
40 | | - </body> |
| 60 | +</head> |
| 61 | +<body> |
| 62 | + <div class="container"> |
| 63 | + <div class="emoji">🌱</div> |
| 64 | + <h1>Leafresh API Documentation</h1> |
| 65 | + <p>환경보호 챌린지 플랫폼 Leafresh의 API 문서</p> |
| 66 | + |
| 67 | + <div class="status"> |
| 68 | + <strong>✅ GitHub Pages 배포 완료!</strong><br> |
| 69 | + Swagger UI가 곧 이 위치에 자동으로 배포됩니다. |
| 70 | + </div> |
| 71 | + |
| 72 | + <div> |
| 73 | + <a href="https://github.com/your-username/leafresh" class="link"> |
| 74 | + 📱 GitHub 저장소 |
| 75 | + </a> |
| 76 | + <a href="https://leafresh.app" class="link"> |
| 77 | + 🌍 Leafresh 웹사이트 |
| 78 | + </a> |
| 79 | + </div> |
| 80 | + |
| 81 | + <div style="margin-top: 2rem; opacity: 0.8;"> |
| 82 | + <small> |
| 83 | + 🔄 GitHub Actions로 자동 배포 중...<br> |
| 84 | + Swagger UI는 swagger.yaml 파일이 업데이트될 때마다 자동으로 갱신됩니다. |
| 85 | + </small> |
| 86 | + </div> |
| 87 | + </div> |
| 88 | +</body> |
41 | 89 | </html> |
0 commit comments