Highlight und neue ID

This commit is contained in:
Moritz Utcke
2025-03-25 14:01:13 -03:00
parent 84a3a2dd39
commit 5d66eb10ca
89 changed files with 1650 additions and 601 deletions

View File

@@ -18,6 +18,17 @@ const { title } = Astro.props;
---
<script>
import { H } from "highlight.run";
H.init("1jdkoe52", {
serviceName: "online-energieausweis",
tracingOrigins: true,
networkRecording: {
enabled: true,
recordHeadersAndBody: true
}
})
window.addEventListener("scroll", (event) => {
const skala = document.getElementById("skala");

View File

@@ -17,6 +17,19 @@ export interface Props {
const { title } = Astro.props;
---
<script>
import { H } from "highlight.run";
H.init("1jdkoe52", {
serviceName: "online-energieausweis",
tracingOrigins: true,
networkRecording: {
enabled: true,
recordHeadersAndBody: true
}
})
</script>
<!DOCTYPE html>
<html lang="de">

View File

@@ -34,6 +34,19 @@ const schema = JSON.stringify({
});
---
<script>
import { H } from "highlight.run";
H.init("1jdkoe52", {
serviceName: "online-energieausweis",
tracingOrigins: true,
networkRecording: {
enabled: true,
recordHeadersAndBody: true
}
})
</script>
<!DOCTYPE html>
<html lang="de">
<head>

View File

@@ -71,6 +71,19 @@ const schema = JSON.stringify({
let lightTheme = Astro.cookies.get("theme")?.value === "light";
---
<script>
import { H } from "highlight.run";
H.init("1jdkoe52", {
serviceName: "online-energieausweis",
tracingOrigins: true,
networkRecording: {
enabled: true,
recordHeadersAndBody: true
}
})
</script>
<!DOCTYPE html>
<html lang="de">
<head>

View File

@@ -19,6 +19,17 @@ const { title } = Astro.props;
---
<script>
import { H } from "highlight.run";
H.init("1jdkoe52", {
serviceName: "online-energieausweis",
tracingOrigins: true,
networkRecording: {
enabled: true,
recordHeadersAndBody: true
}
})
/*
window.addEventListener("scroll", (event) => {
let scroll = window.scrollY;