1
1
import { sortBy } from "../utils/jsUtils" ;
2
-
2
+ import { Users } from "./userData" ;
3
3
export type Tag = {
4
4
label : string ;
5
5
description : string ;
@@ -170,146 +170,12 @@ export const Tags: { [type in TagType]: Tag } = {
170
170
} ,
171
171
} ;
172
172
173
- const Users : User [ ] = [
174
- {
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" ] ,
182
- } ,
183
- {
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" ] ,
191
- } ,
192
- {
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" ] ,
200
- } ,
201
-
202
- {
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" ] ,
210
- } ,
211
-
212
- {
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" ] ,
238
- } ,
239
- {
240
- title : "Scientific Calculator" ,
241
- description :
242
- "Build and Deploy a Modern and Beginner-friendly Scientific Calculator using HTML, CSS and Vanilla Javascript" ,
243
- preview : require ( "./showcase/calculator-app.png" ) ,
244
- website : "https://calcu-plus.vercel.app/" ,
245
- source : "https://github.com/ParnaRoyChowdhury777/Calculator---CalcuPlus" ,
246
- tags : [ "opensource" , "clone" , "html" , "css" , "vanilla" ] ,
247
- } ,
248
- {
249
- title : "Random Meme Generator" ,
250
- description :
251
- "It generates random memes by using the technique of API Fetching and also supports the feature of sharing the memes." ,
252
- preview : require ( "./showcase/meme.png" ) ,
253
- website : "https://giggle-hub.vercel.app/" ,
254
- source : "https://github.com/komal-agarwal5/Giggle-Hub------Meme-Generator" ,
255
- tags : [ "opensource" , "product" , "html" , "css" , "javascript" ] ,
256
- } ,
257
- {
258
- title : "Age Calculator" ,
259
- description :
260
- "It calculates the exact age in years, months and days on entering a date of birth with proper error handling." ,
261
- preview : require ( "./showcase/age-calculator.png" ) ,
262
- website : "https://age-calculator-rho-two.vercel.app/" ,
263
- source : "https://github.com/ParnaRoyChowdhury777/Age-Calculator" ,
264
- tags : [ "opensource" , "product" , "react" , "css" , "javascript" ] ,
265
- } ,
266
- {
267
- title : "To Do List App" ,
268
- description :
269
- "A simple To-Do List App using HTML CSS JS . Add your tasks and manage them easily , mark your task as completed or incomplete " ,
270
- preview : require ( "./showcase/todolist.png" ) ,
271
- website :
272
- "https://50-days-50-web-project.vercel.app/TO_DO_LIST/todolist.html" ,
273
- source :
274
- "https://github.com/dhairyagothi/50_days_50_web_project/tree/Main/public/TO_DO_LIST" ,
275
- tags : [ "html" , "css" , "javascript" ] ,
276
- } ,
277
- {
278
- title : "Currency Converter" ,
279
- description :
280
- "It allows users to convert between different currencies. It fetches live exchange rates from an API and performs conversions accordingly." ,
281
- preview : require ( "./showcase/currency.png" ) ,
282
- website : "https://coinshift-currency-converter.vercel.app/" ,
283
- source : "https://github.com/komal-agarwal5/CoinShift-Currency-Converter" ,
284
- tags : [ "opensource" , "product" , "react" , "css" , "javascript" ] ,
285
- } ,
286
- {
287
- title : "Guess The Number Game" ,
288
- description :
289
- "It allows users to play the Guess The Number Game based on the choice of Easy(3 rounds), Intermediate(5 rounds) and Hard(7 rounds)." ,
290
- preview : require ( "./showcase/guessnumber.png" ) ,
291
- website : "https://guess-me-tau.vercel.app/" ,
292
- source : "https://github.com/ParnaRoyChowdhury777/Guess_The_Number_Game" ,
293
- tags : [ "opensource" , "product" , "html" , "css" , "javascript" , "vanilla" ] ,
294
- } ,
295
- {
296
- title : "QR Generator" ,
297
- description : "It generates a QR code based on a typed text or URL." ,
298
- preview : require ( "./showcase/qr_generator.png" ) ,
299
- website : "https://scan--me.vercel.app/" ,
300
- source : "https://github.com/ParnaRoyChowdhury777/ScanMe" ,
301
- tags : [ "opensource" , "product" , "html" , "css" , "javascript" , "vanilla" ] ,
302
- } ,
303
- ] ;
304
-
305
173
export const TagList = Object . keys ( Tags ) as TagType [ ] ;
306
174
function sortUsers ( ) {
307
175
let result = Users ;
308
- // Sort by site name
309
176
result = sortBy ( result , ( user ) => user . title . toLowerCase ( ) ) ;
310
- // Sort by favorite tag, favorites first
311
177
result = sortBy ( result , ( user ) => ! user . tags . includes ( "favorite" ) ) ;
312
178
return result ;
313
179
}
314
180
315
- export const sortedUsers = sortUsers ( ) ;
181
+ export const sortedUsers = sortUsers ( ) ;
0 commit comments