Skip to content

Commit 7ffadb2

Browse files
committed
updated slack link. Fixed #154
1 parent 741a797 commit 7ffadb2

File tree

3 files changed

+59
-62
lines changed

3 files changed

+59
-62
lines changed

docs/support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sidebar_label: Help and Support
1111
If you're reporting a bug, or you have a feature request, you can use GitHub issues:
1212
https://github.com/caprover/caprover/issues
1313

14-
If you need some help with deployment and something does not quite work, message on [**Slack Chat**](https://join.slack.com/t/caprover/shared_invite/zt-3icy38xau-njrQIRpRCmZ_ax5FODAb0w) or use [**GitHub Issues**](https://github.com/caprover/caprover/issues).
14+
If you need some help with deployment and something does not quite work, message on [**Slack Chat**](https://join.slack.com/t/caprover/shared_invite/zt-3lmngygtv-MOIiGy~LHkZ6S8sbYYqTDA) or use [**GitHub Issues**](https://github.com/caprover/caprover/issues).
1515

1616
### Need Commercial Support?
1717

website/core/Footer.js

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
const React = require('react');
8+
const React = require("react");
99

1010
class Footer extends React.Component {
1111
docUrl(doc) {
1212
const baseUrl = this.props.config.baseUrl;
13-
return baseUrl + 'docs/' + doc;
13+
return baseUrl + "docs/" + doc;
1414
}
1515

1616
pageUrl(doc, language) {
1717
const baseUrl = this.props.config.baseUrl;
18-
return baseUrl + (language ? language + '/' : '') + doc;
18+
return baseUrl + (language ? language + "/" : "") + doc;
1919
}
2020

2121
render() {
@@ -35,45 +35,45 @@ class Footer extends React.Component {
3535
</a>
3636
<div>
3737
<h5>Docs</h5>
38-
<a href={this.docUrl('get-started.html')}>
39-
Getting Started
40-
</a>
38+
<a href={this.docUrl("get-started.html")}>Getting Started</a>
4139
</div>
4240
<div>
4341
<h5>Community</h5>
44-
<a
45-
href="https://twitter.com/cap_rover"
46-
target="_blank"
47-
rel="noreferrer noopener">
48-
Twitter
49-
</a>
50-
<a
51-
href="https://join.slack.com/t/caprover/shared_invite/zt-3icy38xau-njrQIRpRCmZ_ax5FODAb0w"
52-
target="_blank"
53-
rel="noreferrer noopener">
54-
Slack Group
55-
</a>
42+
<a
43+
href="https://twitter.com/cap_rover"
44+
target="_blank"
45+
rel="noreferrer noopener"
46+
>
47+
Twitter
48+
</a>
49+
<a
50+
href="https://join.slack.com/t/caprover/shared_invite/zt-3lmngygtv-MOIiGy~LHkZ6S8sbYYqTDA"
51+
target="_blank"
52+
rel="noreferrer noopener"
53+
>
54+
Slack Group
55+
</a>
5656
</div>
5757
<div>
5858
<h5>More</h5>
59-
<a href="https://github.com/caprover/caprover"
60-
target="_blank">
61-
GitHub</a>
59+
<a href="https://github.com/caprover/caprover" target="_blank">
60+
GitHub
61+
</a>
6262
<a
6363
className="github-button"
6464
href={this.props.config.repoUrl}
6565
data-icon="octicon-star"
6666
data-count-href="/caprover/caprover/stargazers"
6767
data-show-count={true}
6868
data-count-aria-label="# stargazers on GitHub"
69-
aria-label="Star this project on GitHub">
69+
aria-label="Star this project on GitHub"
70+
>
7071
Star
7172
</a>
7273
</div>
7374
</section>
7475

7576
<section className="copyright">{this.props.config.copyright}</section>
76-
7777
</footer>
7878
);
7979
}

website/siteConfig.js

Lines changed: 35 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -11,61 +11,61 @@
1111
/* List of projects/orgs using your project for the users page */
1212
const users = [
1313
{
14-
caption: 'User1',
14+
caption: "User1",
1515
// You will need to prepend the image path with your baseUrl
1616
// if it is not '/', like: '/test-site/img/logo.png'.
17-
image: '/img/logo.png',
18-
infoLink: 'https://www.facebook.com',
17+
image: "/img/logo.png",
18+
infoLink: "https://www.facebook.com",
1919
pinned: true,
2020
},
2121
];
2222

2323
const siteConfig = {
24-
title: 'CapRover' /* title for your website */,
25-
tagline: 'Scalable, Free and Self-hosted PaaS!',
26-
cname: 'caprover.com',
27-
url: 'https://caprover.com' /* your website url */,
28-
baseUrl: '/' /* base url for your project */,
24+
title: "CapRover" /* title for your website */,
25+
tagline: "Scalable, Free and Self-hosted PaaS!",
26+
cname: "caprover.com",
27+
url: "https://caprover.com" /* your website url */,
28+
baseUrl: "/" /* base url for your project */,
2929
// For github.io type URLs, you would set the url and baseUrl like:
3030
// url: 'https://facebook.github.io',
3131
// baseUrl: '/test-site/',
3232

3333
// Used for publishing and more
34-
projectName: 'CapRover',
35-
organizationName: 'CapRover',
34+
projectName: "CapRover",
35+
organizationName: "CapRover",
3636
// For top-level user or org sites, the organization is still the same.
3737
// e.g., for the https://JoelMarcey.github.io site, it would be set like...
3838
// organizationName: 'JoelMarcey'
3939

4040
// For no header links in the top nav bar -> headerLinks: [],
4141
headerLinks: [
42-
{doc: 'get-started', label: 'Docs'},
43-
{
44-
href: 'https://github.com/caprover/caprover',
45-
label: 'GitHub',
46-
},
47-
{
48-
href: 'https://join.slack.com/t/caprover/shared_invite/zt-2qlb28drp-RpxNfY3nUhroLuRJUUJzDA',
49-
label: 'Slack Group',
50-
},
42+
{ doc: "get-started", label: "Docs" },
43+
{
44+
href: "https://github.com/caprover/caprover",
45+
label: "GitHub",
46+
},
47+
{
48+
href: "https://join.slack.com/t/caprover/shared_invite/zt-3lmngygtv-MOIiGy~LHkZ6S8sbYYqTDA",
49+
label: "Slack Group",
50+
},
5151
],
5252

53-
editUrl: 'https://github.com/caprover/caprover-website/edit/master/docs/',
53+
editUrl: "https://github.com/caprover/caprover-website/edit/master/docs/",
5454

55-
gaTrackingId: 'UA-132762521-1',
55+
gaTrackingId: "UA-132762521-1",
5656

5757
// If you have users set above, you add it here:
5858
users,
5959

6060
/* path to images for header/footer */
61-
headerIcon: 'img/logo.png',
62-
footerIcon: 'img/logo.png',
63-
favicon: 'img/favicon.ico',
61+
headerIcon: "img/logo.png",
62+
footerIcon: "img/logo.png",
63+
favicon: "img/favicon.ico",
6464

6565
/* colors for website */
6666
colors: {
67-
primaryColor: '#135c8c',
68-
secondaryColor: '#0e4468',
67+
primaryColor: "#135c8c",
68+
secondaryColor: "#0e4468",
6969
},
7070

7171
/* custom fonts for website */
@@ -81,34 +81,31 @@ const siteConfig = {
8181
},*/
8282

8383
// This copyright info is used in /core/Footer.js and blog rss/atom feeds.
84-
copyright:
85-
'Copyright © ' +
86-
new Date().getFullYear() +
87-
' githubsaturn',
84+
copyright: "Copyright © " + new Date().getFullYear() + " githubsaturn",
8885

8986
highlight: {
9087
// Highlight.js theme to use for syntax highlighting in code blocks
91-
theme: 'default',
88+
theme: "default",
9289
},
9390

9491
// Add custom scripts here that would be placed in <script> tags
95-
scripts: ['https://buttons.github.io/buttons.js'],
92+
scripts: ["https://buttons.github.io/buttons.js"],
9693

9794
/* On page navigation for the current documentation page */
98-
onPageNav: 'separate',
95+
onPageNav: "separate",
9996

10097
/* Open Graph and Twitter card images */
101-
ogImage: 'img/logo.png',
102-
twitterImage: 'img/logo.png',
98+
ogImage: "img/logo.png",
99+
twitterImage: "img/logo.png",
103100

104101
algolia: {
105-
apiKey: '81e546c2e0c9258e48c359465bde6909',
106-
indexName: 'caprover',
102+
apiKey: "81e546c2e0c9258e48c359465bde6909",
103+
indexName: "caprover",
107104
},
108105

109106
// You may provide arbitrary config keys to be used as needed by your
110107
// template. For example, if you need your repo's URL...
111-
repoUrl: 'https://github.com/caprover/caprover',
108+
repoUrl: "https://github.com/caprover/caprover",
112109
};
113110

114111
module.exports = siteConfig;

0 commit comments

Comments
 (0)