Skip to content

Commit

Permalink
update guide/workshop default text
Browse files Browse the repository at this point in the history
  • Loading branch information
leomcelroy committed Nov 14, 2023
1 parent 349eba7 commit 6d80b61
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion astro/src/components/Help.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,26 @@ export default function Help({
if (workshop === null) return


if (confirm("Clear text editor?")) loadCodeFromString("");
if (confirm("Clear text editor?")) loadCodeFromString(`// Check the workshop tab to get started
const width = 125;
const height = 125;
setDocDimensions(width, height);
const testTurtle = createTurtle();
testTurtle.forward(100);
testTurtle.translate(
[width/2, height/2],
testTurtle.cc
);
drawTurtles([
testTurtle
]);
`);


const res = await fetch(
Expand Down

1 comment on commit 6d80b61

@vercel
Copy link

@vercel vercel bot commented on 6d80b61 Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blot – ./astro

blot-git-main.hackclub.dev
blot.hackclub.dev

Please sign in to comment.