mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
refactor: remove SocialObjects type and update SocialObjects type
- remove SocialMedia type from src/types.ts - generate each social icon type from socialIcons object instead
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import type { SocialIcons } from "../types";
|
||||
|
||||
const socialIcons: SocialIcons = {
|
||||
const socialIcons = {
|
||||
Github: `<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
class="icon-tabler"
|
||||
|
||||
Reference in New Issue
Block a user