diff --git a/src/welcome_page.cpp b/src/welcome_page.cpp index 3debf80..b5480bb 100644 --- a/src/welcome_page.cpp +++ b/src/welcome_page.cpp @@ -69,11 +69,51 @@ std::string welcome_page() { color: #2b6cb0; margin-top: 0; } - code { - background: #f1f5f9; + .endpoint-group { + margin-bottom: 2rem; + } + .endpoint-group h3 { + color: #4a5568; + font-size: 1.2rem; + margin-bottom: 1rem; + padding-bottom: 0.5rem; + border-bottom: 2px solid #e2e8f0; + } + .endpoint-list { + list-style: none; + padding: 0; + margin: 0; + } + .endpoint-list li { + margin-bottom: 0.75rem; + padding: 0.75rem; + background: #f8fafc; + border-radius: 6px; + display: flex; + align-items: center; + } + .endpoint-list li:last-child { + margin-bottom: 0; + } + .endpoint-method { + font-weight: bold; + color: #2b6cb0; + margin-right: 0.5rem; + min-width: 60px; + } + .endpoint-path { + font-family: 'Courier New', Courier, monospace; + background: #edf2f7; padding: 0.2rem 0.4rem; border-radius: 4px; - font-family: 'Courier New', Courier, monospace; + margin-right: 1rem; + } + .endpoint-desc { + color: #4a5568; + } + .endpoint-param { + color: #805ad5; + font-weight: 500; } @@ -96,14 +136,65 @@ std::string welcome_page() {
-

Available Endpoints

- +

API Endpoints

+ +
+

Directory Operations

+ +
+ +
+

Label:Tag Operations

+ +
+ +
+

Hash Operations

+ +