diff --git a/public/css/gitlink.min.css b/public/css/gitlink.min.css index 2fbfc352f..3a71bc995 100644 --- a/public/css/gitlink.min.css +++ b/public/css/gitlink.min.css @@ -1457,6 +1457,10 @@ a.edu-txt-w80, font-size: 36px !important } +.font-38 { + font-size: 38px !important +} + .font-40 { font-size: 40px !important } diff --git a/src/forge/Information/Component/publicBanner.jsx b/src/forge/Information/Component/publicBanner.jsx index 25bc003e2..2a846868d 100644 --- a/src/forge/Information/Component/publicBanner.jsx +++ b/src/forge/Information/Component/publicBanner.jsx @@ -13,15 +13,18 @@ const { Search } = Input; function PublicBanner(props) { const { deptId } = props.match.params; const { pathname } = props.history.location; - const { data: { sectionHomepageShow, sectionHomepageTitle, sectionProjectShow, sectionDataSetShow, sectionDataSetTitle, sectionProjectTitle, sectionResourceShow, sectionResourceTitle, sectionCmsShow, sectionCmsTitle, sectionMemberShow, sectionPointsShow, sectionMemberTitle, sectionHelperShow, sectionHelperTitle }, data, adminUrl, temp, showLoginDialog, showNotification, checkIfLogin, id } = props; + const { data: { sectionHomepageShow, sectionHomepageTitle, sectionProjectShow, sectionDataSetShow, sectionDataSetTitle, sectionProjectTitle, sectionResourceShow, sectionResourceTitle, sectionCmsShow, sectionCmsTitle, sectionMemberShow, sectionPointsShow, sectionMemberTitle, sectionHelperShow, sectionHelperTitle }, data, adminUrl, temp: defaultTemp, showLoginDialog, showNotification, checkIfLogin, id } = props; const isNSCC = deptId === "NSCC"; const isUOS = deptId === "uos"; + const isCCF = deptId === "CCF-ODC"; const [memberStatus, setMemberStatus] = useState(memberStatusEnum.notMember); const [applyVisible, setApplyVisible] = useState(false); const [ searchShow ,setSearchShow ] = useState(false); const [ searchValue ,setSearchValue ] = useState(null); const searchRef = useRef(); + const temp = isCCF ? "ccf" : defaultTemp + const showMenu = useMemo(() => { return Boolean(sectionHomepageShow | sectionProjectShow | sectionDataSetShow | sectionResourceShow | sectionCmsShow | sectionMemberShow | sectionHelperShow | adminUrl) }, [sectionHomepageShow, sectionProjectShow, sectionDataSetShow, sectionResourceShow, sectionCmsShow, sectionMemberShow, sectionHelperShow, adminUrl]) @@ -100,7 +103,7 @@ function PublicBanner(props) { } return ( -