-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: all the links were broken. These are not great docs, but better…
… than showing 404. We will fix the docs later.
- Loading branch information
Showing
5 changed files
with
141 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import React from 'react' | ||
import Navbar from '../../../views/Navbar'; | ||
import Footer from '../../../components/Footer'; | ||
import DocsSideBar from '../../../views/docs/DocsSideBar'; | ||
import { RenderMarkdown } from '../../../components/RenderMarkdown'; | ||
|
||
|
||
const Terms = () => { | ||
const [contributorGuideContent, setContributorGuideContent] = React.useState(''); | ||
|
||
React.useEffect(() => { | ||
fetch('https://raw.githubusercontent.com/vibinex/vibi-dpu/refs/heads/main/README.md') | ||
.then(response => response.text()) | ||
.then(text => setContributorGuideContent(text)) | ||
.catch(error => console.error('Error fetching CONTRIBUTING.md:', error)); | ||
}, []); | ||
|
||
return ( | ||
<> | ||
<Navbar transparent={false} /> | ||
<div className="flex flex-col sm:flex-row"> | ||
<DocsSideBar className='w-full sm:w-80' /> | ||
|
||
<div className='sm:w-2/3 mx-auto mt-8 px-2 py-2'> | ||
<RenderMarkdown markdownText={contributorGuideContent} /> | ||
</div> | ||
|
||
</div> | ||
<Footer /> | ||
</> | ||
) | ||
} | ||
|
||
export default Terms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import React from 'react' | ||
import Navbar from '../../../views/Navbar'; | ||
import Footer from '../../../components/Footer'; | ||
import DocsSideBar from '../../../views/docs/DocsSideBar'; | ||
import { RenderMarkdown } from '../../../components/RenderMarkdown'; | ||
|
||
|
||
const Terms = () => { | ||
const [contributorGuideContent, setContributorGuideContent] = React.useState(''); | ||
|
||
React.useEffect(() => { | ||
fetch('https://raw.githubusercontent.com/vibinex/chrome-extension/refs/heads/main/README.md') | ||
.then(response => response.text()) | ||
.then(text => setContributorGuideContent(text)) | ||
.catch(error => console.error('Error fetching CONTRIBUTING.md:', error)); | ||
}, []); | ||
|
||
return ( | ||
<> | ||
<Navbar transparent={false} /> | ||
<div className="flex flex-col sm:flex-row"> | ||
<DocsSideBar className='w-full sm:w-80' /> | ||
|
||
<div className='sm:w-2/3 mx-auto mt-8 px-2 py-2'> | ||
<RenderMarkdown markdownText={contributorGuideContent} /> | ||
</div> | ||
|
||
</div> | ||
<Footer /> | ||
</> | ||
) | ||
} | ||
|
||
export default Terms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import React from 'react' | ||
import Navbar from '../../../views/Navbar'; | ||
import Footer from '../../../components/Footer'; | ||
import DocsSideBar from '../../../views/docs/DocsSideBar'; | ||
import { RenderMarkdown } from '../../../components/RenderMarkdown'; | ||
|
||
|
||
const Terms = () => { | ||
const [contributorGuideContent, setContributorGuideContent] = React.useState(''); | ||
|
||
React.useEffect(() => { | ||
fetch('https://raw.githubusercontent.com/vibinex/vibinex/refs/heads/main/CONTRIBUTING.md') | ||
.then(response => response.text()) | ||
.then(text => setContributorGuideContent(text)) | ||
.catch(error => console.error('Error fetching CONTRIBUTING.md:', error)); | ||
}, []); | ||
|
||
return ( | ||
<> | ||
<Navbar transparent={false} /> | ||
<div className="flex flex-col sm:flex-row"> | ||
<DocsSideBar className='w-full sm:w-80' /> | ||
|
||
<div className='sm:w-2/3 mx-auto mt-8 px-2 py-2'> | ||
<RenderMarkdown markdownText={contributorGuideContent} /> | ||
</div> | ||
|
||
</div> | ||
<Footer /> | ||
</> | ||
) | ||
} | ||
|
||
export default Terms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import React from 'react' | ||
import Navbar from '../../../views/Navbar'; | ||
import Footer from '../../../components/Footer'; | ||
import DocsSideBar from '../../../views/docs/DocsSideBar'; | ||
import { RenderMarkdown } from '../../../components/RenderMarkdown'; | ||
|
||
|
||
const Terms = () => { | ||
const [contributorGuideContent, setContributorGuideContent] = React.useState(''); | ||
|
||
React.useEffect(() => { | ||
fetch('https://raw.githubusercontent.com/vibinex/vibinex-server/refs/heads/main/README.md') | ||
.then(response => response.text()) | ||
.then(text => setContributorGuideContent(text)) | ||
.catch(error => console.error('Error fetching CONTRIBUTING.md:', error)); | ||
}, []); | ||
|
||
return ( | ||
<> | ||
<Navbar transparent={false} /> | ||
<div className="flex flex-col sm:flex-row"> | ||
<DocsSideBar className='w-full sm:w-80' /> | ||
|
||
<div className='sm:w-2/3 mx-auto mt-8 px-2 py-2'> | ||
<RenderMarkdown markdownText={contributorGuideContent} /> | ||
</div> | ||
|
||
</div> | ||
<Footer /> | ||
</> | ||
) | ||
} | ||
|
||
export default Terms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters