aboutsummaryrefslogtreecommitdiffstats
path: root/site/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'site/src/components')
-rw-r--r--site/src/components/NewsFeed.tsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/site/src/components/NewsFeed.tsx b/site/src/components/NewsFeed.tsx
index 0151975..3e6f6b9 100644
--- a/site/src/components/NewsFeed.tsx
+++ b/site/src/components/NewsFeed.tsx
@@ -16,6 +16,7 @@ export interface NewsData {
}>;
en_headline: string | null;
en_content: string | null;
+ is_ai_summary: boolean | null;
}
interface NewsFeedProps {
@@ -102,6 +103,12 @@ export const NewsFeed: React.FC<NewsFeedProps> = ({ newsItems }) => {
</button>
)}
</div>
+ {/* AI Disclaimer */}
+ {news.is_ai_summary && (
+ <div className={`${isMoe ? "bg-pink-200 text-pink-800" : "bg-gray-800 text-white"} px-3 py-1 text-xs text-center`}>
+ The information above is summarized by AI / 上記の情報はAIによって生成されました。
+ </div>
+ )}
{/* Images */}
{news.images.length > 0 && (
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage