Skip to content

Commit 008e71b

Browse files
authored
Merge pull request #42 from couchbase/ui-bug-fixes
create a landing page without navigation
2 parents 906135e + 07dffdb commit 008e71b

File tree

7 files changed

+128
-9
lines changed

7 files changed

+128
-9
lines changed
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
= Couchbase SDK
2+
:page-layout: landing-page-top-level-sdk
3+
:page-role: tiles
4+
:!sectids:
5+
6+
7+
= SDK
8+
++++
9+
<div class="card-row">
10+
++++
11+
12+
[.column]
13+
====== {empty}
14+
[.content]
15+
The Couchbase SDK allows applications to access a Couchbase cluster. It offers traditional synchronous APIs as well as scalable asynchronous APIs to maximize performance.
16+
17+
[.column]
18+
====== {empty}
19+
[.media-left]
20+
image::sdk-icon.svg[]
21+
22+
++++
23+
</div>
24+
++++
25+
26+
== Languages
27+
++++
28+
<div class="card-row two-column-row">
29+
++++
30+
31+
[.column]
32+
====== {empty}
33+
.C SDK
34+
35+
[.content]
36+
The Couchbase C SDK (libcouchbase) enables C and C++ programs to access a Couchbase Server cluster. The C SDK is also commonly used as a core dependency of SDKs written in other language to provide a common implementation and high performance.
37+
[]
38+
xref:#[Start Using the C SDK]
39+
40+
[.column]
41+
====== {empty}
42+
43+
..NET SDK
44+
[.content]
45+
The .NET SDK enables you to interact with a Couchbase Server cluster from the .NET Framework using any Common Language Runtime (CLR) language, including C#, F#, and VB.NET. It offers both a traditional synchronous API and an asynchronous API based on the Task-based Asynchronous Pattern (TAP).
46+
[]
47+
xref:#[Start Using the .NET SDK]
48+
49+
[.column]
50+
====== {empty}
51+
.Go SDK
52+
53+
[.content]
54+
The Couchbase Go SDK allows you to connect to a Couchbase Server cluster from Go. The Go SDK is a native Go library and uses the high-performance gocbcore to handle communicating to the cluster over Couchbase’s binary protocols.
55+
[]
56+
xref:#[Start Using the Go SDK]
57+
58+
[.column]
59+
====== {empty}
60+
.Java SDK
61+
62+
[.content]
63+
The Java SDK allows Java applications to access a Couchbase Server cluster. The Java SDK offers traditional synchronous APIs as well as scalable asynchronous APIs to maximize performance.
64+
[]
65+
xref:#[Start Using the Java SDK]
66+
67+
[.column]
68+
====== {empty}
69+
.Node.js SDK
70+
71+
[.content]
72+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
73+
[]
74+
xref:#[Start Using the Node.js SDK]
75+
76+
[.column]
77+
====== {empty}
78+
.PHP SDK
79+
80+
[.content]
81+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
82+
[]
83+
xref:#[Start Using the PHP SDK]
84+
85+
[.column]
86+
====== {empty}
87+
.Python SDK
88+
89+
[.content]
90+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
91+
[]
92+
xref:#[Start Using the Python SDK]
93+
94+
[.column]
95+
====== {empty}
96+
.Scala SDK
97+
98+
[.content]
99+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
100+
[]
101+
xref:#[Start Using the Scala SDK]
102+
103+
104+
++++
105+
</div>
106+
++++

src/img/couchbase-documentation-logo.svg

Lines changed: 1 addition & 0 deletions
Loading
File renamed without changes.

src/js/01-nav.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,6 @@
132132
return el
133133
}
134134

135-
// hide left nav on top level landing page
136-
137-
if (nav.innerText === '') {
138-
nav.classList.add('hide-nav')
139-
} else {
140-
nav.classList.add('show-nav')
141-
}
142-
143135
menuExpandToggle.addEventListener('click', function (e) {
144136
e.preventDefault()
145137
// var navBarHeight = nav.querySelector('.nav-menu')
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
{{> head-first}}
5+
<title>{{{detag (or page.title 'landing page')}}}{{#if site.title}} | {{{site.title}}}{{/if}}</title>
6+
{{> head-last}}
7+
</head>
8+
<body class="landing-page">
9+
{{> header}}
10+
{{> body-landing-top-level-sdk}}
11+
{{> footer}}
12+
</body>
13+
</html>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<div class="body container-fluid">
2+
<main class="article" data-ceiling="topbar">
3+
<article class="doc landing-page-doc">
4+
{{{page.contents}}}
5+
</article>
6+
</main>
7+
</div>

src/partials/header-content.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<header class="header fixed-top">
22
<nav class="navbar navbar-expand-md flex-nowrap justify-content-between navbar-new-top">
33
<a class="navbar-brand" href="{{#with (and site.url site.homeUrl)}}{{@root.site.url}}{{this}}{{else}}{{siteRootPath}}{{/with}}">
4-
<img src="{{{uiRootPath}}}/img/logo.png" alt="Couchbase" />
4+
<img src="{{{uiRootPath}}}/img/couchbase-documentation-logo.svg" alt="Couchbase" />
55
</a>
66
{{! <ul class="nav navbar-nav mr-auto"></ul> }}
77
<button class="navbar-burger" data-target="topbar-menu">

0 commit comments

Comments
 (0)