diff --git a/src/base/withPage.tsx b/src/base/withPage.tsx index a97f6c0..5e9f76d 100644 --- a/src/base/withPage.tsx +++ b/src/base/withPage.tsx @@ -1,5 +1,5 @@ import { FC, ReactNode } from "react" -import { LeftIn, OpacityIn } from "@/effect" +import { OpacityIn } from "@/effect" import styled from "styled-components" interface PageProps { diff --git a/src/effect/index.tsx b/src/effect/index.tsx index 3974e40..59c85af 100644 --- a/src/effect/index.tsx +++ b/src/effect/index.tsx @@ -1,5 +1,5 @@ import { motion } from "framer-motion" -import styled from "styled-components" + export function OpacityIn({ children, className }: any) { return ( diff --git a/src/layout/base.tsx b/src/layout/base.tsx index 0a9b4c3..664d88b 100644 --- a/src/layout/base.tsx +++ b/src/layout/base.tsx @@ -3,6 +3,8 @@ import { ReactNode, useState } from "react" import { NavLink, useHistory } from "react-router-dom" import styled from "styled-components" import { GlobalStyles } from "./GlobalStyles" +import { Notice } from "@/ui/Notice" +import { Markdown } from "@/ui/Markdown" interface PageProps { children: ReactNode @@ -27,15 +29,25 @@ function BaseLayout(props: PageProps) { const router = useHistory() + const about = ` +> 人生如逆水行舟,不进则退。 + + 我来自一南方小镇,不善言辞,今作此小站,聊慰平生。 + + 如有意愿,欢迎联系。 + +[Github](https://github.com/npmrun) + ` + return ( - 东风天堂 + 天涯行宫 -