6 changed files with 63 additions and 44 deletions
@ -25,8 +25,8 @@ const MAX_IMG_DIAM = 8000; |
|||||||
const MAX_IMG_PX = 5000000; |
const MAX_IMG_PX = 5000000; |
||||||
const MAX_IMG_FILESIZE = 450000 * BASE64_RATE; |
const MAX_IMG_FILESIZE = 450000 * BASE64_RATE; |
||||||
|
|
||||||
const REPOSITORY = 'https://a.com/b'; |
const REPOSITORY = 'https://github.com/newthuhole'; |
||||||
const EMAIL = '[email protected]'; |
const EMAIL = '[email protected]'; |
||||||
|
|
||||||
export const TokenCtx = React.createContext({ |
export const TokenCtx = React.createContext({ |
||||||
value: null, |
value: null, |
||||||
@ -39,6 +39,11 @@ export function InfoSidebar(props) { |
|||||||
<PromotionBar /> |
<PromotionBar /> |
||||||
<LoginForm show_sidebar={props.show_sidebar} /> |
<LoginForm show_sidebar={props.show_sidebar} /> |
||||||
<div className="box list-menu"> |
<div className="box list-menu"> |
||||||
|
<a href="/about.html" target="_blank"> |
||||||
|
<span className="icon icon-textfile" /> |
||||||
|
<label>关于</label> |
||||||
|
</a> |
||||||
|
|
||||||
<a |
<a |
||||||
onClick={() => { |
onClick={() => { |
||||||
props.show_sidebar('设置', <ConfigUI />); |
props.show_sidebar('设置', <ConfigUI />); |
||||||
@ -52,14 +57,6 @@ export function InfoSidebar(props) { |
|||||||
<span className="icon icon-textfile" /> |
<span className="icon icon-textfile" /> |
||||||
<label>树洞规范(试行)</label> |
<label>树洞规范(试行)</label> |
||||||
</a> |
</a> |
||||||
|
|
||||||
<a |
|
||||||
href={REPOSITORY+"/issues"} |
|
||||||
target="_blank" |
|
||||||
> |
|
||||||
<span className="icon icon-github" /> |
|
||||||
<label>意见反馈</label> |
|
||||||
</a> |
|
||||||
</div> |
</div> |
||||||
<div className="box help-desc-box"> |
<div className="box help-desc-box"> |
||||||
<p> |
<p> |
||||||
@ -88,7 +85,8 @@ export function InfoSidebar(props) { |
|||||||
</p> |
</p> |
||||||
</div> |
</div> |
||||||
<div className="box help-desc-box"> |
<div className="box help-desc-box"> |
||||||
<p>联系我们:<a href={"mailto:"+EMAIL}>{EMAIL}</a></p> |
<p>意见反馈请加tag #意见反馈 或到github后端的issus区。</p> |
||||||
|
<p>联系我们:<a href={"mailto:"+EMAIL}>{EMAIL}</a> 。</p> |
||||||
</div> |
</div> |
||||||
<div className="box help-desc-box"> |
<div className="box help-desc-box"> |
||||||
<p> |
<p> |
||||||
@ -102,7 +100,7 @@ export function InfoSidebar(props) { |
|||||||
<a href={REPOSITORY} target="_blank"> |
<a href={REPOSITORY} target="_blank"> |
||||||
GitHub |
GitHub |
||||||
</a>{' '} |
</a>{' '} |
||||||
开源 |
开源。 |
||||||
</p> |
</p> |
||||||
<p> |
<p> |
||||||
新T树洞 网页版基于 |
新T树洞 网页版基于 |
||||||
@ -121,7 +119,7 @@ export function InfoSidebar(props) { |
|||||||
<a href="https://icomoon.io/#icons" target="_blank" rel="noopener"> |
<a href="https://icomoon.io/#icons" target="_blank" rel="noopener"> |
||||||
IcoMoon |
IcoMoon |
||||||
</a> |
</a> |
||||||
等开源项目 |
等开源项目。 |
||||||
</p> |
</p> |
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
|
Loading…
Reference in new issue