Skip to content

Commit

Permalink
feat: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fiqgant committed Jul 7, 2024
1 parent 745b2b3 commit 41fc266
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 16 deletions.
2 changes: 1 addition & 1 deletion apps/docs/src/components/demos/avatar/avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Avatar, AvatarFallback, AvatarImage } from '@tszhong0411/ui'
const AvatarDemo = () => {
return (
<Avatar>
<AvatarImage src='https://github.com/tszhong0411.png' alt='@tszhong0411' />
<AvatarImage src='https://github.com/fiqgant' alt='fiqgant' />
<AvatarFallback>TH</AvatarFallback>
</Avatar>
)
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/config/links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type SidebarLinks = Array<{

export const HEADER_LINKS: HeaderLinks = [
{
href: 'https://github.com/tszhong0411/honghong.me',
href: 'https://github.com/fiqgant/fiqlab',
text: 'GitHub'
}
]
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/app/blog/[slug]/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { usePostContext } from '@/contexts/post'
import { useFormattedDate } from '@/hooks/use-formatted-date'

const editURL = (slug: string) =>
`https://github.com/tszhong0411/honghong.me/blob/main/apps/web/src/content/blog/${slug}.mdx?plain=1`
`https://github.com/fiqgant/fiqlab/blob/main/apps/web/src/content/blog/${slug}.mdx?plain=1`

const Footer = () => {
const { slug, modifiedTime } = usePostContext()
Expand Down
19 changes: 6 additions & 13 deletions apps/web/src/components/command-menu.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client'

import { SiFacebook, SiGithub, SiInstagram, SiX, SiYoutube } from '@icons-pack/react-simple-icons'
import { SiFacebook, SiGithub, SiInstagram, SiYoutube } from '@icons-pack/react-simple-icons'
import {
Button,
CommandDialog,
Expand Down Expand Up @@ -93,7 +93,7 @@ const CommandMenu = () => {
title: 'Source code',
icon: <CodeIcon className='mr-3 size-4' />,
onSelect: () => {
openLink('https://github.com/tszhong0411/honghong.me')
openLink('https://github.com/fiqgant/fiqlab')
}
}
]
Expand All @@ -105,35 +105,28 @@ const CommandMenu = () => {
title: 'GitHub',
icon: <SiGithub className='mr-3 size-4' />,
onSelect: () => {
openLink('https://github.com/tszhong0411')
openLink('https://github.com/fiqgant')
}
},
{
title: 'Facebook',
icon: <SiFacebook className='mr-3 size-4' />,
onSelect: () => {
openLink('https://www.facebook.com/tszhong0411/')
openLink('https://www.facebook.com/taufiqurrahman.mahmud?mibextid=LQQJ4d/')
}
},
{
title: 'Instagram',
icon: <SiInstagram className='mr-3 size-4' />,
onSelect: () => {
openLink('https://instagram.com/tszhong0411/')
}
},
{
title: 'X',
icon: <SiX className='mr-3 size-4' />,
onSelect: () => {
openLink('https://x.com/tszhong0411')
openLink('https://instagram.com/fiqgant/')
}
},
{
title: 'YouTube',
icon: <SiYoutube className='mr-3 size-4' />,
onSelect: () => {
openLink('https://youtube.com/@tszhong0411')
openLink('https://youtube.com/@fiqgant?si=ZqoMwGhidOixJKSw')
}
}
]
Expand Down

0 comments on commit 41fc266

Please sign in to comment.