diff --git a/src/components/CommentForm.astro b/src/components/CommentForm.astro index 3ddc01a..e80cd78 100644 --- a/src/components/CommentForm.astro +++ b/src/components/CommentForm.astro @@ -1,5 +1,6 @@ --- - +const { entryId } = Astro.props; +const backendHost = import.meta.env.PUBLIC_BACKEND_HOST; --- -
+
+ placeholder="Yazı hakkındaki düşünceleriniz nelerdir?" + name="commentBody"> - + +
+ + diff --git a/src/components/EmojiReactionForm.astro b/src/components/EmojiReactionForm.astro index 1eb6f63..e770128 100644 --- a/src/components/EmojiReactionForm.astro +++ b/src/components/EmojiReactionForm.astro @@ -15,7 +15,7 @@ const backendHost = import.meta.env.PUBLIC_BACKEND_HOST;
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 774f975..874345a 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -16,6 +16,7 @@ import "../styles/main.css"; + {title} diff --git a/src/pages/category/[category]/[slug]/index.astro b/src/pages/category/[category]/[slug]/index.astro index 9c5a79d..ae346d8 100644 --- a/src/pages/category/[category]/[slug]/index.astro +++ b/src/pages/category/[category]/[slug]/index.astro @@ -12,6 +12,8 @@ import Comment from "@/components/Comment.astro"; const { entry } = Astro.props; +const backendHost = import.meta.env.PUBLIC_BACKEND_HOST; + export async function getStaticPaths() { const blogEntries = await getCollection("blog"); return blogEntries.map((entry) => ({ @@ -29,10 +31,16 @@ export async function getStaticPaths() {
Yorumlar
- - +
+

Henüz yorum yok!

+
- +