From 41514c6f8379da90c63e9347fe92d92df8279114 Mon Sep 17 00:00:00 2001 From: master1lan <278457198@qq.com> Date: Tue, 17 Jan 2023 19:53:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0logo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 1 + public/logo.svg | 1 + src/components/proview/themePreview.tsx | 4 ++ src/routers/error.tsx | 51 ++++++++++++++++++++++++- src/routers/layout/nav/index.tsx | 3 +- src/routers/photo.tsx | 2 +- 6 files changed, 59 insertions(+), 3 deletions(-) create mode 100644 public/logo.svg diff --git a/index.html b/index.html index 69dec79..312c597 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,7 @@ + eoefans-web diff --git a/public/logo.svg b/public/logo.svg new file mode 100644 index 0000000..6546328 --- /dev/null +++ b/public/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/proview/themePreview.tsx b/src/components/proview/themePreview.tsx index eddd857..f8cc3a4 100644 --- a/src/components/proview/themePreview.tsx +++ b/src/components/proview/themePreview.tsx @@ -6,6 +6,7 @@ declare module "@mui/material/styles" { interface Palette { palette: { luzao: Palette["primary"]; + luzaoRed: Palette["primary"]; minuo: Palette["primary"]; waner: Palette["primary"]; yumo: Palette["primary"]; @@ -15,6 +16,7 @@ declare module "@mui/material/styles" { } interface PaletteOptions { luzao: Palette["primary"]; + luzaoRed: Palette["primary"]; minuo: Palette["primary"]; waner: Palette["primary"]; yumo: Palette["primary"]; @@ -25,6 +27,7 @@ declare module "@mui/material/styles" { declare module "@mui/material/Button" { interface ButtonPropsColorOverrides { luzao: true; + luzaoRed: true; minuo: true; waner: true; yumo: true; @@ -38,6 +41,7 @@ const theme = createTheme({ }, palette: { luzao: { main: "#3dff9e", contrastText: "#fff" }, + luzaoRed: { main: "#A0191D", contrastText: "#fff" }, minuo: { main: "#f068B0", contrastText: "#fff" }, waner: { main: "#1eafe4", contrastText: "#fff" }, yumo: { main: "#b77fdd", contrastText: "#fff" }, diff --git a/src/routers/error.tsx b/src/routers/error.tsx index 3c2cd3e..ca872ec 100644 --- a/src/routers/error.tsx +++ b/src/routers/error.tsx @@ -1,3 +1,52 @@ +import { Button } from "@mui/material"; +import { Link } from "react-router-dom"; + export default function ErrorPage() { - return

这里是error页

; + return ( +
+

+ 🤯🤯🤯有什么出错了 +

+

+ 当您看到这个页面时,表示您进入了一个不存在的页面,网站目前仅开放 + + + + 和 + + + + 两个页面(虽然两个是同一个页面)。 +

+

+ 请尝试点击链接 + + + + 重新访问该网站。 +

+

+ 若上述方案仍未奏效,那么可能是本地存储出现错误,请尝试点击快捷按钮 + + 删除网站本地数据进行重置。 +

+
+ ); } + +const deleteAllDataStorage = () => { + localStorage.clear(); + sessionStorage.clear(); +}; diff --git a/src/routers/layout/nav/index.tsx b/src/routers/layout/nav/index.tsx index 936cb09..8cbeaa7 100644 --- a/src/routers/layout/nav/index.tsx +++ b/src/routers/layout/nav/index.tsx @@ -176,6 +176,7 @@ const NavTagChipItem: FC = memo((props) => { sx={{ wordBreak: "keep-all", fontWeight: "600", + // padding: "1px 10px", }} > {props.query} @@ -184,7 +185,7 @@ const NavTagChipItem: FC = memo((props) => { }); const nameToColor = { - 露早: "luzao", + 露早: "luzaoRed", 柚恩: "youen", 莞儿: "waner", 米诺: "minuo", diff --git a/src/routers/photo.tsx b/src/routers/photo.tsx index c1f970f..c036aca 100644 --- a/src/routers/photo.tsx +++ b/src/routers/photo.tsx @@ -5,7 +5,7 @@ export default function PhotoPage() { textAlign: "center", }} > - 二创图片页还在制作,敬请期待! + 🙇‍♂️🙇‍♂️🙇‍♂️二创图片页还在制作中,敬请期待! ); }