Merge branch 'main' into feat/scroll-stack

This commit is contained in:
David
2025-07-23 22:09:11 +03:00
committed by GitHub
10 changed files with 660 additions and 13 deletions

View File

@@ -0,0 +1,23 @@
import code from '@/content/Animations/StickerPeel/StickerPeel.vue?raw';
import { createCodeObject } from '@/types/code';
export const stickerPeel = createCodeObject(code, 'Animations/StickerPeel', {
installation: `npm install gsap`,
usage: `<template>
<StickerPeel
:image-src="logo"
:width="200"
:rotate="30"
:peelBackHoverPct="20"
:peelBackActivePct="40"
:shadow-intensity="0.6"
:lighting-intensity="0.1"
:initial-position="{ x: -100, y: 100 }"
/>
</template>
<script setup lang="ts">
import StickerPeel from './StickerPeel.vue';
import logo from './assets/sticker.png';
</script>`
});