From 11e759d1964ab4979c3b7b13d4c6b22f5541b82b Mon Sep 17 00:00:00 2001 From: White-Patrasche <5338095@gmail.com> Date: Fri, 30 Jun 2023 02:24:41 +0900 Subject: [PATCH] feat: make ascii art --- source/app.js | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/source/app.js b/source/app.js index a850b0c..3709cdc 100644 --- a/source/app.js +++ b/source/app.js @@ -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 = () => { @@ -17,15 +17,16 @@ const App = () => { }, []); - return name ? ( - - Hello, {name}! - - ) : ( - - Welcome to our CLI App. Please input your name. - - ); + return ( + + __ __ __ __ ____ ____ ____ ____________________ + / / / /___ ____/ /___ _/ /____ / __ \/ __ \/ __ \ / / ____/ ____/_ __/ + / / / / __ \______/ __ / __ `/ __/ _ \ / /_/ / /_/ / / / /_ / / __/ / / / / + / /_/ / /_/ /_____/ /_/ / /_/ / /_/ __/ / ____/ _, _/ /_/ / /_/ / /___/ /___ / / + \____/ .___/ \__,_/\__,_/\__/\___/ /_/ /_/ |_|\____/\____/_____/\____/ /_/ + /_/ + + ); }; export default App; \ No newline at end of file