added cf analytics
This commit is contained in:
		
							parent
							
								
									d6664891ee
								
							
						
					
					
						commit
						aa75895db4
					
				
							
								
								
									
										1
									
								
								src/lib/CloudflareAnalytics.svelte
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								src/lib/CloudflareAnalytics.svelte
									
									
									
									
									
										Normal 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 -->
 | 
				
			||||||
@ -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}
 | 
				
			||||||
@ -63,4 +64,4 @@
 | 
				
			|||||||
</div>
 | 
					</div>
 | 
				
			||||||
<footer class="mt-12"> 
 | 
					<footer class="mt-12"> 
 | 
				
			||||||
    <p class="text-sm text-gray-400">built and hosted by christian rannes 2024</p>
 | 
					    <p class="text-sm text-gray-400">built and hosted by christian rannes 2024</p>
 | 
				
			||||||
</footer>
 | 
					</footer>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user