diff --git a/src/components/navs/Header.vue b/src/components/navs/Header.vue index bc0bed2..e924710 100644 --- a/src/components/navs/Header.vue +++ b/src/components/navs/Header.vue @@ -17,10 +17,7 @@
-
- + @@ -108,11 +101,11 @@ import { CATEGORIES, NEW, UPDATED } from '../../constants/Categories'; import FadeContent from '../../content/Animations/FadeContent/FadeContent.vue'; import Logo from '../../assets/logos/vue-bits-logo.svg'; import Star from '../../assets/common/star.svg'; -import SearchDialog from '../common/SearchDialog.vue' +import SearchDialog from '../common/SearchDialog.vue'; const isDrawerOpen = ref(false); const isTransitioning = ref(false); -const isSearchOpen = ref(false) +const isSearchOpen = ref(false); const stars = useStars(); const route = useRoute(); const router = useRouter(); @@ -155,11 +148,11 @@ const handleKeyDown = (e: KeyboardEvent) => { closeDrawer(); } if (e.key === '/' && !isSearchOpen.value) { - e.preventDefault() - openSearch() + e.preventDefault(); + openSearch(); } if (e.key === 'Escape' && isSearchOpen.value) { - closeSearch() + closeSearch(); } }; @@ -254,12 +247,12 @@ const Category = defineComponent({ }); const openSearch = () => { - isSearchOpen.value = true -} + isSearchOpen.value = true; +}; const closeSearch = () => { - isSearchOpen.value = false -} + isSearchOpen.value = false; +}; onMounted(() => { document.addEventListener('keydown', handleKeyDown); diff --git a/src/demo/Animations/LogoLoopDemo.vue b/src/demo/Animations/LogoLoopDemo.vue index 1dc5957..0268ae3 100644 --- a/src/demo/Animations/LogoLoopDemo.vue +++ b/src/demo/Animations/LogoLoopDemo.vue @@ -12,15 +12,15 @@ :scale-on-hover="scaleOnHover" :pause-on-hover="pauseOnHover" :fade-out="fadeOut" - fade-out-color="#060010" + fade-out-color="#0b0b0b" aria-label="Our icons" /> + - @@ -68,20 +68,15 @@ const directionOptions = [ ]; const items = [ - { node: ``, title: 'Settings', href: 'https://vue-bits.dev/' }, - { node: ``, title: 'Web', href: 'https://vue-bits.dev/' }, - { node: ``, title: 'Code', href: 'https://vue-bits.dev/' }, - { node: ``, title: 'Design', href: 'https://vue-bits.dev/' }, - { node: ``, title: 'Cloud', href: 'https://vue-bits.dev/' }, + { node: ``, title: 'Settings', href: 'https://vue-bits.dev/' }, + { node: ``, title: 'Web', href: 'https://vue-bits.dev/' }, + { node: ``, title: 'Code', href: 'https://vue-bits.dev/' }, + { node: ``, title: 'Design', href: 'https://vue-bits.dev/' }, + { node: ``, title: 'Cloud', href: 'https://vue-bits.dev/' }, { node: ``, title: 'GitHub', href: 'https://vue-bits.dev/' }, - { node: ``, title: 'Container', href: 'https://vue-bits.dev/' }, - { node: ``, title: 'Database', href: 'https://vue-bits.dev/' }, - { node: ``, title: 'Server', href: 'https://vue-bits.dev/' }, - { - node: ``, - title: 'Payments', - href: 'https://vue-bits.dev/' - } + { node: ``, title: 'Container', href: 'https://vue-bits.dev/' }, + { node: ``, title: 'Database', href: 'https://vue-bits.dev/' }, + { node: ``, title: 'Server', href: 'https://vue-bits.dev/' } ]; const propData = [