@@ -5,7 +5,7 @@ import { config } from '@/config/notion';
55import { Post , PostType } from '@/models/post.model' ;
66import { QueryDatabaseResponse } from '@notionhq/client/build/src/api-endpoints' ;
77import { config as notionConfig } from '@/config/notion' ;
8- import { Site } from '@/models/site.model' ;
8+ import { Site , SocialType } from '@/models/site.model' ;
99import { Tag } from '@/models/tag.model' ;
1010import { NotionBlock } from '@9gustin/react-notion-render' ;
1111import { getCloudinaryPublicId } from '@/utils/cloudinary/cloudinary' ;
@@ -1094,35 +1094,35 @@ export const getSite = () => {
10941094 socialLinks : [
10951095 {
10961096 href : 'https://discord.com/invite/vM2bagU' ,
1097- type : ' discord' ,
1097+ type : SocialType . discord ,
10981098 } ,
10991099 // {
11001100 // href: 'https://www.facebook.com/groups/codingcatdev',
11011101 // type: 'facebook',
11021102 // },
11031103 {
11041104 href : 'https://github.com/sponsors/CodingCatDev' ,
1105- type : ' github' ,
1105+ type : SocialType . github ,
11061106 } ,
11071107 {
11081108 href : 'https://www.linkedin.com/company/codingcatdev/' ,
1109- type : 'LinkedIn' ,
1109+ type : SocialType . linkedin ,
11101110 } ,
11111111 // {
11121112 // href: 'https://medium.com/codingcatdev',
11131113 // type: 'medium',
11141114 // },
11151115 {
11161116 href : 'https://twitter.com/CodingCatDev' ,
1117- type : 'Twitter' ,
1117+ type : SocialType . twitter ,
11181118 } ,
11191119 {
11201120 href : 'https://twitch.tv/codingcatdev' ,
1121- type : ' twitch' ,
1121+ type : SocialType . twitch ,
11221122 } ,
11231123 {
11241124 href : 'https://youtube.com/c/codingcatdev' ,
1125- type : ' youtube' ,
1125+ type : SocialType . youtube ,
11261126 } ,
11271127 ] ,
11281128 id : 'none' ,
0 commit comments