1
- import { sortBy } from ' ../utils/jsUtils' ;
1
+ import { sortBy } from " ../utils/jsUtils" ;
2
2
3
3
export type Tag = {
4
4
label : string ;
@@ -7,28 +7,29 @@ export type Tag = {
7
7
} ;
8
8
9
9
export type TagType =
10
- | 'html'
11
- | 'css'
12
- | 'javascript'
13
- | 'react'
14
- | 'nodejs'
15
- | 'mongodb'
16
- | 'favorite'
17
- | 'opensource'
18
- | 'product'
19
- | 'design'
20
- | 'i18n'
21
- | 'versioning'
22
- | 'large'
23
- | 'meta'
24
- | 'personal'
25
- | 'templates'
26
- | 'portfolio'
27
- | 'nextjs'
28
- | 'vanilla'
29
- | 'typescript'
30
- | 'ai'
31
- | 'clone' ;
10
+ | "html"
11
+ | "css"
12
+ | "javascript"
13
+ | "react"
14
+ | "nodejs"
15
+ | "mongodb"
16
+ | "favorite"
17
+ | "opensource"
18
+ | "product"
19
+ | "design"
20
+ | "i18n"
21
+ | "versioning"
22
+ | "large"
23
+ | "meta"
24
+ | "personal"
25
+ | "templates"
26
+ | "portfolio"
27
+ | "nextjs"
28
+ | "vanilla"
29
+ | "typescript"
30
+ | "ai"
31
+ | "game"
32
+ | "clone" ;
32
33
33
34
export type User = {
34
35
title : string ;
@@ -41,190 +42,199 @@ export type User = {
41
42
42
43
export const Tags : { [ type in TagType ] : Tag } = {
43
44
html : {
44
- label : 'HTML' ,
45
- description :
46
- '' ,
47
- color : '#f06529' ,
45
+ label : "HTML" ,
46
+ description : "" ,
47
+ color : "#f06529" ,
48
48
} ,
49
49
css : {
50
- label : 'CSS' ,
51
- description :
52
- '' ,
53
- color : '#2965f1' ,
50
+ label : "CSS" ,
51
+ description : "" ,
52
+ color : "#2965f1" ,
54
53
} ,
55
54
javascript : {
56
- label : 'JavaScript' ,
57
- description :
58
- '' ,
59
- color : '#f0db4f' ,
55
+ label : "JavaScript" ,
56
+ description : "" ,
57
+ color : "#f0db4f" ,
60
58
} ,
61
59
vanilla : {
62
- label : 'Vanilla' ,
63
- description :
64
- '' ,
65
- color : '#f0db4f' ,
60
+ label : "Vanilla" ,
61
+ description : "" ,
62
+ color : "#f0db4f" ,
66
63
} ,
67
64
react : {
68
- label : 'React.js' ,
69
- description :
70
- '' ,
71
- color : '#61dafb' ,
65
+ label : "React.js" ,
66
+ description : "" ,
67
+ color : "#61dafb" ,
72
68
} ,
73
69
nextjs : {
74
- label : 'Next.js' ,
75
- description :
76
- '' ,
77
- color : '#000000' ,
70
+ label : "Next.js" ,
71
+ description : "" ,
72
+ color : "#000000" ,
78
73
} ,
79
74
typescript : {
80
- label : 'TypeScript' ,
81
- description :
82
- '' ,
83
- color : '#007acc' ,
75
+ label : "TypeScript" ,
76
+ description : "" ,
77
+ color : "#007acc" ,
84
78
} ,
85
79
nodejs : {
86
- label : 'Node.js' ,
87
- description :
88
- '' ,
89
- color : '#026e00' ,
80
+ label : "Node.js" ,
81
+ description : "" ,
82
+ color : "#026e00" ,
90
83
} ,
91
84
92
85
mongodb : {
93
- label : 'MongoDB' ,
94
- description :
95
- '' ,
96
- color : '#13aa52' ,
86
+ label : "MongoDB" ,
87
+ description : "" ,
88
+ color : "#13aa52" ,
97
89
} ,
98
90
99
91
favorite : {
100
- label : 'Favorite' ,
101
- description :
102
- '' ,
103
- color : '#f06529' ,
92
+ label : "Favorite" ,
93
+ description : "" ,
94
+ color : "#f06529" ,
104
95
} ,
105
96
opensource : {
106
- label : 'Open-Source' ,
107
- description :
108
- '' ,
109
- color : '#39ca30' ,
97
+ label : "Open-Source" ,
98
+ description : "" ,
99
+ color : "#39ca30" ,
110
100
} ,
111
101
112
102
product : {
113
- label : ' Product' ,
114
- description : '' ,
115
- color : ' #dfd545' ,
103
+ label : " Product" ,
104
+ description : "" ,
105
+ color : " #dfd545" ,
116
106
} ,
117
107
118
108
design : {
119
- label : 'Design' ,
120
- description :
121
- '' ,
122
- color : '#a44fb7' ,
109
+ label : "Design" ,
110
+ description : "" ,
111
+ color : "#a44fb7" ,
123
112
} ,
124
113
125
114
i18n : {
126
- label : 'I18n' ,
127
- description :
128
- '' ,
129
- color : '#127f82' ,
115
+ label : "I18n" ,
116
+ description : "" ,
117
+ color : "#127f82" ,
130
118
} ,
131
119
132
120
versioning : {
133
- label : 'Versioning' ,
134
- description :
135
- '' ,
136
- color : '#fe6829' ,
121
+ label : "Versioning" ,
122
+ description : "" ,
123
+ color : "#fe6829" ,
137
124
} ,
138
125
139
126
large : {
140
- label : 'Large' ,
141
- description :
142
- '' ,
143
- color : '#8c2f00' ,
127
+ label : "Large" ,
128
+ description : "" ,
129
+ color : "#8c2f00" ,
144
130
} ,
145
131
146
132
meta : {
147
- label : ' Meta' ,
148
- description : '' ,
149
- color : ' #4267b2' ,
133
+ label : " Meta" ,
134
+ description : "" ,
135
+ color : " #4267b2" ,
150
136
} ,
151
137
152
138
personal : {
153
- label : 'Personal' ,
154
- description :
155
- '' ,
156
- color : '#14cfc3' ,
139
+ label : "Personal" ,
140
+ description : "" ,
141
+ color : "#14cfc3" ,
157
142
} ,
158
143
159
144
templates : {
160
- label : 'Templates' ,
161
- description :
162
- '' ,
163
- color : '#ffcfc3' ,
145
+ label : "Templates" ,
146
+ description : "" ,
147
+ color : "#ffcfc3" ,
164
148
} ,
165
149
portfolio : {
166
- label : 'portfolio' ,
167
- description :
168
- '' ,
169
- color : '#ff4400' ,
150
+ label : "portfolio" ,
151
+ description : "" ,
152
+ color : "#ff4400" ,
170
153
} ,
171
154
172
155
clone : {
173
- label : ' Clone' ,
174
- description : '' ,
175
- color : ' #004400' ,
156
+ label : " Clone" ,
157
+ description : "" ,
158
+ color : " #004400" ,
176
159
} ,
177
160
178
161
ai : {
179
- label : 'AI' ,
180
- description : '' ,
181
- color : '#007acc' ,
162
+ label : "AI" ,
163
+ description : "" ,
164
+ color : "#007acc" ,
165
+ } ,
166
+ game : {
167
+ label : "Game" ,
168
+ description : "" ,
169
+ color : "#555555" ,
182
170
} ,
183
171
} ;
184
172
185
173
const Users : User [ ] = [
186
-
187
174
{
188
- title : 'You Tube Clone' ,
189
- description : 'Build and Deploy a Modern YouTube Clone Application in React JS with Material UI 5' ,
190
- preview : require ( './showcase/YouTube-Clone.jpg' ) ,
191
- website : 'https://my-youtube-ajay.vercel.app/' ,
192
- source : 'https://github.com/Ajay-Dhangar/youtube_clone' ,
193
- tags : [ 'opensource' , 'clone' , 'favorite' , 'react' ] ,
175
+ title : "You Tube Clone" ,
176
+ description :
177
+ "Build and Deploy a Modern YouTube Clone Application in React JS with Material UI 5" ,
178
+ preview : require ( "./showcase/YouTube-Clone.jpg" ) ,
179
+ website : "https://my-youtube-ajay.vercel.app/" ,
180
+ source : "https://github.com/Ajay-Dhangar/youtube_clone" ,
181
+ tags : [ "opensource" , "clone" , "favorite" , "react" ] ,
194
182
} ,
195
183
{
196
- title : 'Quiz App' ,
197
- description : 'Explore and test your knowledge with the Quiz app. Engaging quizzes to challenge your mind and expand your horizons. Try it now!' ,
198
- preview : require ( './showcase/quiz-app.jpg' ) ,
199
- website : 'https://quiz-app-ajay-dhangar.vercel.app/' ,
200
- source : 'https://github.com/Ajay-Dhangar/Quiz-app' ,
201
- tags : [ 'opensource' , 'clone' , 'templates' ] ,
184
+ title : "Quiz App" ,
185
+ description :
186
+ "Explore and test your knowledge with the Quiz app. Engaging quizzes to challenge your mind and expand your horizons. Try it now!" ,
187
+ preview : require ( "./showcase/quiz-app.jpg" ) ,
188
+ website : "https://quiz-app-ajay-dhangar.vercel.app/" ,
189
+ source : "https://github.com/Ajay-Dhangar/Quiz-app" ,
190
+ tags : [ "opensource" , "clone" , "templates" ] ,
202
191
} ,
203
192
{
204
- title : 'Music App' ,
205
- description : 'Your music, your way. Explore and enjoy a world of tunes with our Spotify-inspired app. 🎶 ' ,
206
- preview : require ( './showcase/music-app.jpg' ) ,
207
- website : 'https://shivay-studio.vercel.app/' ,
208
- source : 'https://github.com/Ajay-Dhangar/music-app' ,
209
- tags : [ 'opensource' , 'clone' , 'templates' ] ,
193
+ title : "Music App" ,
194
+ description :
195
+ "Your music, your way. Explore and enjoy a world of tunes with our Spotify-inspired app. 🎶 " ,
196
+ preview : require ( "./showcase/music-app.jpg" ) ,
197
+ website : "https://shivay-studio.vercel.app/" ,
198
+ source : "https://github.com/Ajay-Dhangar/music-app" ,
199
+ tags : [ "opensource" , "clone" , "templates" ] ,
210
200
} ,
211
201
212
202
{
213
- title : 'TailwindBlog' ,
214
- description : 'The Starter app is a feature-rich Next.js and Tailwind CSS blogging starter template.' ,
215
- preview : require ( './showcase/TailwindBlog.jpg' ) ,
216
- website : 'https://starter-aj-zero-coding.vercel.app/' ,
217
- source : 'https://github.com/Ajay-Dhangar/starter' ,
218
- tags : [ 'opensource' , 'clone' , 'templates' ] ,
203
+ title : "TailwindBlog" ,
204
+ description :
205
+ "The Starter app is a feature-rich Next.js and Tailwind CSS blogging starter template." ,
206
+ preview : require ( "./showcase/TailwindBlog.jpg" ) ,
207
+ website : "https://starter-aj-zero-coding.vercel.app/" ,
208
+ source : "https://github.com/Ajay-Dhangar/starter" ,
209
+ tags : [ "opensource" , "clone" , "templates" ] ,
219
210
} ,
220
211
221
212
{
222
- title : 'GERIGHT' ,
223
- description : 'Experience culinary excellence at Gericht Restaurant: Modern UI, showcasing The Key To Fine Dining.' ,
224
- preview : require ( './showcase/gericht-restaurant-modern-ui.jpg' ) ,
225
- website : 'https://ajay-1.vercel.app/' ,
226
- source : 'https://github.com/Ajay-Dhangar/gericht-restaurant-modern-ui' ,
227
- tags : [ 'opensource' , 'templates' , 'clone' ] ,
213
+ title : "GERIGHT" ,
214
+ description :
215
+ "Experience culinary excellence at Gericht Restaurant: Modern UI, showcasing The Key To Fine Dining." ,
216
+ preview : require ( "./showcase/gericht-restaurant-modern-ui.jpg" ) ,
217
+ website : "https://ajay-1.vercel.app/" ,
218
+ source : "https://github.com/Ajay-Dhangar/gericht-restaurant-modern-ui" ,
219
+ tags : [ "opensource" , "templates" , "clone" ] ,
220
+ } ,
221
+ {
222
+ title : "Tic Tac Toe Game" ,
223
+ description :
224
+ "Tic Tac Toe Game using React JS. Play the game and enjoy the fun." ,
225
+ preview : require ( "./showcase/react-tic-tac-toe.jpg" ) ,
226
+ website : "#" ,
227
+ source : "https://github.com/Ajay-Dhangar/react-tic-tac-toe" ,
228
+ tags : [ "opensource" , "game" , "react" ] ,
229
+ } ,
230
+ {
231
+ title : "Broadcast Web" ,
232
+ description :
233
+ "Broadcast Web is a modern and responsive web application for broadcasting your own channel." ,
234
+ preview : require ( "./showcase/broadcast-web.jpg" ) ,
235
+ website : "https://codeharborhub-broadcast-web.vercel.app/" ,
236
+ source : "" ,
237
+ tags : [ "opensource" , "product" , "nextjs" , "javascript" ] ,
228
238
} ,
229
239
] ;
230
240
@@ -234,8 +244,8 @@ function sortUsers() {
234
244
// Sort by site name
235
245
result = sortBy ( result , ( user ) => user . title . toLowerCase ( ) ) ;
236
246
// Sort by favorite tag, favorites first
237
- result = sortBy ( result , ( user ) => ! user . tags . includes ( ' favorite' ) ) ;
247
+ result = sortBy ( result , ( user ) => ! user . tags . includes ( " favorite" ) ) ;
238
248
return result ;
239
249
}
240
250
241
- export const sortedUsers = sortUsers ( ) ;
251
+ export const sortedUsers = sortUsers ( ) ;
0 commit comments