Skip to content

refs#31135 - parallax animation paragraph#6

Open
liviuedw wants to merge 5 commits into1.xfrom
31135-parallax-animation-paragraph
Open

refs#31135 - parallax animation paragraph#6
liviuedw wants to merge 5 commits into1.xfrom
31135-parallax-animation-paragraph

Conversation

@liviuedw
Copy link

No description provided.

Copy link
Contributor

@Anthelixes Anthelixes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@liviuedw Please include a README.md. See other sub-modules.

- field.storage.paragraph.field_reverse
- paragraphs.paragraphs_type.parallax_component
id: paragraph.parallax_component.field_reverse
field_name: field_reverse
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think field_reverse_layout would be better, to match the same naming pattern with field_vertical_layout.

theme:
css/parallax-component.css: {}
js:
https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js: {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please try to import the library using composer. Here is the archive: https://github.com/greensock/GSAP/releases/tag/3.12.5

You can import using composer on each project:

            "type": "package",
            "package": {
                "name": "greensock/gsap",
                "version": "3.12.5",
                "type": "drupal-library",
                "dist": {
                    "url": "https://github.com/greensock/GSAP/archive/refs/tags/3.12.5.zip",
                    "type": "zip"
                }
            }
        },

and then run composer require greensock/gsap.

Then in edw_paragraphs_parallax_component.libraries.yml replace the external url with the path to the library i.e: /library/gsap/...
Please document the stepts in a README.md.

status: true
dependencies: { }
id: parallax_component
label: 'Parallax Section'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update de label to: Parallax component

@Anthelixes Anthelixes force-pushed the 31135-parallax-animation-paragraph branch from bc2620b to 4a5e08d Compare December 19, 2025 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants