@@ -70,90 +70,102 @@ export const SUPPORTED_SEARCH_ENGINES = [
7070 } ,
7171]
7272
73- type SupportedCard = {
73+ export type SupportedCard = {
7474 value : string
7575 icon : React . ReactNode
7676 analyticsTag : string
7777 label : string
78+ link : string
7879 component : React . FunctionComponent < CardPropsType >
7980}
8081export const SUPPORTED_CARDS : SupportedCard [ ] = [
8182 {
8283 value : 'github' ,
83- analyticsTag : 'repos ' ,
84+ analyticsTag : 'github ' ,
8485 label : 'Github repositories' ,
8586 component : GithubCard ,
8687 icon : < SiGithub className = "blockHeaderWhite" /> ,
88+ link : 'https://github.com/' ,
8789 } ,
8890 {
8991 value : 'hackernews' ,
9092 icon : < SiYcombinator color = "#FB6720" /> ,
9193 analyticsTag : 'hackernews' ,
9294 label : 'Hackernews' ,
9395 component : HackernewsCard ,
96+ link : 'https://news.ycombinator.com/' ,
9497 } ,
9598 {
9699 value : 'conferences' ,
97100 icon : < HiTicket color = "#4EC8AF" /> ,
98101 analyticsTag : 'events' ,
99102 label : 'Upcoming events' ,
100103 component : ConferencesCard ,
104+ link : 'https://confs.tech/' ,
101105 } ,
102106 {
103107 value : 'devto' ,
104108 icon : < FaDev className = "blockHeaderWhite" /> ,
105109 analyticsTag : 'devto' ,
106110 label : 'DevTo' ,
107111 component : DevtoCard ,
112+ link : 'https://dev.to/' ,
108113 } ,
109114 {
110115 value : 'producthunt' ,
111116 icon : < SiProducthunt color = "#D65736" /> ,
112117 analyticsTag : 'producthunt' ,
113118 label : 'Product Hunt' ,
114119 component : ProductHuntCard ,
120+ link : 'https://producthunt.com/' ,
115121 } ,
116122 {
117123 value : 'reddit' ,
118124 icon : < FaReddit color = "#FF4500" /> ,
119125 analyticsTag : 'reddit' ,
120126 label : 'Reddit' ,
121127 component : RedditCard ,
128+ link : 'https://reddit.com/' ,
122129 } ,
123130 {
124131 value : 'lobsters' ,
125132 icon : < img alt = "lobsters" src = { LobstersIcon } /> ,
126133 analyticsTag : 'lobsters' ,
127134 label : 'Lobsters' ,
128135 component : LobstersCard ,
136+ link : 'https://lobste.rs/' ,
129137 } ,
130138 {
131139 value : 'hashnode' ,
132140 icon : < img alt = "hn" src = { HashNodeIcon } /> ,
133141 analyticsTag : 'hashnode' ,
134142 label : 'Hashnode' ,
135143 component : HashnodeCard ,
144+ link : 'https://hashnode.com/' ,
136145 } ,
137146 {
138147 value : 'freecodecamp' ,
139148 icon : < FaFreeCodeCamp className = "blockHeaderWhite" /> ,
140149 analyticsTag : 'freecodecamp' ,
141150 label : 'FreeCodeCamp' ,
142151 component : FreecodecampCard ,
152+ link : 'https://freecodecamp.com/news' ,
143153 } ,
144154 {
145155 value : 'indiehackers' ,
146156 icon : < CgIndieHackers className = "blockHeaderWhite" /> ,
147157 analyticsTag : 'indiehackers' ,
148158 label : 'IndieHackers' ,
149159 component : IndiehackersCard ,
160+ link : 'https://indiehackers.com/' ,
150161 } ,
151162 {
152163 value : 'medium' ,
153164 icon : < FaMediumM /> ,
154165 analyticsTag : 'medium' ,
155166 label : 'Medium' ,
156167 component : MediumCard ,
168+ link : 'https://medium.com/' ,
157169 } ,
158170]
159171
0 commit comments