diff --git a/src/components/ToolHeader.tsx b/src/components/ToolHeader.tsx index 188ed78..570f11b 100644 --- a/src/components/ToolHeader.tsx +++ b/src/components/ToolHeader.tsx @@ -1,4 +1,4 @@ -import { Box, Stack } from '@mui/material'; +import { Button, Box, Stack } from '@mui/material'; import Typography from '@mui/material/Typography'; interface ToolHeaderProps { @@ -7,6 +7,22 @@ interface ToolHeaderProps { image?: string; } +function ToolLinks() { + return ( + + + + + + ); +} + export default function ToolHeader({ image, title, @@ -19,6 +35,7 @@ export default function ToolHeader({ {title} {description} + {image && } diff --git a/src/components/input/ToolTextInput.tsx b/src/components/input/ToolTextInput.tsx index ff98536..bb661e7 100644 --- a/src/components/input/ToolTextInput.tsx +++ b/src/components/input/ToolTextInput.tsx @@ -44,7 +44,7 @@ export default function ToolTextInput({ fileInputRef.current?.click(); }; return ( - + {title} diff --git a/src/pages/string/join/service.ts b/src/pages/string/join/service.ts index 91d96d4..d67f677 100644 --- a/src/pages/string/join/service.ts +++ b/src/pages/string/join/service.ts @@ -11,8 +11,6 @@ export function mergeText( deleteTrailingSpaces ? line.replace(/ |\r\n|\n|\r/gm, '') : line ) .filter((line) => !deleteBlankLines || line.trim() !== ''); - - // Join lines and remove spaces right after each line return processedLines.join(joinCharacter); }