mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 22:49:31 -07:00
Added <GradualBlur /> Animation
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Highlighted sidebar items
|
||||
export const NEW = ['Gradient Blinds', 'Bubble Menu', 'Prism', 'Plasma', 'Electric Border', 'Target Cursor', 'Pill Nav', 'Card Nav', 'Logo Loop', 'Prismatic Burst'];
|
||||
export const NEW = ['Gradual Blur', 'Gradient Blinds', 'Bubble Menu', 'Prism', 'Plasma', 'Electric Border', 'Target Cursor', 'Pill Nav', 'Card Nav', 'Logo Loop', 'Prismatic Burst'];
|
||||
export const UPDATED = [];
|
||||
|
||||
// Used for main sidebar navigation
|
||||
@@ -36,6 +36,7 @@ export const CATEGORIES = [
|
||||
subcategories: [
|
||||
'Animated Content',
|
||||
'Fade Content',
|
||||
'Gradual Blur',
|
||||
'Noise',
|
||||
'Splash Cursor',
|
||||
'Logo Loop',
|
||||
|
||||
@@ -22,6 +22,7 @@ const animations = {
|
||||
'crosshair': () => import('../demo/Animations/CrosshairDemo.vue'),
|
||||
'sticker-peel': () => import('../demo/Animations/StickerPeelDemo.vue'),
|
||||
'electric-border': () => import('../demo/Animations/ElectricBorderDemo.vue'),
|
||||
'gradual-blur': () => import('../demo/Animations/GradualBlurDemo.vue'),
|
||||
};
|
||||
|
||||
const textAnimations = {
|
||||
|
||||
11
src/constants/code/Animations/gradualBlurCode.ts
Normal file
11
src/constants/code/Animations/gradualBlurCode.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import code from '@/content/Animations/GradualBlur/GradualBlur.vue?raw';
|
||||
import { createCodeObject } from '@/types/code';
|
||||
|
||||
export const gradualBlur = createCodeObject(code, 'Animations/GradualBlur', {
|
||||
installation: `npm install mathjs`,
|
||||
usage: `
|
||||
|
||||
<script setup lang="ts">
|
||||
import GradualBlur from "./GradualBlur.vue";
|
||||
</script>`
|
||||
});
|
||||
Reference in New Issue
Block a user