去掉顶部导航

This commit is contained in:
向明星 2025-10-21 09:50:30 +08:00
parent 3d56307bd5
commit 5b086b62fb
3 changed files with 13 additions and 4 deletions

View File

@ -276,8 +276,11 @@ class Index extends Component {
<img src={banner} alt=""/>
<div className="bannerBox">
<div class="subjectleft">
<span>开源社区</span>
<span>面向高校的教学开源</span>
<span>项目托管</span>
<div className='bannerDesc'>
<div>打通产教开源生态</div>
<div style={{fontSize:14}}>Powered by GitLink and MulanOS</div>
</div>
</div>
<Button type={"primary"} size={"large"}>
<Link to={`/projects/deposit/new`}>新建项目</Link>

View File

@ -16,6 +16,12 @@
-ms-flex-align: center;
align-items: center;
}
.bannerDesc{
color: #fff;
font-size: 16px;
line-height: 22px;
margin-left: 20px;
}
.bannerBox {
width: 1200px;

View File

@ -222,12 +222,12 @@ export function TPMIndexHOC(WrappedComponent) {
{...this.props}
{...this.state}
/> : ""}
<Header {...this.state} {...this.props}></Header>
{/* <Header {...this.state} {...this.props}></Header> */}
<Spin spinning={this.state.globalLoading} delay={0} className="globalSpin"
size="large" tip={this._gLoadingTip || "加载中..."}
>
<div className="newContainer newContainers">
<div style={{height:"70px"}}></div>
{/* <div style={{height:"70px"}}></div> */}
{
current_user &&
<WrappedComponent initCommonState={(user) => this.initCommonState(user)}