fix(ssr): styles

This commit is contained in:
DIYgod
2025-05-08 12:24:56 +08:00
parent 9d1c1a6bd3
commit 7079022e2f
4 changed files with 6 additions and 6 deletions
@@ -127,7 +127,7 @@ export const SettingAbout = () => {
target="_blank"
rel="noreferrer"
>
<i className={link.icon} />
<i className={link.iconClassName} />
{link.label}
</a>
))}
@@ -86,7 +86,7 @@ export const Header = () => {
rel="noreferrer"
className="flex items-center"
>
<i className={link.icon} style={{ color: link.color }} />
<i className={link.iconClassName} style={{ color: link.color }} />
</a>
))}
</div>
@@ -123,7 +123,7 @@ export function Component() {
</div>
{!!list.data.entries?.length && (
<>
<div className="mt-8 text-zinc-500">{t("feed.preview")}</div>
<div className="mt-8 text-center text-zinc-500">{t("feed.preview")}</div>
<div className={cn("w-full pb-12 pt-8", "flex flex-col gap-2")}>
<Item entries={list.data.entries} view={list.data.list.view} />
</div>
+3 -3
View File
@@ -1,18 +1,18 @@
export const SocialMediaLinks = [
{
icon: "i-mgc-github-cute-fi",
iconClassName: "i-mgc-github-cute-fi",
label: "GitHub",
url: "https://github.com/RSSNext/Folo",
color: "#000000",
},
{
icon: "i-mgc-discord-cute-fi",
iconClassName: "i-mgc-discord-cute-fi",
label: "Discord",
url: "https://discord.gg/followapp",
color: "#5865F2",
},
{
icon: "i-mgc-social-x-cute-re",
iconClassName: "i-mgc-social-x-cute-re",
label: "X",
url: "https://x.com/intent/follow?screen_name=follow_app_",
color: "#000000",