Skip to content

Commit

Permalink
Resolved the style
Browse files Browse the repository at this point in the history
  • Loading branch information
gncube committed Jan 8, 2024
1 parent 78f13b9 commit 623c724
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Client/Components/Pages/Home.razor
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
<select class="form-select"></select>
</div>


Welcome to your new app.
<div class="container">
Welcome to your new app.
</div>

<script>
fetch('https://bootswatch.com/api/5.json')
Expand All @@ -35,6 +36,7 @@ Welcome to your new app.
const theme = themes[e.target.value];
document.querySelector('#theme').setAttribute('href', theme.css);
document.querySelector('.alert h1').textContent = theme.name;
document.querySelector('.alert p').textContent = theme.description;
});
const changeEvent = new Event('change');
Expand Down

0 comments on commit 623c724

Please sign in to comment.