Skip to content

Commit 21ee0a7

Browse files
committed
chore: show new tools in landing
1 parent d487fa1 commit 21ee0a7

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

.idea/workspace.xml

Lines changed: 3 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Hero.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ const exampleTools: { label: string; url: string }[] = [
1919
{ label: 'Sort a list', url: '/list/sort' },
2020
{ label: 'Compress PNG', url: '/png/compress-png' },
2121
{ label: 'Split a text', url: '/string/split' },
22-
{ label: 'Calculate number sum', url: '/number/sum' },
23-
{ label: 'Shuffle a list', url: '/list/shuffle' },
24-
{ label: 'Change colors in image', url: '/png/change-colors-in-png' }
22+
{ label: 'Split PDF', url: '/pdf/split-pdf' },
23+
{ label: 'Trim video', url: '/video/trim' },
24+
{ label: 'Calculate number sum', url: '/number/sum' }
2525
];
2626
export default function Hero() {
2727
const [inputValue, setInputValue] = useState<string>('');

src/tools/index.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ export const tools: DefinedTool[] = [
1616
...imageTools,
1717
...stringTools,
1818
...jsonTools,
19+
...pdfTools,
1920
...listTools,
2021
...csvTools,
2122
...videoTools,
2223
...numberTools,
23-
...timeTools,
24-
...pdfTools
24+
...timeTools
2525
];
2626
const categoriesConfig: {
2727
type: ToolCategory;
@@ -91,6 +91,11 @@ const categoriesConfig: {
9191
'Tools for working with time and date – draw clocks and calendars, generate time and date sequences, calculate average time, convert between time zones, and much more.'
9292
}
9393
];
94+
// use for changelogs
95+
// console.log(
96+
// 'tools',
97+
// tools.map(({ name, type }) => ({ type, name }))
98+
// );
9499
export const filterTools = (
95100
tools: DefinedTool[],
96101
query: string

0 commit comments

Comments
 (0)