Skip to content

Commit

Permalink
remove blog pages and respective dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hgonzaga committed Oct 8, 2024
1 parent 9544c86 commit 15e21b5
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 199 deletions.
71 changes: 0 additions & 71 deletions app/blog/[slug]/page.tsx

This file was deleted.

24 changes: 0 additions & 24 deletions app/blog/page.tsx

This file was deleted.

6 changes: 0 additions & 6 deletions components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,10 @@ const navItems = {
'/about': {
name: 'about',
},
'/blog': {
name: 'blog',
},
};

const Navbar = () => {
let pathname = usePathname() || '/';
if (pathname.includes('/blog/')) {
pathname = '/blog';
}

return (
<aside className="md:w-40 md:flex-shrink-0 -mx-4 md:mx-0 md:px-0 font-condensed select-none">
Expand Down
6 changes: 0 additions & 6 deletions components/PostMetadata.ts

This file was deleted.

15 changes: 0 additions & 15 deletions components/PostPreview.tsx

This file was deleted.

22 changes: 0 additions & 22 deletions components/getPostMetadata.ts

This file was deleted.

8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,10 @@
},
"dependencies": {
"clsx": "^2.1.1",
"gray-matter": "^4.0.3",
"markdown-to-jsx": "^7.5.0",
"moment": "^2.29.4",
"next": "^14.2.14",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.6.2"
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/node": "^22.7.5",
Expand All @@ -24,6 +21,7 @@
"@tailwindcss/typography": "github:tailwindcss/typography",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.13"
"tailwindcss": "^3.4.13",
"typescript": "^5.6.2"
}
}
50 changes: 0 additions & 50 deletions posts/hello-world.md

This file was deleted.

0 comments on commit 15e21b5

Please sign in to comment.