This commit is contained in:
root
2026-06-07 23:18:53 +08:00
parent ebd3d6a317
commit 934b9a4a23
36 changed files with 2272 additions and 296 deletions

View File

@@ -4,6 +4,7 @@ import { useEffect, useMemo, useState } from "react";
import { useTranslation } from "@/i18n/navigation";
import Footer from "@/app/components/Footer";
import { apiFetch } from "@/app/lib/api-client";
import { mediaUrl } from "@/app/lib/media";
interface Topic {
id: string;
@@ -296,7 +297,7 @@ export default function DiscussPage() {
>
<div className="flex items-start gap-3 sm:gap-4">
<img
src={topic.avatar}
src={mediaUrl(topic.avatar)}
alt={topic.author}
className="w-10 h-10 sm:w-12 sm:h-12 rounded-full object-cover shrink-0"
/>