fix hedge fund page && landing page

This commit is contained in:
MuslemRahimi 2024-07-15 17:42:14 +02:00
parent df354d0a99
commit 2ad5c98c7a
3 changed files with 90 additions and 22 deletions

View File

@ -1,6 +1,5 @@
<script lang="ts">
import {userRegion, secFilingsClicked, stockTicker, clientSideCache, } from '$lib/store';
import { afterUpdate } from 'svelte';
import { Motion, AnimateSharedLayout } from "svelte-motion";
import { fade } from 'svelte/transition';
@ -171,7 +170,7 @@ $: {
<div class="w-11/12 mt-5">
<div class="relative right-0 bg-[#09090B] rounded-lg">
<div class="relative right-0 bg-[#141417] rounded-lg">
<div class="relative flex flex-row items-center p-1 list-none rounded-lg">
<AnimateSharedLayout>
@ -226,7 +225,7 @@ $: {
<div class="mt-5 w-full">
{#each displayList as item}
<div class="flex flex-col justify-center m-auto items-start rounded-md bg-[#09090B] shadow-lg h-auto w-11/12 mb-3" transition:fade={{ delay: 0, duration: 80 }} in={accordionOpen[item?.year]}>
<div class="flex flex-col justify-center m-auto items-start rounded-md bg-[#141417] shadow-lg h-auto w-11/12 mb-3" transition:fade={{ delay: 0, duration: 80 }} in={accordionOpen[item?.year]}>
<div class="flex flex-row items-center w-full p-3">

View File

@ -19,7 +19,7 @@ const intersectOptions = { callback, threshold, rootMargin }
function callback(entry: IntersectionObserverEntry) {
if (entry.intersectionRatio > threshold) {
entry.target.classList.remove('invisible')
entry.target.classList.add('fade-down')
entry.target.classList.add('animate-fade-in-once')
}
}

File diff suppressed because one or more lines are too long