Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
martrapp committed Dec 26, 2024
1 parent 833c48d commit 43a657a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/pages/forge/test/explorer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,17 @@ import Layout from "@/layouts/Layout.astro";
const current = history.state.index;
out.push(`pagereveal: ${current}`);
out.push(e.viewTransition? e.viewTransition?.types?.size : "-");
out.push(Math.random().toString().slice(2,7));
output.innerHTML = out.join("<br>");
out = [];
a.href = `/forge/test/explorer/?x=${Math.random()}`;
a.href = location.href;
b.href = `/forge/test/explorer/?x=${Math.random()}`;
});
</script>
<main>
<h1>Explorer</h1>
<p id="output"></p>
<a id="a">Click</a>
<a id="a">Click</a><br>
<a id="b">Click</a>
</main>
</Layout>

0 comments on commit 43a657a

Please sign in to comment.