Skip to content

Commit

Permalink
feat: make ascii art
Browse files Browse the repository at this point in the history
  • Loading branch information
halfmoon-mind committed Jun 29, 2023
1 parent 5462992 commit 11e759d
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions source/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { Box, Text } from 'ink';
import { Box, Text, Newline } from 'ink';
import Enquirer from 'enquirer';

const App = () => {
Expand All @@ -17,15 +17,16 @@ const App = () => {
}, []);


return name ? (
<Box>
<Text>Hello, {name}!</Text>
</Box>
) : (
<Box>
<Text>Welcome to our CLI App. Please input your name.</Text>
</Box>
);
return (
<Text>
<Text> __ __ __ __ ____ ____ ____ ____________________<Newline/></Text>
<Text> / / / /___ ____/ /___ _/ /____ / __ \/ __ \/ __ \ / / ____/ ____/_ __/<Newline/></Text>
<Text> / / / / __ \______/ __ / __ `/ __/ _ \ / /_/ / /_/ / / / /_ / / __/ / / / / <Newline/></Text>
<Text>/ /_/ / /_/ /_____/ /_/ / /_/ / /_/ __/ / ____/ _, _/ /_/ / /_/ / /___/ /___ / / <Newline/></Text>
<Text>\____/ .___/ \__,_/\__,_/\__/\___/ /_/ /_/ |_|\____/\____/_____/\____/ /_/ <Newline/></Text>
<Text> /_/ <Newline/></Text>
</Text>
);
};

export default App;

0 comments on commit 11e759d

Please sign in to comment.