Skip to content

Commit 6ec5cca

Browse files
authored
feat(ccra): Update welcome design (#83)
Change to a design that's not dependent on character width alignment
1 parent 47a4d94 commit 6ec5cca

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

β€Žpackages/create-cedar-app/src/create-cedar-app.jsβ€Ž

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -691,11 +691,13 @@ async function createRedwoodApp() {
691691

692692
tui.drawText(
693693
[
694-
`${RedwoodStyling.redwood('-'.repeat(66))}`,
695-
`-- ${' '.repeat(14)}🌲🌲 ${RedwoodStyling.header(
696-
'Welcome to CedarJS!',
697-
)} 🌲🌲${' '.repeat(14)} --`,
698-
`${RedwoodStyling.redwood('-'.repeat(66))}`,
694+
'',
695+
'🌲🌲🌲🌲🌲',
696+
'🌲🌲',
697+
`🌲🌲 ${RedwoodStyling.header('Welcome to CedarJS!')}`,
698+
'🌲🌲',
699+
'🌲🌲🌲🌲🌲',
700+
'',
699701
].join('\n'),
700702
)
701703

β€Žpackages/create-cedar-app/tests/e2e.test.tsβ€Ž

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,13 @@ describe('create-cedar-app', () => {
5959

6060
expect(p.exitCode).toEqual(0)
6161
expect(p.stdout).toMatchInlineSnapshot(`
62-
"------------------------------------------------------------------
63-
-- 🌲🌲 Welcome to CedarJS! 🌲🌲 --
64-
------------------------------------------------------------------
62+
"
63+
🌲🌲🌲🌲🌲
64+
🌲🌲
65+
🌲🌲 Welcome to CedarJS!
66+
🌲🌲
67+
🌲🌲🌲🌲🌲
68+
6569
[?25lβ ‹ Checking node and yarn compatibility
6670
[?25h[?25lβœ” Compatibility checks passed
6771
[?25hβœ” Creating your Redwood app in ./redwood-app based on command line argument

0 commit comments

Comments
Β (0)