Skip to content

Commit 4e14156

Browse files
committed
Add banner for "joining ClickHouse"
1 parent cfc04c8 commit 4e14156

File tree

1 file changed

+81
-58
lines changed

1 file changed

+81
-58
lines changed

Diff for: docs/index.html

+81-58
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,115 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
34
<head>
45
<meta charset="UTF-8">
56
<title>chdb: embedded SQL OLAP Engine powered by ClickHouse</title>
67
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
78
<meta name="description" content="chdb: embedded SQL OLAP Engine powered by ClickHouse">
89
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
9-
<meta name="keywords" content="clickhouse,clickhouse-server,serverless,olap,database,slq,duckdb,chdb,python,nodejs,rust,go,binding,library,embedded database, in-process sql, embedded database">
10+
<meta name="keywords"
11+
content="clickhouse,clickhouse-server,serverless,olap,database,slq,duckdb,chdb,python,nodejs,rust,go,binding,library,embedded database, in-process sql, embedded database">
1012
<meta name="robots" content="index, follow">
1113
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
1214
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-sidebar-collapse/dist/sidebar.min.css" />
1315
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
1416
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
15-
<link
16-
rel="stylesheet"
17-
href="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/style.min.css"
18-
title="docsify-darklight-theme"
19-
type="text/css"
20-
/>
17+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/style.min.css"
18+
title="docsify-darklight-theme" type="text/css" />
2119
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/@antonz/[email protected]/dist/snippet.css">
2220
<style>
2321
.sidebar-nav img:first-of-type {
2422
max-width: 130px;
2523
}
24+
2625
.app {
27-
margin-top: 5px;
26+
margin-top: 35px;
2827
}
28+
2929
.sidebar {
30-
margin-top: 5px;
30+
margin-top: 35px;
3131
margin-left: 15px;
3232
max-width: 15rem;
3333
}
34+
3435
.sidebar li {
3536
margin: 0px 0;
3637
}
38+
3739
.content {
3840
top: 0px;
39-
padding-top: 5px;
41+
padding-top: 35px;
4042
left: 15rem;
4143
}
44+
4245
video {
4346
max-width: 600px;
4447
}
48+
4549
img {
4650
filter: var(--invert, 'invert(0%)');
4751
}
52+
4853
code {
49-
background: #ffffff;
50-
color: #000;
54+
background: #ffffff;
55+
color: #000;
5156
}
57+
5258
:root {
53-
--sidebar-width : 15rem;
59+
--sidebar-width: 15rem;
5460
}
61+
5562
.headercontent {
5663
color: #FFF;
5764
font-size: large;
5865
}
66+
5967
.headercontent a {
6068
color: #FFF;
6169
text-decoration: none;
6270
}
71+
72+
.markdown-section {
73+
padding: 0 15px 40px;
74+
}
75+
6376
#docsify-darklight-theme {
6477
position: fixed;
6578
right: 50px;
66-
top: 40px !important;
79+
top: 70px !important;
6780
width: 35px;
6881
height: 35px;
6982
z-index: 9999999;
7083
}
84+
7185
.github-corner svg {
7286
height: 55px;
7387
width: 55px;
88+
fill: #333;
89+
z-index: 999999;
7490
}
91+
7592
codapi-output pre {
76-
line-height: 1.2 !important;
93+
line-height: 1.2 !important;
7794
}
95+
7896
codapi-toolbar button {
7997
background: url(https://doc.chdb.io/codapi_icon.png) no-repeat 5px center;
8098
padding: 5px 5px 5px 27px;
8199
background-size: 15px 15px;
82100
color: #FFFFFF;
83101
background-color: #000;
84102
}
85-
86-
87-
88103
</style>
89104
</head>
105+
90106
<body>
107+
<div style="position:fixed; height: 30px; background-color: #FF0; color: black; line-height: 30px;
108+
text-align: center; width: 100%; z-index: 1;">
109+
<a href="https://auxten.com/chdb-is-joining-clickhouse" target="_blank" style="color: #161600;">
110+
chDB joins the ClickHouse family. Read more ➡️
111+
</a>
112+
</div>
91113
<!--
92114
<div class="headercontent" style="position:fixed; top:0; height:50px; width: 100%; background: #000; color: #FFF; z-index: 9999; ">
93115
<img src="chdb-snake-white.png" style="height: 50px;">
@@ -96,7 +118,7 @@
96118
</div>
97119
</div>
98120
-->
99-
<div id="app" style="margin-top:30px;"></div>
121+
<div id="app"></div>
100122
<script>
101123
window.$docsify = {
102124
// name: 'chdb',
@@ -128,43 +150,43 @@
128150
},
129151
plugins: [],
130152
darklightTheme: {
131-
siteFont : "PT Sans",
132-
defaultTheme : 'dark',
133-
codeFontFamily : 'Roboto Mono, Monaco, courier, monospace',
134-
bodyFontSize : '17px',
135-
dark: {
136-
accent: '#42b983',
137-
toogleBackground : '#ffffff',
138-
background: '#091a28',
139-
textColor: '#b4b4b4',
140-
codeTextColor : '#525252',
141-
codeBackgroundColor : '#f7f5f5',
142-
borderColor : '#0d2538',
143-
blockQuoteColor : '#858585',
144-
highlightColor : '#d22778',
145-
sidebarSublink : '#b4b4b4',
146-
codeTypeColor : '#ffffff',
147-
coverBackground : 'linear-gradient(to left bottom, hsl(118, 100%, 85%) 0%,hsl(181, 100%, 85%) 100%)',
148-
toogleImage : 'url(https://cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/icons/sun.svg)',
149-
invert: 'invert(100%)'
150-
},
151-
light: {
152-
accent: '#42b983',
153-
toogleBackground : '#091a28',
154-
background: '#ffffff',
155-
textColor: '#34495e',
156-
codeTextColor : '#525252',
157-
codeBackgroundColor : '#f8f8f8',
158-
borderColor : 'rgba(0, 0, 0, 0.07)',
159-
blockQuoteColor : '#858585',
160-
highlightColor : '#d22778',
161-
sidebarSublink : '#b4b4b4',
162-
codeTypeColor : '#091a28',
163-
coverBackground : 'linear-gradient(to left bottom, hsl(118, 100%, 85%) 0%,hsl(181, 100%, 85%) 100%)',
164-
toogleImage : 'url(https://cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/icons/moon.svg)',
165-
invert: 'invert(0%)'
166-
}
153+
siteFont: "PT Sans",
154+
defaultTheme: 'dark',
155+
codeFontFamily: 'Roboto Mono, Monaco, courier, monospace',
156+
bodyFontSize: '17px',
157+
dark: {
158+
accent: '#42b983',
159+
toogleBackground: '#ffffff',
160+
background: '#091a28',
161+
textColor: '#b4b4b4',
162+
codeTextColor: '#525252',
163+
codeBackgroundColor: '#f7f5f5',
164+
borderColor: '#0d2538',
165+
blockQuoteColor: '#858585',
166+
highlightColor: '#d22778',
167+
sidebarSublink: '#b4b4b4',
168+
codeTypeColor: '#ffffff',
169+
coverBackground: 'linear-gradient(to left bottom, hsl(118, 100%, 85%) 0%,hsl(181, 100%, 85%) 100%)',
170+
toogleImage: 'url(https://cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/icons/sun.svg)',
171+
invert: 'invert(100%)'
172+
},
173+
light: {
174+
accent: '#42b983',
175+
toogleBackground: '#091a28',
176+
background: '#ffffff',
177+
textColor: '#34495e',
178+
codeTextColor: '#525252',
179+
codeBackgroundColor: '#f8f8f8',
180+
borderColor: 'rgba(0, 0, 0, 0.07)',
181+
blockQuoteColor: '#858585',
182+
highlightColor: '#d22778',
183+
sidebarSublink: '#b4b4b4',
184+
codeTypeColor: '#091a28',
185+
coverBackground: 'linear-gradient(to left bottom, hsl(118, 100%, 85%) 0%,hsl(181, 100%, 85%) 100%)',
186+
toogleImage: 'url(https://cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/icons/moon.svg)',
187+
invert: 'invert(0%)'
167188
}
189+
}
168190
}
169191
</script>
170192
<!-- Docsify v4 -->
@@ -173,19 +195,20 @@
173195
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
174196
<script src="//cdn.jsdelivr.net/npm/docsify-pagination/dist/docsify-pagination.min.js"></script>
175197
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script>
176-
198+
177199
<script src="//cdn.jsdelivr.net/npm/docsify-prism@latest/dist/docsify-prism.min.js"></script>
178200
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-python.min.js"></script>
179201
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
180202
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-go.min.js"></script>
181203
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-rust.min.js"></script>
182204
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-c.min.js"></script>
183-
205+
184206
<script src="//cdn.jsdelivr.net/npm/docsify-sidebar-collapse/dist/docsify-sidebar-collapse.min.js"></script>
185207

186208
<script src="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/index.min.js" type="text/javascript"></script>
187209

188210
<!-- Codapi -->
189211
<script defer src="//cdn.jsdelivr.net/npm/@antonz/[email protected]/dist/snippet.js"></script>
190212
</body>
191-
</html>
213+
214+
</html>

0 commit comments

Comments
 (0)