diff --git a/templates/api_explorer.templ b/templates/api_explorer.templ index b2b0afc..f2b8973 100644 --- a/templates/api_explorer.templ +++ b/templates/api_explorer.templ @@ -3,60 +3,64 @@ package templates templ APIExplorer(explorer APIExplorerData) { if !explorer.IsLoggedIn { // Show mode toggle and mock data -
-
- - +
+
+ +
-
-
-
-

Request Body (Example)

-
{ explorer.Endpoint.RequestBody }
+

Request Body (Example)

+
{ explorer.Endpoint.RequestBody }
-
-

Response (Mock)

-
{ explorer.Endpoint.Response }
+
+

Response (Mock)

+
{ explorer.Endpoint.Response }
+
+
+ +
- -
} else { // Show interactive explorer with real execution -
-
- - +
+
+ +
-
-
-
-

Request Body

- +

Request Body

+
- - ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, "

Request Body

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, "
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, "") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, "") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/templates/docs.templ b/templates/docs.templ index 07c54cc..49f5fa7 100644 --- a/templates/docs.templ +++ b/templates/docs.templ @@ -2,253 +2,137 @@ package templates import ( "fmt" - "html/template" ) templ DocsLayout(nav Navigation, doc Document, user User) { - + { doc.Title } - Bookhoard Documentation + + - - -
+ - - -