added cf analytics
All checks were successful
Node.js CI / build_app (push) Successful in 16s
Node.js CI / build_image (push) Successful in 46s

This commit is contained in:
ChrQR 2024-05-12 22:19:43 +02:00
parent d6664891ee
commit aa75895db4
2 changed files with 4 additions and 2 deletions

View File

@ -0,0 +1 @@
<!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "cc87b1af28264bd7aaf287ba7f905362"}'></script><!-- End Cloudflare Web Analytics -->

View File

@ -3,6 +3,7 @@
import "../app.css"; import "../app.css";
import ThemeSwitch from '$lib/ThemeSwitch.svelte'; import ThemeSwitch from '$lib/ThemeSwitch.svelte';
import '../app.css'; import '../app.css';
import CloudflareAnalytics from "../lib/CloudflareAnalytics.svelte";
// Navigation links are generated based on this object // Navigation links are generated based on this object
@ -34,7 +35,7 @@
intSelected = event.srcElement.id; intSelected = event.srcElement.id;
} }
</script> </script>
<CloudflareAnalytics />
<nav class="nav-container h-32 w-full mt-12"> <nav class="nav-container h-32 w-full mt-12">
<ul class="text-center"> <ul class="text-center">
{#each nav as main,i} {#each nav as main,i}