From 880ed701d5ae3f3b21b30d3b9e2db5d98d6b9513 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 3 Sep 2020 18:56:40 +0800 Subject: Move AppBar to App . --- Timeline/ClientApp/src/app/views/about/index.tsx | 156 +++++++++++------------ 1 file changed, 74 insertions(+), 82 deletions(-) (limited to 'Timeline/ClientApp/src/app/views/about') diff --git a/Timeline/ClientApp/src/app/views/about/index.tsx b/Timeline/ClientApp/src/app/views/about/index.tsx index 78cffb5f..e7771cec 100644 --- a/Timeline/ClientApp/src/app/views/about/index.tsx +++ b/Timeline/ClientApp/src/app/views/about/index.tsx @@ -1,8 +1,6 @@ import React from "react"; import { useTranslation, Trans } from "react-i18next"; -import AppBar from "../common/AppBar"; - import authorAvatarUrl from "./author-avatar.png"; import githubLogoUrl from "./github.png"; @@ -75,97 +73,91 @@ const AboutPage: React.FC = () => { const { t } = useTranslation(); return ( - <> - -
-
-

{t("about.author.title")}

-
-
- -
-

- {t("about.author.fullname")} - 杨宇千 -

-

- {t("about.author.nickname")} - crupest -

-

- {t("about.author.introduction")} - {t("about.author.introductionContent")} -

-
+
+
+

{t("about.author.title")}

+
+
+ +
+

+ {t("about.author.fullname")} + 杨宇千 +

+

+ {t("about.author.nickname")} + crupest +

+

+ {t("about.author.introduction")} + {t("about.author.introductionContent")} +

-

- {t("about.author.links")} - - - -

-
-
-

{t("about.site.title")}

-

- - 01234 - 56 - -

+ {t("about.author.links")} - {t("about.site.repo")} +

-
-

{t("about.credits.title")}

-

{t("about.credits.content")}

-

{t("about.credits.frontend")}

-
    - {frontendCredits.map((item, index) => { - return ( -
  • - - {item.name} - -
  • - ); - })} -
  • ...
  • -
-

{t("about.credits.backend")}

-
    - {backendCredits.map((item, index) => { - return ( -
  • - - {item.name} - -
  • - ); - })} -
  • ...
  • -
-
- +
+

{t("about.site.title")}

+

+ + 01234 + 56 + +

+

+ + {t("about.site.repo")} + +

+
+
+

{t("about.credits.title")}

+

{t("about.credits.content")}

+

{t("about.credits.frontend")}

+
    + {frontendCredits.map((item, index) => { + return ( +
  • + + {item.name} + +
  • + ); + })} +
  • ...
  • +
+

{t("about.credits.backend")}

+
    + {backendCredits.map((item, index) => { + return ( +
  • + + {item.name} + +
  • + ); + })} +
  • ...
  • +
+
+
); }; -- cgit v1.2.3