-
+
{thread.title}
-
- e.stopPropagation()}>{thread.author_name}
+
+ e.stopPropagation()}>{thread.author_name}
{thread.forum_categories && (
<> ยท {thread.forum_categories.name} >
)}
@@ -333,7 +333,7 @@ export default function ForumIndexPage() {
setFeedMode('discover')}
className={`px-4 py-2 rounded-md text-sm font-body font-semibold transition-colors flex items-center gap-2 ${
- feedMode === 'discover' ? 'bg-[#1D4ED8] text-white' : 'text-[#888] hover:text-white'
+ feedMode === 'discover' ? 'bg-[#1D4ED8] text-white' : 'text-[#888] hover:text-[#0F172A]'
}`}
>
@@ -344,7 +344,7 @@ export default function ForumIndexPage() {
setFeedMode('following')}
className={`px-4 py-2 rounded-md text-sm font-body font-semibold transition-colors flex items-center gap-2 ${
- feedMode === 'following' ? 'bg-[#1D4ED8] text-white' : 'text-[#888] hover:text-white'
+ feedMode === 'following' ? 'bg-[#1D4ED8] text-white' : 'text-[#888] hover:text-[#0F172A]'
}`}
>
@@ -359,8 +359,8 @@ export default function ForumIndexPage() {
{feedMode === 'following' && (
{!currentUserId && (
-
-
Sign in to see threads from people you follow.
+
+
Sign in to see threads from people you follow.
๐ฅ
-
Your following feed is empty
-
Follow other members to see their threads here.
+
Your following feed is empty
+
Follow other members to see their threads here.
setFeedMode('discover')}
@@ -398,10 +398,10 @@ export default function ForumIndexPage() {
-
+
{thread.title}
@@ -420,12 +420,12 @@ export default function ForumIndexPage() {
-
{thread.reply_count}
-
replies
+
{thread.reply_count}
+
replies
-
{thread.view_count}
-
views
+
{thread.view_count}
+
views
))}
@@ -450,7 +450,7 @@ export default function ForumIndexPage() {
placeholder="Search threads..."
value={search}
onChange={e => setSearch(e.target.value)}
- className="w-full bg-[#FFFFFF] border border-[#DCE6F2] focus:border-[#1D4ED8] rounded-lg pl-9 pr-4 py-2.5 text-white font-body text-sm placeholder-[#555] focus:outline-none transition-colors"
+ className="w-full bg-[#FFFFFF] border border-[#DCE6F2] focus:border-[#1D4ED8] rounded-lg pl-9 pr-4 py-2.5 text-[#0F172A] font-body text-sm placeholder-[#888] focus:outline-none transition-colors"
/>
{search && (
setSelectedCategory(e.target.value)}
- className="appearance-none bg-[#FFFFFF] border border-[#DCE6F2] focus:border-[#1D4ED8] rounded-lg pl-3 pr-8 py-2.5 text-sm font-body text-white focus:outline-none transition-colors cursor-pointer min-w-[160px]"
+ className="appearance-none bg-[#FFFFFF] border border-[#DCE6F2] focus:border-[#1D4ED8] rounded-lg pl-3 pr-8 py-2.5 text-sm font-body text-[#0F172A] focus:outline-none transition-colors cursor-pointer min-w-[160px]"
>
All Categories
{categories.map(cat => (
@@ -491,7 +491,7 @@ export default function ForumIndexPage() {
className={`px-3 py-1.5 rounded-md text-xs font-body font-semibold transition-colors whitespace-nowrap ${
sort === opt.value
? 'bg-[#1D4ED8] text-white'
- : 'text-[#888] hover:text-white'
+ : 'text-[#888] hover:text-[#0F172A]'
}`}
>
{opt.label}
@@ -511,8 +511,8 @@ export default function ForumIndexPage() {
)}
{!threadsLoading && threads.length === 0 && (
-
-
No threads found
+
+
No threads found
Try adjusting your search or filters.
)}
@@ -523,10 +523,10 @@ export default function ForumIndexPage() {
-
+
{thread.title}
@@ -538,13 +538,13 @@ export default function ForumIndexPage() {
-
{thread.reply_count}
-
replies
+
{thread.reply_count}
+
replies
{sort === 'top-voted' && (
+{thread.upvotes ?? 0}
-
votes
+
votes
)}
@@ -584,30 +584,30 @@ export default function ForumIndexPage() {
{cat.icon}
-
+
{cat.name}
- {cat.description}
+
{cat.description}
{cat.last_thread_title && (
-
- Last post: {' '}
- {cat.last_thread_title}
+
+ Last post: {' '}
+ {cat.last_thread_title}
{cat.last_activity_at && (
- ยท {timeAgoFresh(cat.last_activity_at, cat.id)}
+ ยท {timeAgoFresh(cat.last_activity_at, cat.id)}
)}
)}
-
{cat.thread_count}
+
{cat.thread_count}
threads
-
{cat.post_count}
+
{cat.post_count}
posts
@@ -624,9 +624,9 @@ export default function ForumIndexPage() {
)}
{/* Forum guidelines */}
-