You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: more socialLinks
* feat: hidden social links component
* feat: social links text mode
* feat: social links img mode
* feat: separate social component
* feat: social links usage
* fix: social links gap
- for `link mode`, click the icon will jump to preset link.
136
+
- for `text mode`, hover the icon will show a popper, which contain the preset content.
137
+
- for `img mode`, hover the icon will show a popper, which contain the preset image. Need to be aware that, the image should put in the `public` folder.
138
+
139
+
Social links support the following icons:
140
+
141
+
```ts
142
+
exporttypeSocialLinkIcon=
143
+
|'discord'
144
+
|'facebook'
145
+
|'github'
146
+
|'instagram'
147
+
|'linkedin'
148
+
|'slack'
149
+
|'twitter'
150
+
|'youtube'
151
+
|'weixin'
152
+
|'qq'
153
+
|'juejin'
154
+
|'zhihu'
155
+
|'bilibili'
156
+
|'weibo'
157
+
| { svg:string };
158
+
```
159
+
160
+
If you want to use other icon, you can pass in an object that have the `svg` key, for example:
0 commit comments