beatufitull front end for ozone modration ,, wit catpucoin and ebergarden !
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add domain to ads

+3 -1
+3 -1
src/components/Advertisement.svelte
··· 6 6 const { className } = $props<{ 7 7 className?: string; 8 8 }>(); 9 + 10 + const domain = window.location.hostname; 9 11 </script> 10 12 11 13 <div class={`relative ${className ?? ''}`} class:hidden={!$ads}> 12 14 <iframe 13 - src="https://ad.ari.lt/ads/embed?from=" 15 + src={`https://ad.ari.lt/ads/embed?from=${domain}`} 14 16 sandbox="allow-popups allow-popups-to-escape-sandbox" 15 17 referrerpolicy="no-referrer" 16 18 title="An advertisement showing a silly image and author information."