mirror of
https://github.com/RealKai42/qwerty-learner.git
synced 2026-04-05 14:29:04 +08:00
fix:dark mode text color issue in friendlink page
This commit is contained in:
@@ -31,7 +31,7 @@ export const FriendLinks: React.FC = () => {
|
||||
<Layout>
|
||||
<div className="flex w-full flex-1 flex-col items-center px-4 pt-20">
|
||||
<div className="flex w-full max-w-md flex-grow flex-col items-center">
|
||||
<div className="mt-5 text-center text-lg font-bold">友情链接</div>
|
||||
<div className="mt-5 text-center text-lg font-bold dark:text-gray-50">友情链接</div>
|
||||
<div className="links flex w-full flex-col items-center gap-y-8 py-5">
|
||||
{links.map((link, index) => (
|
||||
<a
|
||||
@@ -40,7 +40,7 @@ export const FriendLinks: React.FC = () => {
|
||||
href={link.href}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="linkItem flex w-full items-center overflow-hidden"
|
||||
className="linkItem flex w-full items-center overflow-hidden dark:text-gray-50"
|
||||
>
|
||||
<div className="mr-3 flex h-8 w-8 flex-shrink-0 items-center justify-center bg-gray-200">
|
||||
<img src={link.imgSrc} alt={link.title} className="h-full w-full object-cover" />
|
||||
|
||||
Reference in New Issue
Block a user