Skip to content

Commit

Permalink
demo improvements (t3-oss#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-ehrlich authored Oct 16, 2022
1 parent a09831a commit c8fe746
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions www/src/components/landingPage/cli.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ export default function CodeCard() {
cursor={{ show: false }}
avgTypingDelay={-500}
>
<div className="flex whitespace-nowrap">
<div>
? What will your project be called? (my-t3-app)
<Typist.Delay ms={500} />
<Typist
cursor={{ hideWhenDone: true, hideWhenDoneDelay: 0 }}
avgTypingDelay={50}
className="pl-1 text-blue-400"
className="inline pl-1 text-blue-400"
>
my-t3-app
</Typist>
Expand Down Expand Up @@ -170,16 +170,18 @@ export default function CodeCard() {
avgTypingDelay={-10000}
className="translate-y-[-10rem] sm:translate-y-[-10.5rem] md:translate-y-[-10rem] lg:translate-y-[-10rem]"
>
<div className="flex whitespace-nowrap">
<span>? Would you like us to run npm install? (Y/n)</span>
<div>
<span className="whitespace">
? Would you like us to run npm install? (Y/n)
</span>
<Typist.Delay ms={1000} />
<Typist
cursor={{ hideWhenDone: true, hideWhenDoneDelay: 0 }}
className="pl-2 text-blue-400"
className="inline pl-2 text-blue-400"
avgTypingDelay={-10000}
>
y
<Typist.Backspace count={1} delay={1000} />
<Typist.Backspace count={1} delay={500} />
<span className="text-blue-400">Yes</span>
</Typist>
</div>
Expand Down

0 comments on commit c8fe746

Please sign in to comment.