added custom About page
This commit is contained in:
parent
60ffe5de95
commit
1f952b4110
2 changed files with 30 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
||||||
"details": {
|
"details": {
|
||||||
"port": 3000,
|
"port": 3000,
|
||||||
"title": "My Site",
|
"title": "My Site",
|
||||||
|
"ipAddress": "",
|
||||||
"host": "https://www.example.com",
|
"host": "https://www.example.com",
|
||||||
"description": "A decentralized hosting platform built on LBRY",
|
"description": "A decentralized hosting platform built on LBRY",
|
||||||
"twitter": false
|
"twitter": false
|
||||||
|
|
29
client_custom/src/pages/AboutPage/index.jsx
Normal file
29
client_custom/src/pages/AboutPage/index.jsx
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
import React from 'react';
|
||||||
|
import PageLayout from '@components/PageLayout';
|
||||||
|
import HorizontalSplit from '@components/HorizontalSplit';
|
||||||
|
|
||||||
|
class AboutPage extends React.Component {
|
||||||
|
render () {
|
||||||
|
return (
|
||||||
|
<PageLayout
|
||||||
|
pageTitle={'About'}
|
||||||
|
pageUri={'about'}
|
||||||
|
>
|
||||||
|
<HorizontalSplit
|
||||||
|
leftSide={
|
||||||
|
<div>
|
||||||
|
<h1>Welcome to my custom About page!</h1>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
rightSide={
|
||||||
|
<div>
|
||||||
|
<p>To create your own custom components that will override Spee.ch's defaults, place them in the <code>client_custom</code> folder and Spee.ch will do the rest!</p>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
</PageLayout>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default AboutPage;
|
Loading…
Add table
Reference in a new issue