最新の投稿
@@ -193,7 +193,7 @@ export default function Feed() {
))}
最新の投稿を見る
@@ -213,7 +213,7 @@ export default function Feed() {
))}
最近いいねされた投稿を見る
diff --git a/app/routes/_layout.archives.$postId.tsx b/app/routes/_layout.archives.$postId.tsx
index 090cb3f9..693df013 100644
--- a/app/routes/_layout.archives.$postId.tsx
+++ b/app/routes/_layout.archives.$postId.tsx
@@ -4,19 +4,19 @@ import { prisma } from "~/modules/db.server";
import CommentCard from "~/components/CommentCard";
import parser from "html-react-parser";
import TagCard from "~/components/TagCard";
-import clockIcon from "~/src/assets/clock_icon.svg";
-import tagIcon from "~/src/assets/tag_icon.svg";
import { useState } from "react";
import { getClientIPAddress } from "remix-utils/get-client-ip-address";
-import thumb_up from "~/src/assets/thumb_up.svg";
-import thumb_down from "~/src/assets/thumb_down.svg";
import { commitSession, getSession, isAdminLogin } from "~/modules/session.server";
import { supabase } from "~/modules/supabase.server";
import { H1, H2 } from "~/components/Headings";
-import arrowForwardIcon from "~/src/assets/arrow_forward.svg";
-import arrowBackIcon from "~/src/assets/arrow_back.svg";
import CommentInputBox from "~/components/CommentInputBox";
import ShareButtons from "~/components/ShareButtons";
+import ArrowBackIcon from "~/components/icons/ArrowBackIcon";
+import ClockIcon from "~/components/icons/ClockIcon";
+import TagIcon from "~/components/icons/TagIcon";
+import ThumbsUpIcon from "~/components/icons/ThumbsUpIcon";
+import ThumbsDownIcon from "~/components/icons/ThumbsDownIcon";
+import ArrowForwardIcon from "~/components/icons/ArrowForwardIcon";
export async function loader({ request }:LoaderFunctionArgs){
@@ -242,10 +242,13 @@ export default function Component() {
<>
{postContent && postContent.postTitle}
-
-
-
- {postContent && new Date(postContent.postDateGmt).toLocaleString("ja-JP", {
+
+
+
+
+
+
+ {postContent && new Date(postContent.postDateGmt).toLocaleString("ja-JP", {
year: "numeric",
month: "2-digit",
day: "2-digit",
@@ -253,40 +256,47 @@ export default function Component() {
minute: "2-digit",
second: "2-digit",
hourCycle: "h23",
- }).replace(/\//g, "-")}
-
-
-
-
+ }).replace(/\//g, "-")}
+
+
+
+
+
+
+
{sortedTagNames && sortedTagNames.map((tag) => (
-
-
-
-
+
+
+
))}
+
@@ -295,7 +305,7 @@ export default function Component() {
編集する
@@ -307,7 +317,7 @@ export default function Component() {
{post.post_title}
@@ -318,10 +328,10 @@ export default function Component() {
{nextPost ? (
-
+
{nextPost.postTitle}
@@ -331,11 +341,11 @@ export default function Component() {
{prevPost.postTitle}
-
+
):
}
diff --git a/app/routes/_layout.archives.edit.$postId.tsx b/app/routes/_layout.archives.edit.$postId.tsx
index 5c42e014..e2821999 100644
--- a/app/routes/_layout.archives.edit.$postId.tsx
+++ b/app/routes/_layout.archives.edit.$postId.tsx
@@ -241,7 +241,7 @@ export default function EditPost() {
type="text"
value={tagInputValue}
onChange={handleTagInputChange}
- className="border border-gray-300 rounded-l px-4 py-2 w-full focus:outline-none focus:ring-2 focus:ring-blue-500 edit-tag-search-input"
+ className="border border-gray-300 rounded-l px-4 py-2 w-full focus:outline-none focus:ring-2 focus:ring-blue-500 edit-tag-search-input placeholder-slate-500"
placeholder="タグを検索"
/>
@@ -290,7 +290,7 @@ export default function EditPost() {
-
+
{currentPage} / {totalPages}