Skip to content

Commit

Permalink
Merge pull request #2074 from MLHale/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
kategengler authored Dec 17, 2024
2 parents 5aa493b + 6643bdd commit 5b1c0a3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions guides/release/tutorial/part-1/component-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ Let's try it out by editing the index template:
<h2>Welcome to Super Rentals!</h2>
<p>We hope you find exactly what you're looking for in a place to stay.</p>
<LinkTo @route="about" class="button">About Us</LinkTo>
</div>
</Jumbo>
</div>
```

## Refactoring Existing Code
Expand All @@ -90,8 +91,8 @@ Let's do the same for our other two pages as well.
AND building Ember applications.
</p>
<LinkTo @route="contact" class="button">Contact Us</LinkTo>
</div>
</Jumbo>
</div>
```

```handlebars { data-filename="app/templates/contact.hbs" data-diff="-1,-2,+3,-19,+20" }
Expand All @@ -113,8 +114,8 @@ Let's do the same for our other two pages as well.
<a href="mailto:[email protected]">[email protected]</a>
</address>
<LinkTo @route="about" class="button">About</LinkTo>
</div>
</Jumbo>
</div>
```

After saving, everything should look exactly the same as before, and all the tests should still pass. Very nice!
Expand Down

0 comments on commit 5b1c0a3

Please sign in to comment.