pluginsSlice: animate in

This commit is contained in:
VDawg 2023-11-15 11:38:07 +01:00
parent 5d17ccf7ce
commit a85a6f2976

View file

@ -5,6 +5,7 @@
import IconLinkOut from '~icons/mingcute/external-link-line'
import clsx from 'clsx'
import Video from '$lib/components/Video.svelte'
import { animateIn } from '$lib/Helper.mjs'
/** @type {HTMLVideoElement[]}*/
const videos = []
@ -54,6 +55,7 @@
<section class="relative z-0 flex min-h-max w-full flex-col items-center py-20">
<div
class="mx-auto grid max-w-7xl grid-cols-1 gap-8 px-6 transition-all lg:grid-cols-2 lg:gap-24"
use:animateIn={{ fade: 0.0, slide: 24 }}
>
<div
class={clsx(