Format ScrollReveal component and demo for improved readability and consistency

This commit is contained in:
David Haz
2025-07-12 12:05:16 +03:00
parent e5fc12d6fc
commit a0e049e447
3 changed files with 280 additions and 292 deletions

View File

@@ -1,5 +1,5 @@
import code from '@content/TextAnimations/ScrollReveal/ScrollReveal.vue?raw'
import type { CodeObject } from '../../../types/code'
import code from '@content/TextAnimations/ScrollReveal/ScrollReveal.vue?raw';
import type { CodeObject } from '../../../types/code';
export const scrollRevealCode: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/TextAnimations/ScrollReveal`,
@@ -23,4 +23,4 @@ export const scrollRevealCode: CodeObject = {
import ScrollReveal from "./ScrollReveal.vue";
</script>`,
code
}
};