Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
NoelDeMartin committed May 17, 2024
1 parent 0e5f809 commit 699afc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/landing/LandingHero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ import { useScrollY, useWindowDimensions } from '@/utils/composables';
import { FORM_ANIMATION_DURATION, heroicEntrance, scrollToHero } from './animations';
import type { IScrollTransition } from './components/ScrollTransition';
import type { LandingContext } from './landing';
import type { Styles } from './utils/animations';
import type { Styles } from './animations';
const { featuresScrollY, showingForm, showingCallout } = injectOrFail<LandingContext>('landing');
const $headerLogo = ref<HTMLElement>();
Expand Down
2 changes: 2 additions & 0 deletions src/pages/landing/animations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ function element($element: ElementRef): HTMLElement | undefined {
return '$el' in $element.value ? $element.value.$el : $element.value;
}

export type Styles = Partial<Record<keyof CSSStyleDeclaration, string>>;

export const FORM_ANIMATION_DURATION = 1200;

export async function scrollToHero(): Promise<void> {
Expand Down

0 comments on commit 699afc6

Please sign in to comment.