diff --git a/app/components/layouts/ArcticNewOneFooter.vue b/app/components/layouts/ArcticNewOneFooter.vue index 334333a..6d94205 100644 --- a/app/components/layouts/ArcticNewOneFooter.vue +++ b/app/components/layouts/ArcticNewOneFooter.vue @@ -19,23 +19,32 @@ const pagesLinks = [ { name: 'nav.news', url: '/news' }, ] +const toolLinks = [ + { name: 'nav.tools', url: '/tools' }, +] + onMounted(() => { if (!footerRef.value) return ctx = gsap.context(() => { - const items = gsap.utils.toArray('.animated-item') + const items = gsap.utils.toArray('.animated-item', footerRef.value) - gsap.from(items, { + gsap.fromTo(items, { + y: 24, + autoAlpha: 0, + }, { scrollTrigger: { trigger: footerRef.value, start: 'top 80%', toggleActions: 'play none none reverse', }, - y: 20, - opacity: 0, - duration: 0.6, - stagger: 0.1, - ease: 'power3.out' + y: 0, + autoAlpha: 1, + duration: 0.8, + stagger: 0.085, + ease: 'power3.out', + immediateRender: false, + overwrite: 'auto', }) }, footerRef.value) }) @@ -50,10 +59,10 @@ onUnmounted(() => {
-

+

{{ t('footer.title') }}

-
+
{
-
+
@@ -103,7 +112,7 @@ onUnmounted(() => {
-
+
@@ -119,6 +128,19 @@ onUnmounted(() => {
+
+
    +
  • + +
    + + {{ t(link.name) }} +
    +
    +
  • +
+
+
@@ -180,3 +202,12 @@ onUnmounted(() => {
+ + diff --git a/app/pages/tools.vue b/app/pages/tools.vue index bda963a..7ea8a8a 100644 --- a/app/pages/tools.vue +++ b/app/pages/tools.vue @@ -124,7 +124,15 @@ onBeforeUnmount(() => { cardsCtx?.revert() }) -const toolsData = [ +interface ToolItem { + id: string + name: string + url: string + icon: string + color: string +} + +const toolsData: ToolItem[] = [ { id: 'drawio', name: 'Drawio',