Skip to content
Merged

Dev #19

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified bun.lockb
Binary file not shown.
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,30 @@
"prepare": "husky"
},
"dependencies": {
"@astrojs/partytown": "^2.1.3",
"@fontsource-variable/roboto-mono": "^5.1.1",
"@tailwindcss/vite": "^4.0.8",
"astro": "^5.3.1",
"@astrojs/partytown": "^2.1.4",
"@fontsource-variable/roboto-mono": "^5.2.6",
"@tailwindcss/vite": "^4.1.11",
"astro": "^5.11.0",
"mdast-util-to-string": "^4.0.0",
"reading-time": "^1.5.0",
"tailwindcss": "^4.0.8"
"tailwindcss": "^4.1.11"
},
"devDependencies": {
"@commitlint/cli": "^19.7.1",
"@commitlint/config-conventional": "^19.7.1",
"@eslint/js": "^9.21.0",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@eslint/js": "^9.30.1",
"@tailwindcss/typography": "^0.5.16",
"@typescript-eslint/parser": "^8.25.0",
"astro-eslint-parser": "^1.2.1",
"eslint": "^9.21.0",
"@typescript-eslint/parser": "^8.35.1",
"astro-eslint-parser": "^1.2.2",
"eslint": "^9.30.1",
"eslint-plugin-astro": "^1.3.1",
"husky": "^9.1.7",
"prettier": "^3.5.2",
"prettier": "^3.6.2",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.6.11",
"prettier-plugin-tailwindcss": "^0.6.13",
"rehype-katex": "^7.0.1",
"rehype-mathjax": "^7.1.0",
"remark-math": "^6.0.0",
"typescript-eslint": "^8.25.0"
"typescript-eslint": "^8.35.1"
}
}
4 changes: 1 addition & 3 deletions src/components/BlogPost.astro
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ const { remarkPluginFrontmatter } = await render(post);
class="prose dark:prose-invert my-8 max-w-none text-gray-600 dark:text-gray-400"
>
If you have any questions or comments, or you would like to point out any
errors in any of the blog posts, please reach out to me at <a
href="mailto:milanherke@protonmail.com">milanherke@protonmail.com</a
>.
errors in any of the blog posts, please leave a comment.
</div>
</div>
2 changes: 1 addition & 1 deletion src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const isProd = import.meta.env.PROD;
)
}
</head>
<body class="mx-auto max-w-3xl bg-gray-50 px-4 dark:bg-[#0a0a0a]">
<body class="mx-auto max-w-3xl bg-gray-50 p-4 dark:bg-[#0a0a0a]">
<slot />
</body>
</html>
16 changes: 16 additions & 0 deletions src/layouts/PostLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,20 @@ const { post } = Astro.props;
<BlogPost post={post}>
<slot />
</BlogPost>
<script
src="https://giscus.app/client.js"
data-repo="milan-codes/milan-codes.github.io"
data-repo-id="R_kgDOI5_00w"
data-category="Posts"
data-category-id="DIC_kwDOI5_0084Csa0O"
data-mapping="pathname"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="bottom"
data-theme="preferred_color_scheme"
data-lang="en"
data-loading="lazy"
crossorigin="anonymous"
async></script>
</BaseLayout>