Skip to content

Commit bcc2c61

Browse files
author
andrewstech
committed
fix
1 parent 7421e0e commit bcc2c61

File tree

3 files changed

+25
-32
lines changed

3 files changed

+25
-32
lines changed

docusaurus.config.js

+17-21
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
88
const config = {
99
title: 'PeerBrain',
1010
tagline: 'A decentralized peer to peer social network.',
11-
favicon: 'img/favicon.ico',
11+
favicon: 'https://avatars.githubusercontent.com/u/130631164',
1212

1313
// Set the production url of your site here
14-
url: 'https://your-docusaurus-test-site.com',
14+
url: 'https://docs.peerbrain.net',
1515
// Set the /<baseUrl>/ pathname under which your site is served
1616
// For GitHub pages deployment, it is often '/<projectName>/'
1717
baseUrl: '/',
1818

1919
// GitHub pages deployment config.
2020
// If you aren't using GitHub pages, you don't need these.
21-
organizationName: 'facebook', // Usually your GitHub org/user name.
22-
projectName: 'docusaurus', // Usually your repo name.
21+
organizationName: 'peerbrain', // Usually your GitHub org/user name.
22+
projectName: 'docs', // Usually your repo name.
2323

2424
onBrokenLinks: 'throw',
2525
onBrokenMarkdownLinks: 'warn',
@@ -42,14 +42,14 @@ const config = {
4242
// Please change this to your repo.
4343
// Remove this to remove the "edit this page" links.
4444
editUrl:
45-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
45+
'https://github.com/peerbrain/docs/tree/main/',
4646
},
4747
blog: {
4848
showReadingTime: true,
4949
// Please change this to your repo.
5050
// Remove this to remove the "edit this page" links.
5151
editUrl:
52-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
52+
'https://github.com/peerbrain/docs/tree/main/',
5353
},
5454
theme: {
5555
customCss: require.resolve('./src/css/custom.css'),
@@ -67,17 +67,17 @@ const config = {
6767
title: 'PeerBrain',
6868
logo: {
6969
alt: 'PeerBrain Logo',
70-
src: 'img/logo.svg',
70+
src: 'https://avatars.githubusercontent.com/u/130631164',
7171
},
7272
items: [
7373
{
7474
type: 'docSidebar',
7575
sidebarId: 'tutorialSidebar',
7676
position: 'left',
77-
label: 'Tutorial',
77+
label: 'Docs',
7878
},
7979
{
80-
href: 'https://github.com/facebook/docusaurus',
80+
href: 'https://github.com/peerbrain',
8181
label: 'GitHub',
8282
position: 'right',
8383
},
@@ -90,25 +90,21 @@ const config = {
9090
title: 'Docs',
9191
items: [
9292
{
93-
label: 'Tutorial',
93+
label: 'Get Started',
9494
to: '/docs/intro',
9595
},
9696
],
9797
},
9898
{
9999
title: 'Community',
100100
items: [
101-
{
102-
label: 'Stack Overflow',
103-
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
104-
},
105101
{
106102
label: 'Discord',
107-
href: 'https://discordapp.com/invite/docusaurus',
103+
href: 'https://discordapp.com/invite/Cn7jWhTckP',
108104
},
109105
{
110-
label: 'Twitter',
111-
href: 'https://twitter.com/docusaurus',
106+
label: 'GitHub',
107+
href: 'https://github.com/peerbrain',
112108
},
113109
],
114110
},
@@ -120,13 +116,13 @@ const config = {
120116
to: '/blog',
121117
},
122118
{
123-
label: 'GitHub',
124-
href: 'https://github.com/facebook/docusaurus',
125-
},
119+
label: 'Status',
120+
href: 'https://status.peerbrain.net'
121+
}
126122
],
127123
},
128124
],
129-
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
125+
copyright: `Copyright © ${new Date().getFullYear()} PeerBrain.`,
130126
},
131127
prism: {
132128
theme: lightCodeTheme,

src/components/HomepageFeatures/index.js

+6-9
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,29 @@ import styles from './styles.module.css';
44

55
const FeatureList = [
66
{
7-
title: 'Easy to Use',
7+
title: 'Secure',
88
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
99
description: (
1010
<>
11-
Docusaurus was designed from the ground up to be easily installed and
12-
used to get your website up and running quickly.
11+
All messages are encrypted with users own private keys.
1312
</>
1413
),
1514
},
1615
{
17-
title: 'Focus on What Matters',
16+
title: 'Privacy first',
1817
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
1918
description: (
2019
<>
21-
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go
22-
ahead and move your docs into the <code>docs</code> directory.
20+
We cannot view your messages.
2321
</>
2422
),
2523
},
2624
{
27-
title: 'Powered by React',
25+
title: 'Powered by fastapi & React',
2826
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
2927
description: (
3028
<>
31-
Extend or customize your website layout by reusing React. Docusaurus can
32-
be extended while reusing the same header and footer.
29+
Built using fastapi for the backend and react for frontend.
3330
</>
3431
),
3532
},

src/pages/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function HomepageHeader() {
1818
<Link
1919
className="button button--secondary button--lg"
2020
to="/docs/intro">
21-
Docusaurus Tutorial - 5min ⏱️
21+
Get Started
2222
</Link>
2323
</div>
2424
</div>
@@ -31,7 +31,7 @@ export default function Home() {
3131
return (
3232
<Layout
3333
title={`Hello from ${siteConfig.title}`}
34-
description="Description will go into a meta tag in <head />">
34+
description="PeerBrain P2P social">
3535
<HomepageHeader />
3636
<main>
3737
<HomepageFeatures />

0 commit comments

Comments
 (0)