Skip to content

Commit 4ea6274

Browse files
committed
feat: new apps
1 parent bf20a19 commit 4ea6274

File tree

2 files changed

+120
-5
lines changed

2 files changed

+120
-5
lines changed

src/components/AnimatedRoutes.js

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ import IpPage from '../pages/apps/IpPage';
2121
import WordCounterPage from '../pages/apps/WordCounterPage';
2222
import TournamentBracketPage from '../pages/apps/TournamentBracketPage';
2323
import CaseConverterPage from '../pages/apps/CaseConverterPage';
24+
import Base64ConverterPage from '../pages/apps/Base64ConverterPage';
25+
import UrlConverterPage from '../pages/apps/UrlConverterPage';
26+
import AsciiConverterPage from '../pages/apps/AsciiConverterPage';
27+
import HashGeneratorPage from '../pages/apps/HashGeneratorPage';
28+
import UuidGeneratorPage from '../pages/apps/UuidGeneratorPage';
29+
import ColorPaletteGeneratorPage from '../pages/apps/ColorPaletteGeneratorPage';
2430

2531
import UsefulLinksPage from '../pages/UsefulLinksPage';
2632

@@ -345,6 +351,90 @@ function AnimatedRoutes() {
345351
</motion.div>
346352
}
347353
/>
354+
<Route
355+
path="/apps/base64-converter"
356+
element={
357+
<motion.div
358+
initial="initial"
359+
animate="in"
360+
exit="out"
361+
variants={pageVariants}
362+
transition={pageTransition}
363+
>
364+
<Base64ConverterPage />
365+
</motion.div>
366+
}
367+
/>
368+
<Route
369+
path="/apps/url-converter"
370+
element={
371+
<motion.div
372+
initial="initial"
373+
animate="in"
374+
exit="out"
375+
variants={pageVariants}
376+
transition={pageTransition}
377+
>
378+
<UrlConverterPage />
379+
</motion.div>
380+
}
381+
/>
382+
<Route
383+
path="/apps/ascii-converter"
384+
element={
385+
<motion.div
386+
initial="initial"
387+
animate="in"
388+
exit="out"
389+
variants={pageVariants}
390+
transition={pageTransition}
391+
>
392+
<AsciiConverterPage />
393+
</motion.div>
394+
}
395+
/>
396+
<Route
397+
path="/apps/hash-generator"
398+
element={
399+
<motion.div
400+
initial="initial"
401+
animate="in"
402+
exit="out"
403+
variants={pageVariants}
404+
transition={pageTransition}
405+
>
406+
<HashGeneratorPage />
407+
</motion.div>
408+
}
409+
/>
410+
<Route
411+
path="/apps/uuid-generator"
412+
element={
413+
<motion.div
414+
initial="initial"
415+
animate="in"
416+
exit="out"
417+
variants={pageVariants}
418+
transition={pageTransition}
419+
>
420+
<UuidGeneratorPage />
421+
</motion.div>
422+
}
423+
/>
424+
<Route
425+
path="/apps/color-palette-generator"
426+
element={
427+
<motion.div
428+
initial="initial"
429+
animate="in"
430+
exit="out"
431+
variants={pageVariants}
432+
transition={pageTransition}
433+
>
434+
<ColorPaletteGeneratorPage />
435+
</motion.div>
436+
}
437+
/>
348438
{/* D&D specific 404 page */}
349439
<Route
350440
path="/dnd/*"

src/pages/AppPage.js

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,36 @@ const apps = [
2020
title: 'Case Converter',
2121
description: 'Convert text to different cases (e.g., uppercase, lowercase, camelCase).',
2222
},
23-
// {
24-
// to: '/apps/ip',
25-
// title: 'Show my IP',
26-
// description: 'Display your public IP address.',
27-
// },
23+
{
24+
to: '/apps/base64-converter',
25+
title: 'Base64 Converter',
26+
description: 'Encode and decode text to and from Base64 format.',
27+
},
28+
{
29+
to: '/apps/url-converter',
30+
title: 'URL Encoder/Decoder',
31+
description: 'Encode and decode URL strings.',
32+
},
33+
{
34+
to: '/apps/ascii-converter',
35+
title: 'Text to ASCII Converter',
36+
description: 'Convert text to ASCII codes and vice-versa.',
37+
},
38+
{
39+
to: '/apps/hash-generator',
40+
title: 'Hash Generator',
41+
description: 'Generate SHA1, SHA256, and SHA512 hashes from text.',
42+
},
43+
{
44+
to: '/apps/uuid-generator',
45+
title: 'UUID Generator',
46+
description: 'Generate UUID v4.',
47+
},
48+
{
49+
to: '/apps/color-palette-generator',
50+
title: 'Color Palette Generator',
51+
description: 'Generate random color palettes.',
52+
},
2853
];
2954

3055
function AppPage() {

0 commit comments

Comments
 (0)