1
0

Добавлен компонент YandexMetrika

This commit is contained in:
2025-09-11 15:19:06 +04:00
parent 61cb9db9b9
commit 3562786cfb
2 changed files with 18 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
{#if id}
<img src={`https://mc.yandex.ru/watch/${id}`} alt=""/>
{/if}
<script>
let { id } = $props()
</script>
<style lang="scss">
img {
position: absolute;
left: -9999px;
width: 1px;
height: 1px;
}
</style>

View File

@@ -1,2 +1,3 @@
export { default as Image } from './components/Image.svelte'
export { default as Picture } from './components/Picture.svelte'
export { default as Picture } from './components/Picture.svelte'
export { default as YandexMetrika } from './components/YandexMetrika.svelte'