修改issue

This commit is contained in:
何童崇 2022-03-09 15:52:56 +08:00
parent 3596f0ed2b
commit f975ab0ec3
3 changed files with 18 additions and 5 deletions

View File

@ -67,6 +67,19 @@ class Index extends Component {
<ProjectIndex {...this.props} {...props} />
)}
></Route>
<Route
path="/explore/all"
render={(props) => (
<ProjectIndex {...this.props} {...props} />
)}
></Route>
<Route
path="/explore"
render={(props) => (
<ProjectHome {...this.props} {...props} />
)}
></Route>
</Switch>
</div>
);

View File

@ -50,7 +50,7 @@ function SubBanner() {
return(
<div className="banners">
<div className="bannersCenter">
<p className="bTitle"><span>GitLink 确实开源</span></p>
<p className="bTitle"><span>osredm 红山开源</span></p>
<p className="bSubTitle">新一代开发创新服务平台 让你的创意在这里释放</p>
<div className="bannerBox">
{

View File

@ -97,14 +97,14 @@ function Index(props){
<li className={(pathname.indexOf("/settings/notice")>-1 && pathname.indexOf("/settings/notice/config") == -1) || pathname.indexOf("/settings/notice/privateLetter")>-1 ?"active":""}><Link to={"/settings/notice"}><i className="iconfont icon-wodetongzhi"></i><span className="text-shodow-bold">我的通知</span></Link></li>
<li className={pathname.indexOf("/settings/notice/config")>-1 ?"active":""}><Link to={'/settings/notice/config'}><i className="iconfont icon-tongzhiguanli"></i><span className="text-shodow-bold">通知管理</span></Link></li>
</ul>} */}
<ul className="securityUl ul-border-buttom">
{pathname.indexOf("/settings/notice")>-1 && <ul className="securityUl ul-border-buttom">
<li>消息通知</li>
<li className={(pathname.indexOf("/settings/notice")>-1 && pathname.indexOf("/settings/notice/config") == -1) || pathname.indexOf("/settings/notice/privateLetter")>-1 ?"active":""}><Link to={"/settings/notice"}><i className="iconfont icon-wodetongzhi"></i><span className="text-shodow-bold">我的通知</span></Link></li>
</ul>
<ul className="securityUl">
</ul>}
{pathname.indexOf("/settings/SSH")>-1 &&<ul className="securityUl">
<li>安全设置</li>
<li className={pathname.indexOf("/settings/SSH")>-1 ?"active":""}><Link to={`/settings/SSH`}><i className="iconfont icon-xuanzhongssh_icon mr5 font-14"></i><span className="text-shodow-bold">SSH密钥</span></Link></li>
</ul>
</ul>}
</div>
<LongWidth>
<Gap>