Skip to content

Commit

Permalink
chore: update friends link
Browse files Browse the repository at this point in the history
  • Loading branch information
kuizuo committed Jan 18, 2024
1 parent 9d2b028 commit 56faaa4
Showing 4 changed files with 10 additions and 14 deletions.
8 changes: 1 addition & 7 deletions data/friends.tsx
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ export const Friends: Friend[] = [
{
title: 'Meoo',
description: '一杯茶,一根网线,一台电脑',
website: 'https://meoo.space',
website: 'https://cxorz.com',
avatar: '/img/friend/meoo.png',
},
{
@@ -53,12 +53,6 @@ export const Friends: Friend[] = [
website: 'https://www.disnox.top/',
avatar: '/img/friend/disnox.png',
},
{
title: 'Faith&Passion',
description: '有些鱼是关不住的,因为他们属于天空',
website: 'https://jpy.wiki',
avatar: '/img/friend/faith&passion.png',
},
{
title: 'CWorld Blog',
description: '求知若愚,虚怀若谷',
2 changes: 1 addition & 1 deletion src/pages/friends/_components/FriendCard/index.tsx
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ const FriendCard = memo(({ friend }: { friend: Friend }) => (
<div className="card__body">
<div className={clsx(styles.friendCardHeader)}>
<h4 className={styles.friendCardTitle}>
<Link href={friend.website} className={styles.friendCardLink}>
<Link to={friend.website} className={styles.friendCardLink} rel="">
{friend.title}
</Link>
</h4>
12 changes: 7 additions & 5 deletions src/pages/friends/index.tsx
Original file line number Diff line number Diff line change
@@ -11,16 +11,18 @@ import { motion } from 'framer-motion'
const TITLE = '友链'
const DESCRIPTION = '有很多良友,胜于有很多财富。'
const ADD_FRIEND_URL = 'https://github.com/kuizuo/blog/edit/main/data/friends.tsx'
const SITE_INFO = `
title: '愧怍'
description: '道阻且长,行则将至'
website: 'https://kuizuo.cn'
avatar: 'https://kuizuo.cn/img/logo.png'
`

function SiteInfo() {
return (
<div className={styles.siteInfo}>
<CodeBlock language="yaml" title="本站信息">
{`
title: '愧怍的小站'
description: '道阻且长,行则将至'
avatar: 'https://kuizuo.cn/img/logo.png'
`}
{SITE_INFO}
</CodeBlock>
</div>
)
2 changes: 1 addition & 1 deletion src/pages/friends/styles.module.css
Original file line number Diff line number Diff line change
@@ -30,5 +30,5 @@
}

.siteInfo code {
--ifm-pre-padding: 0;
--ifm-pre-padding: 0 1rem;
}

1 comment on commit 56faaa4

@vercel
Copy link

@vercel vercel bot commented on 56faaa4 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./

kuizuo.cn
blog-kuizuo1.vercel.app
blog-kuizuo.vercel.app
blog-git-main-kuizuo1.vercel.app

Please sign in to comment.