amaye15 commited on
Commit
d37fe3a
·
1 Parent(s): 07f54c0

UI - API Docs - Added

Browse files
Files changed (1) hide show
  1. index.html +34 -6
index.html CHANGED
@@ -3,7 +3,7 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>DuckDB Explorer</title>
7
  <style>
8
  /* --- THEME VARIABLES --- */
9
  :root {
@@ -87,15 +87,39 @@
87
  background-color: var(--bg-color); color: var(--text-color);
88
  transition: background-color 0.3s, color 0.3s;
89
  }
90
- a { color: var(--link-color); }
 
 
 
 
 
 
91
 
92
  /* --- Header --- */
93
  header {
94
- background-color: var(--header-bg); color: var(--header-text); padding: 15px 20px;
95
- display: flex; align-items: center; box-shadow: 0 2px 4px rgba(0,0,0,0.1);
96
- font-size: 1.2em; font-weight: bold; transition: background-color 0.3s, color 0.3s;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  }
98
- /* Removed header .loader styling */
99
 
100
  /* --- Container, Sidebar, Main Content (Keep as before) --- */
101
  .container { display: flex; flex: 1; overflow: hidden; }
@@ -138,7 +162,11 @@
138
  <body>
139
 
140
  <header>
 
141
  <span>🦆 DuckDB Explorer</span>
 
 
 
142
  <!-- Removed loader div -->
143
  </header>
144
 
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>DuckDB Explorer - API Documentation</title>
7
  <style>
8
  /* --- THEME VARIABLES --- */
9
  :root {
 
87
  background-color: var(--bg-color); color: var(--text-color);
88
  transition: background-color 0.3s, color 0.3s;
89
  }
90
+ a {
91
+ color: var(--link-color);
92
+ text-decoration: none; /* Remove default underline */
93
+ }
94
+ a:hover {
95
+ text-decoration: underline; /* Add underline on hover */
96
+ }
97
 
98
  /* --- Header --- */
99
  header {
100
+ background-color: var(--header-bg);
101
+ color: var(--header-text);
102
+ padding: 15px 20px;
103
+ display: flex;
104
+ /* Use space-between to push items to ends */
105
+ justify-content: space-between;
106
+ align-items: center;
107
+ box-shadow: 0 2px 4px rgba(0,0,0,0.1);
108
+ font-size: 1.2em;
109
+ font-weight: bold;
110
+ transition: background-color 0.3s, color 0.3s;
111
+ }
112
+
113
+ /* Style for the link within the header */
114
+ header a {
115
+ color: var(--header-text); /* Inherit header text color */
116
+ font-size: 0.8em; /* Make API link slightly smaller */
117
+ font-weight: normal; /* Normal weight for link */
118
+ margin-left: 20px; /* Add some space */
119
+ }
120
+ header a:hover {
121
+ text-decoration: underline;
122
  }
 
123
 
124
  /* --- Container, Sidebar, Main Content (Keep as before) --- */
125
  .container { display: flex; flex: 1; overflow: hidden; }
 
162
  <body>
163
 
164
  <header>
165
+ <!-- Left side: Title -->
166
  <span>🦆 DuckDB Explorer</span>
167
+
168
+ <!-- Right side: API Docs Link -->
169
+ <a href="/docs" target="_blank">API Documentation</a>
170
  <!-- Removed loader div -->
171
  </header>
172