Skip to content
Snippets Groups Projects
Commit cf0dc940 authored by dqd's avatar dqd
Browse files

Issue #3478376 by dqd: Drupal 11 compatibility

parent 759ec9af
No related branches found
No related tags found
1 merge request!3Resolve #3478376 "Create a drupal"
Pipeline #299393 passed with warnings
################
# GitLabCI template for Drupal projects.
#
# This template is designed to give any Contrib maintainer everything they need to test, without requiring modification.
# It is also designed to keep up to date with Core Development automatically through the use of include files that can be centrally maintained.
# As long as you include the project, ref and three files below, any future updates added by the Drupal Association will be used in your
# pipelines automatically. However, you can modify this template if you have additional needs for your project.
# The full documentation is on https://project.pages.drupalcode.org/gitlab_templates/
################
# For information on alternative values for 'ref' see https://project.pages.drupalcode.org/gitlab_templates/info/templates-version/
# To test a Drupal 7 project, change the first include filename from .main.yml to .main-d7.yml
include:
- project: $_GITLAB_TEMPLATES_REPO
ref: $_GITLAB_TEMPLATES_REF
file:
- "/includes/include.drupalci.main.yml"
- "/includes/include.drupalci.variables.yml"
- "/includes/include.drupalci.workflows.yml"
################
# Pipeline configuration variables are defined with default values and descriptions in the file
# https://git.drupalcode.org/project/gitlab_templates/-/blob/main/includes/include.drupalci.variables.yml
# Uncomment the lines below if you want to override any of the variables. The following is just an example.
################
variables:
SKIP_ESLINT: '1'
# OPT_IN_TEST_NEXT_MAJOR: '1'
# _CURL_TEMPLATES_REF: 'main'
# Animate On Scroll
## Description
Animate On Scroll (AOS) library allows you to animate elements as you scroll
down, and up.If you scroll back to top, elements will animate to it's previous
state and are ready to animate again if you scroll down.This module provides
integration with AOS library.
## Requirements
Animate On Scroll Library. (Check demo at: http://michalsnik.github.io/aos/)
- Download AOS libraray from https://github.com/michalsnik/aos/archive/master.zip
- Copy aos library in your libraries directory, so aos.js will be located in libraries at /aos/dist/aos.js.
## Installation
Copy the 'aos' module into your Drupal modules directory and enable it.
As this module provides the integration of AOS library, to get the
animations on page simply add `data-aos` attribute to element,
like `<div data-aos="animation_name"></div>` in your html.
e.g.
```
<div data-aos="fade-zoom-in"
data-aos-offset="200"
data-aos-easing="ease-in-sine"
data-aos-duration="600">
</div>
```
You can check all available animations & easing options at
https://github.com/michalsnik/aos
## Roadmap
- Expose configuration for AOS global options.
- Expose configuration to disable AOS library on admin pages.
------------------------------------------------------------------------------
Animate On Scroll
------------------------------------------------------------------------------
Description
===========
Animate On Scroll (AOS) library allows you to animate elements as you scroll
down, and up.If you scroll back to top, elements will animate to it's previous
state and are ready to animate again if you scroll down.This module provides
integration with AOS library.
Requirements
============
Animate On Scroll Library. (Check demo at: http://michalsnik.github.io/aos/)
1) Download AOS libraray from https://github.com/michalsnik/aos/archive/master.zip
2) Copy aos library in your libraries directory, so aos.js will be located in libraries at /aos/dist/aos.js.
Installation
============
1) Copy the 'aos' module into your Drupal modules directory and enable it.
2) As this module provides the integration of AOS library, to get the
animations on page simply add `data-aos` attribute to element,
like <div data-aos="animation_name"></div> in your html.
e.g.
<div data-aos="fade-zoom-in"
data-aos-offset="200"
data-aos-easing="ease-in-sine"
data-aos-duration="600">
</div>
You can check all available animations & easing options at
https://github.com/michalsnik/aos
Roadmap
=======
1) Expose configurations for AOS global options.
2) Expose configuration to disable AOS library on admin pages.
......@@ -9,6 +9,6 @@
},
"license": "GPL-2.0-or-later",
"require": {
"drupal/core": "^8.8 || ^9 || ^10"
"drupal/core": "^9 || ^10 || ^11"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment