From 24223c173c587df1de6210a6cc8cca6c970e0da6 Mon Sep 17 00:00:00 2001 From: "jason.lam" Date: Tue, 2 Jan 2024 11:24:37 +0800 Subject: [PATCH] update top bar --- src/layout/MainLayout/Header/index.js | 56 +++++++++++++-------------- src/themes/typography.js | 5 +++ 2 files changed, 33 insertions(+), 28 deletions(-) diff --git a/src/layout/MainLayout/Header/index.js b/src/layout/MainLayout/Header/index.js index 538027e..1edb078 100644 --- a/src/layout/MainLayout/Header/index.js +++ b/src/layout/MainLayout/Header/index.js @@ -104,94 +104,94 @@ function Header(props) { isGLDLoggedIn() ?
  • - Dashboard + Dashboard
  • - Application + Application
  • - Proof + Proof
  • - Payment + Payment
    • - Payment Record + Payment Record
    • - Download XML + Download XML
    • - Create DN + Create DN
    • - Demand Note + Demand Note
  • - Client + Client
    • - Users (GLD) + Users (GLD)
    • - Users (Individual) + Users (Individual)
    • - Users (Organisation) + Users (Organisation)
    • - Organisation + Organisation
    • - User Group + User Group
  • - Email Template + Email Template
  • {/*
  • - Logout + Logout
  • */}
    :
  • - 主頁 + 主頁
  • - 我的公共啟事 + 我的公共啟事
  • - 校對記錄 + 校對記錄
  • {isPrimaryLoggedIn() ? <> - 付款記錄 + 付款記錄
    • - 網上付款記錄 + 網上付款記錄
    • - 繳款通知記錄 + 繳款通知記錄
    : - 網上付款記錄 + 網上付款記錄 }
  • - 設定 + 設定 {isPrimaryLoggedIn() ?
    • - 公司/機構用戶記錄 + 公司/機構用戶記錄
    : @@ -199,7 +199,7 @@ function Header(props) { }
  • {/*
  • - 登出 + 登出
  • */}
    ); @@ -207,10 +207,10 @@ function Header(props) { const logoutContent = (
  • - 登入 + 登入
  • - 申請 + 申請
  • ); diff --git a/src/themes/typography.js b/src/themes/typography.js index 623c8f6..0d094f7 100644 --- a/src/themes/typography.js +++ b/src/themes/typography.js @@ -12,6 +12,11 @@ const Typography = (fontFamily) => ({ fontSize: '1.175rem', lineHeight: 1.4 }, + pnspsHeaderTitle: { + fontSize: '1.15rem', + fontWeight: 600, + lineHeight: 1.5 + }, h1: { fontWeight: 600, fontSize: '2.5rem',