Skip to content

Commit 7d853e7

Browse files
committed
Remove useless links and update code samples
1 parent f5aabc6 commit 7d853e7

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

lib/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const styleURL = style => `/css/code-style/${style}.css`
1111
const codeFiles = {
1212
'server-code': 'server.gb',
1313
'model-code': 'model.gb',
14-
'db-code': 'plugin.gb'
1514
}
1615

1716
axios.all(Object.keys(codeFiles).map(key => codeFiles[key]).map(file => axios.get(fileURL(file))))

public/index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@
2222
<nav>
2323
<div id="desktop-nav" class="nav-wrapper">
2424
<a target="_blank" href="https://github.com/goby-lang/goby"><span>GitHub</span></a>
25-
<a target="_blank" href="https://goby-lang.gitbooks.io/goby/content/"><span>GitBook</span></a>
2625
<a id="logo-link" href="https://github.com/goby-lang/goby" target="_blank">
2726
<img id="logo" src="./icon/goby-logo.svg" alt="Goby Lang Logo">
2827
</a>
2928
<a target="_blank" href="https://twitter.com/goby_lang"><span>Twitter</span></a>
30-
<a target="_blank" href="https://www.producthunt.com/posts/goby-language"><span>ProductHunt</span></a>
3129
</div>
3230

3331
<div id="mobile-nav" class="nav-wrapper">
@@ -68,7 +66,6 @@ <h4>Stay up to date on Goby's news</h4>
6866
<ul id="code-tab">
6967
<li id="server-code" class="active">server.gb</li>
7068
<li id="model-code">model.gb</li>
71-
<li id="db-code">plugin.gb</li>
7269
</ul>
7370
<pre><code class="ruby" id="render-code"></code></pre>
7471
</div>

public/js/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10452,8 +10452,7 @@ var styleURL = function styleURL(style) {
1045210452

1045310453
var codeFiles = {
1045410454
'server-code': 'server.gb',
10455-
'model-code': 'model.gb',
10456-
'db-code': 'plugin.gb'
10455+
'model-code': 'model.gb'
1045710456
};
1045810457

1045910458
_axios2.default.all(Object.keys(codeFiles).map(function (key) {

0 commit comments

Comments
 (0)