Click on logo = reload

This commit is contained in:
Niek van der Maas 2023-03-03 15:25:47 +01:00
parent 3c778e5a91
commit ae01da3556
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<nav class="navbar" aria-label="main navigation"> <nav class="navbar" aria-label="main navigation">
<div class="navbar-brand"> <div class="navbar-brand">
<a class="navbar-item" href="/"> <a class="navbar-item" href={"#"} on:click|preventDefault={() => (window.location = window.location)}>
<img src={logo} alt="ChatGPT-web" width="28" height="28" /> <img src={logo} alt="ChatGPT-web" width="28" height="28" />
<p class="ml-2 is-size-4 has-text-weight-bold">ChatGPT-web</p> <p class="ml-2 is-size-4 has-text-weight-bold">ChatGPT-web</p>
</a> </a>