/* catcrafts.net Copyright (C) 2026 Catcrafts 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. */ export module Catcrafts:Root; import Crafter.Graphics; import std; using namespace Crafter; export namespace Catcrafts { // 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. }