diff --git a/public/locales/zh/common.json b/public/locales/zh/common.json index fb3dcfe1..bc5bcf88 100644 --- a/public/locales/zh/common.json +++ b/public/locales/zh/common.json @@ -50,5 +50,6 @@ "Showcase": "展示柜", "AI-generated summary": "AI 生成的摘要", "Generating": "生成中", - "Show more": "显示更多" + "Show more": "显示更多", + "Patron": "赞助" } \ No newline at end of file diff --git a/public/locales/zh/site.json b/public/locales/zh/site.json index 8760e4f5..5e41a37e 100644 --- a/public/locales/zh/site.json +++ b/public/locales/zh/site.json @@ -9,5 +9,10 @@ "powered by": "由 提供支持", "This address is in local editing preview mode and cannot be viewed by the public. The expected online address is:": "此地址处于本地编辑预览模式,无法被公众查看。预期的在线地址是:", - "Support": "支持" + "View on xChar": "在 xChar 上查看", + "View on xFeed": "在 xFeed 上查看", + "View on Hoot It": "在 Hoot It 上查看", + "View on Crossbell Scan": "在 Crossbell Scan 上查看", + "Subscribe to JSON Feed": "订阅 JSON Feed", + "Subscribe to RSS": "订阅 RSS" } \ No newline at end of file diff --git a/showcase.json b/showcase.json index b6f77794..61e96b4f 100644 --- a/showcase.json +++ b/showcase.json @@ -102,5 +102,7 @@ "rootless", "haydenull", "walk2future", - "cryptonerdcn" + "cryptonerdcn", + "liuyejinghong", + "sion" ] diff --git a/src/components/common/CharacterCard.tsx b/src/components/common/CharacterCard.tsx index f1273cc6..b5fd3981 100644 --- a/src/components/common/CharacterCard.tsx +++ b/src/components/common/CharacterCard.tsx @@ -14,8 +14,17 @@ export const CharacterCard: React.FC<{ open?: boolean setButtonLoading?: (loading: boolean) => void hideFollowButton?: boolean + simple?: boolean style?: "flat" | "normal" -}> = ({ siteId, address, open, setButtonLoading, hideFollowButton, style }) => { +}> = ({ + siteId, + address, + open, + setButtonLoading, + hideFollowButton, + simple, + style, +}) => { const [firstOpen, setFirstOpen] = useState("") const [site, setSite] = useState() const date = useDate() @@ -41,8 +50,9 @@ export const CharacterCard: React.FC<{ return ( {site ? ( @@ -69,10 +79,12 @@ export const CharacterCard: React.FC<{ dangerouslySetInnerHTML={{ __html: site?.description || "" }} > )} - - - - {site?.date_created && ( + {!simple && ( + + + + )} + {!simple && site?.date_created && (