From 1f242271a98900ca0a72a13ab05efbf65090df0d Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Tue, 15 Jun 2021 17:04:25 +0800
Subject: ...

---
 FrontEnd/src/views/about/index.tsx | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

(limited to 'FrontEnd/src/views/about/index.tsx')

diff --git a/FrontEnd/src/views/about/index.tsx b/FrontEnd/src/views/about/index.tsx
index db4814c4..7b0e50b0 100644
--- a/FrontEnd/src/views/about/index.tsx
+++ b/FrontEnd/src/views/about/index.tsx
@@ -4,6 +4,8 @@ import { useTranslation, Trans } from "react-i18next";
 import authorAvatarUrl from "./author-avatar.png";
 import githubLogoUrl from "./github.png";
 
+import Card from "../common/Card";
+
 import "./index.css";
 
 const frontendCredits: {
@@ -68,7 +70,7 @@ const AboutPage: React.FC = () => {
 
   return (
     <div className="px-2 mb-4">
-      <div className="container mt-4 py-3 cru-card">
+      <Card className="container mt-4 py-3">
         <h4 id="author-info">{t("about.author.title")}</h4>
         <div>
           <div className="d-flex">
@@ -102,8 +104,8 @@ const AboutPage: React.FC = () => {
             </a>
           </p>
         </div>
-      </div>
-      <div className="container mt-4 py-3 cru-card">
+      </Card>
+      <Card className="container mt-4 py-3">
         <h4>{t("about.site.title")}</h4>
         <p>
           <Trans i18nKey="about.site.content">
@@ -120,8 +122,8 @@ const AboutPage: React.FC = () => {
             {t("about.site.repo")}
           </a>
         </p>
-      </div>
-      <div className="container mt-4 py-3 cru-card">
+      </Card>
+      <Card className="container mt-4 py-3">
         <h4>{t("about.credits.title")}</h4>
         <p>{t("about.credits.content")}</p>
         <p>{t("about.credits.frontend")}</p>
@@ -150,7 +152,7 @@ const AboutPage: React.FC = () => {
           })}
           <li>...</li>
         </ul>
-      </div>
+      </Card>
     </div>
   );
 };
-- 
cgit v1.2.3

