rewrite
Some checks failed
Deploy / build-deploy (push) Failing after 4m56s

This commit is contained in:
Jorijn van der Graaf 2026-08-05 04:18:37 +02:00
commit 934c94cb5c
50 changed files with 10464 additions and 758 deletions

View file

@ -2,7 +2,7 @@
catcrafts.net
Copyright (C) 2026 Catcrafts
The source code of this website is made available for viewing purposes only.
The source code of this website is made available for viewing purposes only.
No permission is granted to copy, modify, distribute, or create derivative works.
*/
@ -12,5 +12,16 @@ import std;
using namespace Crafter;
export namespace Catcrafts {
void RenderRoot(const std::string_view route);
}
// Render the route currently in the address bar and rebind its links.
void RenderCurrentRoute();
// Navigate client-side: push history, then render. Used by the link
// interception in BindLinks(); also the entry point for any programmatic
// navigation.
void NavigateTo(std::string_view path);
// Link interception is internal to the client-rendered fallback path — a
// server-rendered page never intercepts, because normal navigation to
// another fully-rendered page is already fast and hijacking it would only
// add ways to be wrong.
}