chore: upgrade dependencies

This commit is contained in:
xfy
2025-05-19 14:41:51 +08:00
parent fe51fa33c8
commit 7e9a7b616d
28 changed files with 1611 additions and 1743 deletions

View File

@ -5,7 +5,7 @@ const PostCardLoading = () => {
return (
<article
className={clsx(
'rounded-xl py-4 px-5 md:p-7 ',
'rounded-lg-xl py-4 px-5 md:p-7 ',
'hover:bg-sky-100 hover:bg-opacity-50',
'dark:hover:bg-rua-gray-800 dark:hover:bg-opacity-100',
'flex justify-between text-gray-800 ',

View File

@ -13,7 +13,7 @@ const PostCard = ({ post }: Props) => {
<Link href={`/p/${post.slug}`} passHref>
<article
className={clsx(
'rounded-xl py-4 px-5 md:p-7 ',
'rounded-lg-xl py-4 px-5 md:p-7 ',
'hover:bg-sky-100 hover:bg-opacity-50',
// 'hover:bg-rua-gray-100 hover:bg-opacity-10',
'dark:hover:bg-rua-gray-800 dark:hover:bg-opacity-100',

View File

@ -42,7 +42,7 @@ const DarkModeBtn = () => {
<button>
<div
className={clsx(
'w-5 h-5 rounded-md animate-pulse',
'w-5 h-5 rounded-lg-md animate-pulse',
'bg-gray-300 dark:bg-gray-500',
)}
></div>

View File

@ -7,7 +7,7 @@ const FriendCard = ({ friend }: { friend: Friend }) => {
<a href={friend.link} target="_blank">
<div
className={clsx(
'py-3 px-4 rounded-xl bg-slate-100',
'py-3 px-4 rounded-lg-xl bg-slate-100',
'hover:bg-slate-200',
'transition-all duration-300',
'flex items-center cursor-pointer',

View File

@ -22,21 +22,21 @@ const GistsCode = () => {
className={clsx(
'box-border inline-block',
'w-[13px] h-[13px] mr-2',
'rounded-full bg-[#ce5347]',
'rounded-lg-full bg-[#ce5347]',
)}
></div>
<div
className={clsx(
'box-border inline-block',
'w-[13px] h-[13px] mr-2',
'rounded-full bg-[#d6a243]',
'rounded-lg-full bg-[#d6a243]',
)}
></div>
<div
className={clsx(
'box-border inline-block',
'w-[13px] h-[13px]',
'rounded-full bg-[#58a942]',
'rounded-lg-full bg-[#58a942]',
)}
></div>
</div>
@ -53,7 +53,7 @@ const GistsCode = () => {
<span
className={clsx(
'bg-gray-300 animate-pulse',
'w-20 h-4 block rounded',
'w-20 h-4 block rounded-lg',
'dark:bg-rua-gray-600',
)}
></span>

View File

@ -1,5 +1,5 @@
.wrapper {
@apply overflow-hidden rounded-lg;
@apply overflow-hidden rounded;
@apply mb-8 shadow-card;
font-size: 16px;
}

View File

@ -47,21 +47,21 @@ const GistsCode = ({ file, showFileName = false }: Props) => {
className={clsx(
'box-border inline-block',
'w-[13px] h-[13px] mr-2',
'rounded-full bg-[#ce5347]',
'rounded-lg-full bg-[#ce5347]',
)}
></div>
<div
className={clsx(
'box-border inline-block',
'w-[13px] h-[13px] mr-2',
'rounded-full bg-[#d6a243]',
'rounded-lg-full bg-[#d6a243]',
)}
></div>
<div
className={clsx(
'box-border inline-block',
'w-[13px] h-[13px]',
'rounded-full bg-[#58a942]',
'rounded-lg-full bg-[#58a942]',
)}
></div>
</div>

View File

@ -8,7 +8,7 @@ const GistSkeleton = () => {
<div className="flex items-center py-1 ">
<div
className={clsx(
'w-8 h-8 rounded-full',
'w-8 h-8 rounded-lg-full',
'animate-pulse bg-gray-300',
'dark:bg-gray-400 ',
)}

View File

@ -15,7 +15,7 @@ const UserInfoLoading = () => {
<div
className={clsx(
'w-16 h-16 mr-4 overflow-hidden',
'md:w-72 md:h-72 bg-gray-200 rounded-full',
'md:w-72 md:h-72 bg-gray-200 rounded-lg-full',
'animate-pulse dark:bg-rua-gray-800',
)}
></div>

View File

@ -27,7 +27,7 @@ const UserInfo = async () => {
src={avatar}
alt="Avatar"
priority
className="rounded-full"
className="rounded-lg-full"
/>
</div>

View File

@ -106,7 +106,7 @@ const HeadBar = () => {
<nav
className={clsx(
'text-lg md:block',
'bg-white rounded-md',
'bg-white rounded-lg-md',
'dark:bg-rua-gray-800',
'absolute md:static',
'p-5 right-6 top-14',
@ -154,7 +154,7 @@ const HeadBar = () => {
<div
className={clsx(
'w-[164.453px] h-[30px]',
'bg-[#ebedf0] rounded-[40px] animate-pulse',
'bg-[#ebedf0] rounded-lg-[40px] animate-pulse',
)}
></div>
)}