diff --git a/src/app/[slug]/edit/page.tsx b/src/app/[slug]/edit/page.tsx deleted file mode 100644 index ee15b7a..0000000 --- a/src/app/[slug]/edit/page.tsx +++ /dev/null @@ -1,7 +0,0 @@ -export default function BlogPostEdit() { - return ( -
-
blog post edit
-
- ); -} diff --git a/src/app/components/header/header.tsx b/src/app/components/header/header.tsx index 9790ef5..c0c4268 100644 --- a/src/app/components/header/header.tsx +++ b/src/app/components/header/header.tsx @@ -13,8 +13,11 @@ interface HeaderProps {} export const Header: React.FC = () => { return ( -
-
+
+
+
); }; diff --git a/src/app/components/header/menu.tsx b/src/app/components/header/menu.tsx index 204fca7..64c0335 100644 --- a/src/app/components/header/menu.tsx +++ b/src/app/components/header/menu.tsx @@ -25,7 +25,7 @@ export const Menu: React.FC = ({ mobile, className = "" }) => { })} > {menuItems.map((item) => ( - <> + {mobile && } - + ))} ); diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 495d007..28bdd2a 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -23,7 +23,7 @@ export default function RootLayout({ children }: RootLayoutProps) { )} >
-
{children}
+
{children}
); diff --git a/src/app/page.tsx b/src/app/page.tsx index b516949..feac0dc 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,10 +2,8 @@ import { PostsList } from "./components/posts-list"; import { Suspense } from "react"; export default function HomePage() { return ( -
- Loading...

}> - -
-
+ Loading...

}> + +
); }