An open API service indexing awesome lists of open source software.

https://github.com/gethinode/mod-gsap

A Hugo module to add gsap animations to your Hinode site (work in progress)
https://github.com/gethinode/mod-gsap

Last synced: 5 months ago
JSON representation

A Hugo module to add gsap animations to your Hinode site (work in progress)

Awesome Lists containing this project

README

          

# Hinode Module - GSAP


A Hugo module to add GSAP animations to your Hinode site





















## About

![Logo](https://raw.githubusercontent.com/gethinode/hinode/main/static/img/logo.png)

Hinode is a clean blog theme for [Hugo][hugo], an open-source static site generator. Hinode is available as a [template][repository_template], and a [main theme][repository]. This repository maintains a Hugo module to add [GSAP][gsap] animations to a Hinode site. Visit the Hinode documentation site for [installation instructions][hinode_docs].

## Notes

This modules exposes only the GSAP plugins (ScrollTrigger and SplitText) by default. All extensions provided by GSAP are available in the `dist` folder. Override or modify the mount configuration in `config.toml` as needed. Register the plugins by adding them to the function `gsap.registerPlugin` in the file `assets/js/modules/gsap/_init.js`.

## Contributing

This module uses [semantic-release][semantic-release] to automate the release of new versions. The package uses `husky` and `commitlint` to ensure commit messages adhere to the [Conventional Commits][conventionalcommits] specification. You can run `npx git-cz` from the terminal to help prepare the commit message.

[gsap]: https://gsap.com
[hugo]: https://gohugo.io
[hinode_docs]: https://gethinode.com
[repository]: https://github.com/gethinode/hinode.git
[repository_template]: https://github.com/gethinode/template.git
[conventionalcommits]: https://www.conventionalcommits.org
[husky]: https://typicode.github.io/husky/
[semantic-release]: https://semantic-release.gitbook.io/