diff options
author | crupest <crupest@outlook.com> | 2023-07-21 17:02:05 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-07-21 17:02:05 +0800 |
commit | d7b050ef7f047f841ffcda96fbdc9857574e97b9 (patch) | |
tree | b37ccef507cbb6b9ca497715088ffe313e3d2011 /FrontEnd/src/pages/about | |
parent | 2226efed8c8604a938d060d62565b611722e837c (diff) | |
download | timeline-d7b050ef7f047f841ffcda96fbdc9857574e97b9.tar.gz timeline-d7b050ef7f047f841ffcda96fbdc9857574e97b9.tar.bz2 timeline-d7b050ef7f047f841ffcda96fbdc9857574e97b9.zip |
...
Diffstat (limited to 'FrontEnd/src/pages/about')
-rw-r--r-- | FrontEnd/src/pages/about/index.css | 1 | ||||
-rw-r--r-- | FrontEnd/src/pages/about/index.tsx | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/FrontEnd/src/pages/about/index.css b/FrontEnd/src/pages/about/index.css index 487f4a0a..1ce7a7c8 100644 --- a/FrontEnd/src/pages/about/index.css +++ b/FrontEnd/src/pages/about/index.css @@ -1,5 +1,4 @@ .about-page { - padding: 1em 2em; line-height: 1.5; } diff --git a/FrontEnd/src/pages/about/index.tsx b/FrontEnd/src/pages/about/index.tsx index afd4de34..acec1735 100644 --- a/FrontEnd/src/pages/about/index.tsx +++ b/FrontEnd/src/pages/about/index.tsx @@ -1,6 +1,7 @@ import "./index.css"; import { useC } from "@/common"; +import Page from "@/views/common/Page"; interface Credit { name: string; @@ -52,7 +53,7 @@ export default function AboutPage() { const c = useC(); return ( - <div className="about-page"> + <Page className="about-page"> <h2>{c("about.credits.title")}</h2> <p>{c("about.credits.content")}</p> <h3>{c("about.credits.frontend")}</h3> @@ -81,6 +82,6 @@ export default function AboutPage() { })} <li>...</li> </ul> - </div> + </Page> ); } |