Skip to content

Commit 10fafe8

Browse files
committed
Add vibe typer link in controls footer
1 parent 0970892 commit 10fafe8

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

src/components/ControlsPanel/ControlsPanel.tsx

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,22 @@ export function ControlsPanel({
127127
>
128128
Greg Kamradt
129129
</a>
130-
{' '}
131-
<a
132-
href="https://github.com/gkamradt/MultiTerminalCodeViz"
133-
target="_blank"
130+
{' '}
131+
<a
132+
href="https://github.com/gkamradt/MultiTerminalCodeViz"
133+
target="_blank"
134134
rel="noopener noreferrer"
135135
className="text-blue-400 hover:text-blue-300 transition-colors underline"
136136
>
137137
Code
138138
</a>
139+
{' '}
140+
<a
141+
href="/typer"
142+
className="text-blue-400 hover:text-blue-300 transition-colors underline"
143+
>
144+
use the vibe typer
145+
</a>
139146
</p>
140147
</div>
141148
</div>

src/components/ControlsPanel/__tests__/ControlsPanel.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ describe('ControlsPanel', () => {
3232
expect(screen.getByText('Arrange')).toBeInTheDocument();
3333
expect(screen.getByText(/Theme:/)).toBeInTheDocument();
3434
expect(screen.getByText(/Made with by/)).toBeInTheDocument();
35+
expect(screen.getByRole('link', { name: /use the vibe typer/i })).toBeInTheDocument();
3536
});
3637

3738
it('should call onTerminalCountChange when + button is clicked', () => {

0 commit comments

Comments
 (0)