File tree 8 files changed +35
-37
lines changed
8 files changed +35
-37
lines changed Original file line number Diff line number Diff line change 1
- import type { SVGProps } from 'react'
2
-
3
- export function IonThumbsup ( props : SVGProps < SVGSVGElement > ) {
4
- return (
5
- < svg width = "1em" height = "1em" viewBox = "0 0 512 512" { ...props } >
6
- < path
7
- d = "M424.2 259.3c13.8-4.5 23.8-17.5 23.8-32.8 0-19-15.4-34.5-34.5-34.5H310.9c2-25 10-53.6 1.1-87.3-7.5-28.4-39.4-49.7-52.4-36.8-5 4.9-3.5 15.2-3.5 33.8 0 42.8-17.8 86.1-39.8 108.7-9.4 9.7-25.2 13-40.2 13.6v-16H64v240h112v-32c20.6-.5 52.6 5.2 75.8 6.6 52 3.1 102-2.4 126.3-8.1 24.3-5.7 35-13 35-30.6 0-6.4-1.9-12.3-5.1-17.3 11.8-4.7 20.1-16.2 20.1-29.7 0-7.2-2.4-13.8-6.4-19.2 11.9-4.6 20.4-16.2 20.4-29.8-.1-12.5-7.4-23.4-17.9-28.6zM112 415.7c-8.8 0-16-7.1-16-16 0-8.8 7.2-16 16-16s16 7.1 16 16c0 8.8-7.2 16-16 16z"
8
- fill = "currentColor"
9
- />
10
- </ svg >
11
- )
1
+ export function ThumbsupIcon ( ) {
2
+ return < i className = "icon-[mingcute--thumb-up-line]" />
12
3
}
Original file line number Diff line number Diff line change @@ -11,11 +11,9 @@ import {
11
11
FaSolidHistory ,
12
12
FaSolidSubway ,
13
13
FaSolidUserFriends ,
14
- IcBaselineLiveTv ,
15
14
IcTwotoneSignpost ,
16
15
IonBook ,
17
16
MdiFlask ,
18
- RiNeteaseCloudMusicLine ,
19
17
} from '~/components/icons/menu-collection'
20
18
21
19
export interface IHeaderMenu {
@@ -95,17 +93,6 @@ export const headerMenuConfig: IHeaderMenu[] = [
95
93
path : '/says' ,
96
94
icon : h ( FaSolidComments ) ,
97
95
} ,
98
- {
99
- title : '听歌' ,
100
- icon : h ( RiNeteaseCloudMusicLine ) ,
101
- type : 'Music' ,
102
- path : '/favorite/music' ,
103
- } ,
104
- {
105
- title : '看番' ,
106
- icon : h ( IcBaselineLiveTv ) ,
107
- path : '/favorite/bangumi' ,
108
- } ,
109
96
] ,
110
97
} ,
111
98
{
Original file line number Diff line number Diff line change @@ -85,9 +85,9 @@ const LikeButton = () => {
85
85
>
86
86
< m . i
87
87
className = { clsxm (
88
- 'icon-[mingcute--heart-fill] text-[24px] opacity-80 duration-200 hover:text-uk-red-light hover:opacity-100' ,
89
-
90
- isLiked && 'text-uk-red-light' ,
88
+ 'text-[24px] opacity-80 duration-200 hover:text-uk-red-light hover:opacity-100' ,
89
+ ! isLiked && 'icon-[mingcute--heart-line]' ,
90
+ isLiked && 'icon-[mingcute--heart-fill] text-uk-red-light' ,
91
91
) }
92
92
animate = { control }
93
93
variants = { {
@@ -143,7 +143,7 @@ const ShareButton = () => {
143
143
}
144
144
} }
145
145
>
146
- < i className = "icon-[mingcute--share-forward-fill ] text-[24px] opacity-80 duration-200 hover:text-uk-cyan-light hover:opacity-100" />
146
+ < i className = "icon-[mingcute--share-forward-line ] text-[24px] opacity-80 duration-200 hover:text-uk-cyan-light hover:opacity-100" />
147
147
</ MotionButtonBase >
148
148
)
149
149
}
Original file line number Diff line number Diff line change 1
- export * from './NoteTimeline'
1
+ export * from './NoteActionAside'
2
+ export * from './NoteBanner'
3
+ export * from './NoteFooterNavigation'
4
+ export * from './NoteHideIfSecret'
2
5
export * from './NoteLeftSidebar'
6
+ export * from './NoteMainContainer'
7
+ export * from './NoteMetaBar'
8
+ export * from './NotePasswordForm'
9
+ export * from './NoteTimeline'
10
+ export * from './NoteTopic'
11
+ export * from './NoteTopicDetail'
3
12
export * from './NoteTopicInfo'
13
+ export * from './NoteTopicMarkdownRender'
Original file line number Diff line number Diff line change 2
2
3
3
import { m , useAnimationControls , useForceUpdate } from 'framer-motion'
4
4
5
- import { IonThumbsup } from '~/components/icons/thumbs-up'
5
+ import { ThumbsupIcon } from '~/components/icons/thumbs-up'
6
6
import { MotionButtonBase } from '~/components/ui/button'
7
7
import { useIsClient } from '~/hooks/common/use-is-client'
8
8
import { routeBuilder , Routes } from '~/lib/route-builder'
@@ -59,9 +59,7 @@ const LikeButton = () => {
59
59
className = "flex flex-col space-y-2"
60
60
onClick = { ( ) => {
61
61
handleLike ( )
62
- control . start ( 'tap' , {
63
- repeat : 5 ,
64
- } )
62
+ control . start ( 'tap' )
65
63
toast ( '捕捉一只大佬!' , undefined , {
66
64
iconElement : (
67
65
< m . i
@@ -73,7 +71,7 @@ const LikeButton = () => {
73
71
scale : 1.22 ,
74
72
} }
75
73
>
76
- < IonThumbsup />
74
+ < ThumbsupIcon />
77
75
</ m . i >
78
76
) ,
79
77
} )
@@ -95,7 +93,7 @@ const LikeButton = () => {
95
93
easings : [ 'easeInOut' ] ,
96
94
} }
97
95
>
98
- < IonThumbsup />
96
+ < ThumbsupIcon />
99
97
</ m . i >
100
98
</ MotionButtonBase >
101
99
)
@@ -142,7 +140,7 @@ const ShareButton = () => {
142
140
}
143
141
} }
144
142
>
145
- < i className = "icon-[mingcute--share-forward-fill ] text-[24px] opacity-80 duration-200 hover:text-uk-cyan-light hover:opacity-100" />
143
+ < i className = "icon-[mingcute--share-forward-line ] text-[24px] opacity-80 duration-200 hover:text-uk-cyan-light hover:opacity-100" />
146
144
</ MotionButtonBase >
147
145
)
148
146
}
Original file line number Diff line number Diff line change
1
+ export * from './PostActionAside'
2
+ export * from './PostCopyright'
3
+ export * from './PostItem'
4
+ export * from './PostItemHoverOverlay'
5
+ export * from './PostMetaBar'
6
+ export * from './PostOutdate'
7
+ export * from './PostPagination'
8
+ export * from './PostPinIcon'
9
+ export * from './PostRelated'
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ const DonateButtonInternal: Component<HTMLMotionProps<'button'>> = ({
117
117
} }
118
118
{ ...props }
119
119
>
120
- < i className = "icon-[material-symbols--coffee] text-[24px] opacity-80 duration-200 hover:text-uk-brown-dark hover:opacity-100" />
120
+ < i className = "icon-[material-symbols--coffee-outline-sharp ] text-[24px] opacity-80 duration-200 hover:text-uk-brown-dark hover:opacity-100" />
121
121
</ MotionButtonBase >
122
122
)
123
123
}
Original file line number Diff line number Diff line change
1
+ export * from './SubscribeBell'
2
+ export * from './SubscribeModal'
3
+ export * from './hooks'
You can’t perform that action at this time.
0 commit comments