fix hedge fund page && landing page
This commit is contained in:
parent
df354d0a99
commit
2ad5c98c7a
@ -1,6 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {userRegion, secFilingsClicked, stockTicker, clientSideCache, } from '$lib/store';
|
import {userRegion, secFilingsClicked, stockTicker, clientSideCache, } from '$lib/store';
|
||||||
import { afterUpdate } from 'svelte';
|
|
||||||
import { Motion, AnimateSharedLayout } from "svelte-motion";
|
import { Motion, AnimateSharedLayout } from "svelte-motion";
|
||||||
|
|
||||||
import { fade } from 'svelte/transition';
|
import { fade } from 'svelte/transition';
|
||||||
@ -171,7 +170,7 @@ $: {
|
|||||||
|
|
||||||
|
|
||||||
<div class="w-11/12 mt-5">
|
<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">
|
<div class="relative flex flex-row items-center p-1 list-none rounded-lg">
|
||||||
<AnimateSharedLayout>
|
<AnimateSharedLayout>
|
||||||
@ -226,7 +225,7 @@ $: {
|
|||||||
<div class="mt-5 w-full">
|
<div class="mt-5 w-full">
|
||||||
|
|
||||||
{#each displayList as item}
|
{#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">
|
<div class="flex flex-row items-center w-full p-3">
|
||||||
|
|||||||
@ -19,7 +19,7 @@ const intersectOptions = { callback, threshold, rootMargin }
|
|||||||
function callback(entry: IntersectionObserverEntry) {
|
function callback(entry: IntersectionObserverEntry) {
|
||||||
if (entry.intersectionRatio > threshold) {
|
if (entry.intersectionRatio > threshold) {
|
||||||
entry.target.classList.remove('invisible')
|
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
Loading…
x
Reference in New Issue
Block a user