This is an automated email from the ASF dual-hosted git repository.
shuai pushed a change to branch ui-optimization
in repository https://gitbox.apache.org/repos/asf/answer.git
from 5d1b9dcf fix: run prettier to format codes
new 1fcf0363 fix: development warning
new 8bc6837b fix: Optimize sidebar navigation style
new 308f3cf3 fix: uypdate seo template codes
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
i18n/en_US.yaml | 1 +
i18n/zh_CN.yaml | 1 +
ui/config-overrides.js | 11 +-
ui/package.json | 1 +
ui/pnpm-lock.yaml | 21 ++
ui/src/common/constants.ts | 7 +
ui/src/common/sideNavLayout.scss | 15 +-
ui/src/components/AccordionNav/index.css | 18 ++
ui/src/components/AccordionNav/index.tsx | 11 +-
ui/src/components/AdminSideNav/index.scss | 17 ++
ui/src/components/AdminSideNav/index.tsx | 64 ++++++
ui/src/components/Customize/index.tsx | 1 +
ui/src/components/Footer/index.tsx | 49 +++--
ui/src/components/Header/index.scss | 7 +-
ui/src/components/Header/index.tsx | 311 ++++++++++++++--------------
ui/src/components/MobileSideNav/index.scss | 7 +
ui/src/components/MobileSideNav/index.tsx | 26 +++
ui/src/components/SideNav/index.scss | 38 +---
ui/src/components/SideNav/index.tsx | 113 +++++------
ui/src/components/index.ts | 4 +
ui/src/pages/Admin/Answers/index.tsx | 6 +-
ui/src/pages/Admin/Badges/index.tsx | 20 +-
ui/src/pages/Admin/Questions/index.tsx | 6 +-
ui/src/pages/Admin/Users/index.tsx | 6 +-
ui/src/pages/Admin/index.scss | 5 +-
ui/src/pages/Admin/index.tsx | 88 +++-----
ui/src/pages/Layout/index.tsx | 3 -
ui/src/pages/SideNavLayout/index.tsx | 24 ++-
ui/src/stores/sideNav.ts | 8 -
ui/template/footer.html | 24 ++-
ui/template/header.html | 19 +-
ui/template/homepage.html | 154 +++++++-------
ui/template/question-detail.html | 312 +++++++++++++++--------------
ui/template/question.html | 79 ++++----
ui/template/sidenav.html | 35 ++--
ui/template/sort-btns.html | 37 +++-
ui/template/tag-detail.html | 132 ++++++------
ui/template/tags.html | 88 ++++----
38 files changed, 962 insertions(+), 807 deletions(-)
create mode 100644 ui/src/components/AdminSideNav/index.scss
create mode 100644 ui/src/components/AdminSideNav/index.tsx
create mode 100644 ui/src/components/MobileSideNav/index.scss
create mode 100644 ui/src/components/MobileSideNav/index.tsx