+
{`© ${new Date().getFullYear()} ${APP_SITENAME}`}
- {APP_FOOTER_EXTRA &&
}
+ {APP_FOOTER_EXTRA &&
}
);
diff --git a/app/components/layout/header.tsx b/app/components/layout/header.tsx
index cfeec0a..2e32a26 100644
--- a/app/components/layout/header.tsx
+++ b/app/components/layout/header.tsx
@@ -1,4 +1,4 @@
-import { Link, NavLink } from "@remix-run/react";
+import { NavLink } from "@remix-run/react";
const navItems = [
{ name: "首页", to: "/" },
diff --git a/app/routes/_index.tsx b/app/routes/_index.tsx
deleted file mode 100644
index 5347369..0000000
--- a/app/routes/_index.tsx
+++ /dev/null
@@ -1,41 +0,0 @@
-import type { MetaFunction } from "@remix-run/node";
-
-export const meta: MetaFunction = () => {
- return [
- { title: "New Remix App" },
- { name: "description", content: "Welcome to Remix!" },
- ];
-};
-
-export default function Index() {
- return (
-
- );
-}
diff --git a/app/routes/_index/route.tsx b/app/routes/_index/route.tsx
new file mode 100644
index 0000000..dfd3fa0
--- /dev/null
+++ b/app/routes/_index/route.tsx
@@ -0,0 +1,49 @@
+import type { MetaFunction } from "@remix-run/node";
+import { siteTitle } from "~/utils";
+import { BiliBili, CloudMusic, GitHub, QQ, Steam, TwitterX } from "~/components/common/icons";
+
+import styles from "./styles.module.less";
+
+export const meta: MetaFunction = () => {
+ return [
+ { title: siteTitle() },
+ { name: "description", content: "一只正在学习前后端技术的萌新" },
+ ];
+};
+
+export default function Index() {
+ return (
+
+
+
+ );
+}
diff --git a/app/routes/_index/styles.module.less b/app/routes/_index/styles.module.less
new file mode 100644
index 0000000..9c45d69
--- /dev/null
+++ b/app/routes/_index/styles.module.less
@@ -0,0 +1,7 @@
+.avatar {
+ width: 160px;
+ position: relative;
+ --path: path('M0 88V0h160v88h-8c0 39.738-32.262 72-72 72S8 127.738 8 88H0z');
+ --webkit-clip-path: var(--path);
+ clip-path: var(--path);
+}
diff --git a/app/routes/gallery.$/route.tsx b/app/routes/gallery.$/route.tsx
index fb34fb8..668601b 100644
--- a/app/routes/gallery.$/route.tsx
+++ b/app/routes/gallery.$/route.tsx
@@ -64,7 +64,7 @@ export default function Gallery() {
))}
-