diff --git a/src/forge/Information/Component/publicBanner.jsx b/src/forge/Information/Component/publicBanner.jsx
index 3a718caa..68519bd7 100644
--- a/src/forge/Information/Component/publicBanner.jsx
+++ b/src/forge/Information/Component/publicBanner.jsx
@@ -1,6 +1,5 @@
import React , { useState , useEffect } from 'react';
import { Menu } from 'antd';
-import banner from '../img/mainbanner.png'
import { Link } from 'react-router-dom';
import { tempConfig } from '../tempInfo';
import TopEdition from './TopEdition'
@@ -18,6 +17,7 @@ function PublicBanner(props){
const info = /[A-Za-z0-9]{0,}\/news/g;
const infodetail = /[A-Za-z0-9]{0,}\/newdetail/g;
const project = /[A-Za-z0-9]{0,}\/projects/g;
+ const source = /[A-Za-z0-9]{0,}\/source/g;
const vip = /[A-Za-z0-9]{0,}\/VIP/g;
if(pathname === `/zone/${deptId}`){
setKey("1");
@@ -25,6 +25,9 @@ function PublicBanner(props){
else if(project.test(pathname)){
setKey("2");
}
+ else if(source.test(pathname)){
+ setKey("3");
+ }
else if(info.test(pathname) || infodetail.test(pathname)){
setKey("4");
}
@@ -48,7 +51,7 @@ function PublicBanner(props){