diff --git a/components/Navbar/index.jsx b/components/Navbar/index.jsx
index bafa3fa..ec958dc 100644
--- a/components/Navbar/index.jsx
+++ b/components/Navbar/index.jsx
@@ -134,9 +134,9 @@ export default function Navbar({ RenderThemeChanger }) {
-
+
{archive}
-
+
diff --git a/package.json b/package.json
index 2111680..3f85b36 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
"start": "next start",
"clean": "rm -rf .next",
"postbuild": "next-sitemap",
- "lint": "next lint",
+ "lint": "next lint --fix",
"prepare": "husky install",
"pre-commit": "pnpm lint --fix && git add -A .",
"lint-staged": "lint-staged",
diff --git a/pages/archive.js b/pages/archive.js
index fa377f0..d4fc74e 100644
--- a/pages/archive.js
+++ b/pages/archive.js
@@ -1,41 +1,41 @@
-import Head from 'next/head';
-import Link from 'next/link';
-import Layout from 'components/Layout';
-import { getSortedPostsData } from 'lib/posts';
+import Head from 'next/head'
+import Link from 'next/link'
+import Layout from 'components/Layout'
+import { getSortedPostsData } from 'lib/posts'
export async function getStaticProps() {
- const allPostsData = getSortedPostsData();
- return {
- props: {
- allPostsData,
- },
- };
+ const allPostsData = getSortedPostsData()
+ return {
+ props: {
+ allPostsData,
+ },
+ }
}
export default function Archive({ allPostsData }) {
- return (
-
-
- Archive
-
-
-
- 📌
+ return (
+
+
+ Archive
+
+
+
+ 📌
Archive
-
-
- {allPostsData.map(({ date, slug, title }) => (
- -
-
- {date}
-
-
- {title}
-
-
- ))}
-
-
-
- );
+
+
+ {allPostsData.map(({ date, slug, title }) => (
+ -
+
+ {date}
+
+
+ {title}
+
+
+ ))}
+
+
+
+ )
}
\ No newline at end of file