diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts index e8b3e8e..af8a54e 100644 --- a/src/constants/Categories.ts +++ b/src/constants/Categories.ts @@ -1,5 +1,5 @@ // Highlighted sidebar items -export const NEW = ['Target Cursor', 'Ripple Grid', 'Magic Bento', 'Galaxy', 'Text Type', 'Glass Surface', 'Sticker Peel', 'Scroll Stack', 'Faulty Terminal', 'Pill Nav', 'Card Nav']; +export const NEW = ['Target Cursor', 'Ripple Grid', 'Magic Bento', 'Galaxy', 'Text Type', 'Glass Surface', 'Sticker Peel', 'Scroll Stack', 'Faulty Terminal', 'Pill Nav', 'Card Nav', 'Logo Loop']; export const UPDATED = []; // Used for main sidebar navigation @@ -38,6 +38,7 @@ export const CATEGORIES = [ 'Fade Content', 'Noise', 'Splash Cursor', + 'Logo Loop', 'Pixel Transition', 'Target Cursor', 'Sticker Peel', diff --git a/src/constants/Components.ts b/src/constants/Components.ts index f0318b5..d3658e7 100644 --- a/src/constants/Components.ts +++ b/src/constants/Components.ts @@ -3,6 +3,7 @@ const animations = { 'animated-content': () => import('../demo/Animations/AnimatedContentDemo.vue'), 'pixel-transition': () => import('../demo/Animations/PixelTransitionDemo.vue'), 'glare-hover': () => import('../demo/Animations/GlareHoverDemo.vue'), + 'logo-loop': () => import('../demo/Animations/LogoLoopDemo.vue'), 'magnet-lines': () => import('../demo/Animations/MagnetLinesDemo.vue'), 'click-spark': () => import('../demo/Animations/ClickSparkDemo.vue'), 'ribbons': () => import('../demo/Animations/RibbonsDemo.vue'), diff --git a/src/constants/code/Animations/logoLoopCode.ts b/src/constants/code/Animations/logoLoopCode.ts new file mode 100644 index 0000000..cb332f6 --- /dev/null +++ b/src/constants/code/Animations/logoLoopCode.ts @@ -0,0 +1,55 @@ +import code from '@/content/Animations/LogoLoop/LogoLoop.vue?raw'; +import { createCodeObject } from '@/types/code'; + +export const logoLoop = createCodeObject(code, 'Animations/LogoLoop', { + usage: ` + +` +}); diff --git a/src/content/Animations/LogoLoop/LogoLoop.vue b/src/content/Animations/LogoLoop/LogoLoop.vue new file mode 100644 index 0000000..d726e98 --- /dev/null +++ b/src/content/Animations/LogoLoop/LogoLoop.vue @@ -0,0 +1,436 @@ + + + + + diff --git a/src/demo/Animations/LogoLoopDemo.vue b/src/demo/Animations/LogoLoopDemo.vue new file mode 100644 index 0000000..1dc5957 --- /dev/null +++ b/src/demo/Animations/LogoLoopDemo.vue @@ -0,0 +1,174 @@ + + + + + diff --git a/src/demo/Backgrounds/FaultyTerminalDemo.vue b/src/demo/Backgrounds/FaultyTerminalDemo.vue index caaf0a6..1292223 100644 --- a/src/demo/Backgrounds/FaultyTerminalDemo.vue +++ b/src/demo/Backgrounds/FaultyTerminalDemo.vue @@ -188,7 +188,7 @@ const propData = [ }, { name: 'style', - type: 'React.CSSProperties', + type: 'object', default: '{}', description: 'Inline styles.' }