Convert Bootstrap Template to Blazor (Part 7)
This is part 7 in my 7-part series on how to move a free Bootstrap Template and make a Blazor application out of it. You can read about the other post here: 1. Part 1 – Create project and Copy over assets 2. Part 2 - Navigation 3. Part 3 – Header and Footer 4. Part 4 – About and Copyright 5. Part 5 – Contact Me 6. Part 6 - Portfolio In this post we will be refactoring the button at the bottom of the page on the phone window size and providing a summary of this series. Goto Top Button This bottom allows the user to go back to the top. This is the button: As it turns out this refactor was less than expected. We just had to create a new component, like we did on the other post. We move the HTML code over into the new component. There was an inline style that was moved to the CSS file. We removed a JS script call to detected when to show the button, we just show it when the media type is meet. Here is the code: <!-- Scroll to ...