commit
This commit is contained in:
parent
b527ac15a7
commit
84dc769e88
1 changed files with 1 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ void RenderRoot(const std::string_view route) {
|
|||
Catcrafts.net
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a id="blog-nav-button">Blog</a></li>
|
||||
<li><a id="blog-nav-button" style="cursor: pointer;">Blog</a></li>
|
||||
<li><a href="https://forgejo.catcrafts.net/">Forgejo</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
|
@ -41,7 +41,6 @@ Catcrafts.net
|
|||
}
|
||||
blogButton = new HtmlElementView("blog-nav-button");
|
||||
blogButton->AddClickListener([](Crafter::MouseEvent e) {
|
||||
std::cout << "click" << std::endl;
|
||||
PushState("{}", "", "/blog");
|
||||
RenderRoot("blog");
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue