Skip to content

Commit

Permalink
Update various files
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptex committed Sep 8, 2022
1 parent 342f2ad commit 2c4d740
Show file tree
Hide file tree
Showing 12 changed files with 720 additions and 1,144 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
liberapay: scriptex
issuehunt: scriptex
otechie: # Replace with a single Otechie username
custom: ['paypal.me/scriptex']
custom: ['paypal.me/scriptex', 'revolut.me/scriptex']
36 changes: 14 additions & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
strategy:
matrix:
node-version: [14.x, 16.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn build
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn deploy
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ node_modules/
.Trashes
ehthumbs.db
Thumbs.db

dist
demo/*.css
demo/*.js
35 changes: 18 additions & 17 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ yarn-debug.log*
yarn-error.log*

# Dependency directory
node_modules/
node_modules

# Misc
.DS_Store
Expand All @@ -17,24 +17,25 @@ node_modules/
ehthumbs.db
Thumbs.db

# EditorConfig
# Config folders and files
.github
_config.yml
_.config.yml
.babelrc
.editorconfig

# Git
.gitignore
.gitattributes

# CI
.travis.yml

# lock files
yarn.lock

# Prettier
.prettierrc
.gitignore
.nvmrc
.prettierignore

# Config files
.babelrc
.prettierrc
.stylelintignore
.stylelintrc
.travis.yml
.whitesource
renovate.json
tsconfig.json
tslint.json
yarn.lock

!dist
Footer
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ node_js:
install:
- yarn
script:
- yarn build
- yarn deploy
2 changes: 1 addition & 1 deletion .whitesource
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"checkRunSettings": {
"vulnerableCheckRunConclusionLevel": "success"
}
}
}
152 changes: 128 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,31 @@
[![GitHub release](https://img.shields.io/github/release/scriptex/IntroScroll.svg)](https://github.com/scriptex/IntroScroll/releases/latest)
[![GitHub issues](https://img.shields.io/github/issues/scriptex/IntroScroll.svg)](https://github.com/scriptex/IntroScroll/issues)
[![GitHub last commit](https://img.shields.io/github/last-commit/scriptex/IntroScroll.svg)](https://github.com/scriptex/IntroScroll/commits/master)
[![Github file size](https://img.shields.io/github/size/scriptex/IntroScroll/dist/introscroll.min.js.svg)](https://github.com/scriptex/IntroScroll)
[![Build Status](https://travis-ci.com/scriptex/IntroScroll.svg?branch=master)](https://travis-ci.com/scriptex/IntroScroll)
[![npm](https://img.shields.io/npm/dt/introscroll.svg)](https://www.npmjs.com/package/introscroll)
[![npm](https://img.shields.io/npm/v/introscroll.svg)](https://www.npmjs.com/package/introscroll)
[![Analytics](https://ga-beacon.appspot.com/UA-83446952-1/github.com/scriptex/IntroScroll/README.md)](https://github.com/scriptex/IntroScroll/)
[![Travis CI](https://travis-ci.com/scriptex/IntroScroll.svg?branch=master)](https://travis-ci.com/scriptex/IntroScroll)
[![Github Build](https://github.com/scriptex/IntroScroll/workflows/Build/badge.svg)](https://github.com/scriptex/IntroScroll/actions?query=workflow%3ABuild)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/34d3d75710534dc6a38c3584a1dcd068)](https://www.codacy.com/gh/scriptex/IntroScroll/dashboard?utm_source=github.com&utm_medium=referral&utm_content=scriptex/IntroScroll&utm_campaign=Badge_Grade)
[![Codebeat Badge](https://codebeat.co/badges/d765a4c8-2c0e-44f2-89c3-fa364fdc14e6)](https://codebeat.co/projects/github-com-scriptex-IntroScroll-master)
[![CodeFactor Badge](https://www.codefactor.io/repository/github/scriptex/IntroScroll/badge)](https://www.codefactor.io/repository/github/scriptex/IntroScroll)
[![DeepScan grade](https://deepscan.io/api/teams/3574/projects/5257/branches/40799/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=3574&pid=5257&bid=40799)
[![Analytics](https://ga-beacon-361907.ew.r.appspot.com/UA-83446952-1/github.com/scriptex/IntroScroll/README.md?pixel)](https://github.com/scriptex/IntroScroll/)

# IntroScroll

Create a fullscreen intro section and dismiss it in a single gesture.
> Create a fullscreen intro section and dismiss it in a single gesture.
See the demo [here](https://intro-scroll.atanas.info/)

## Visitor stats

![GitHub stars](https://img.shields.io/github/stars/scriptex/IntroScroll?style=social)
![GitHub forks](https://img.shields.io/github/forks/scriptex/IntroScroll?style=social)
![GitHub watchers](https://img.shields.io/github/watchers/scriptex/IntroScroll?style=social)
![GitHub followers](https://img.shields.io/github/followers/scriptex?style=social)

## Code stats

![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/scriptex/IntroScroll)
![GitHub repo size](https://img.shields.io/github/repo-size/scriptex/IntroScroll?style=plastic)
![GitHub language count](https://img.shields.io/github/languages/count/scriptex/IntroScroll?style=plastic)
![GitHub top language](https://img.shields.io/github/languages/top/scriptex/IntroScroll?style=plastic)
![GitHub last commit](https://img.shields.io/github/last-commit/scriptex/IntroScroll?style=plastic)

## Description

Expand Down Expand Up @@ -55,26 +71,114 @@ or add your own settings

```javascript
const intro = new IntroScroll({
element: '#your-fullscreen-section',
wrapper: '#your-fullscreen-sections-wrapper',
container: '#your-fullscreen-sections-container',
trigger: '#your-fullscreen-sections-link',
scrollClass: 'intro--scrolled',
duration: 1000,
afterScroll(instance) {
console.log(instance.element);
}
element: '#your-fullscreen-section',
wrapper: '#your-fullscreen-sections-wrapper',
container: '#your-fullscreen-sections-container',
trigger: '#your-fullscreen-sections-link',
scrollClass: 'intro--scrolled',
duration: 1000,
afterScroll(instance) {
console.log(instance.element);
}
});
```

For more details please see the [demo](https://github.com/scriptex/IntroScroll/blob/master/demo/index.html).

## Support this project

[![Tweet](https://img.shields.io/badge/Tweet-Share_this_repository-blue.svg?style=flat-square&logo=twitter&color=38A1F3)](https://twitter.com/intent/tweet?text=Checkout%20this%20awesome%20software%20project%3A&url=https%3A%2F%2Fgithub.com%2Fscriptex%2FIntroScroll&via=scriptexbg&hashtags=software%2Cgithub%2Ccode%2Cawesome)
[![Donate](https://img.shields.io/badge/Donate-Support_me_on_PayPal-blue.svg?style=flat-square&logo=paypal&color=222d65)](https://www.paypal.me/scriptex)
[![Become a Patron](https://img.shields.io/badge/Become_Patron-Support_me_on_Patreon-blue.svg?style=flat-square&logo=patreon&color=e64413)](https://www.patreon.com/atanas)

## LICENSE

MIT

---

<div align="center">
Connect with me:
</div>

<br />

<div align="center">
<a href="https://atanas.info">
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/logo.svg" height="20" alt="">
</a>
&nbsp;
<a href="mailto:hi@atanas.info">
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/email.svg" height="20" alt="">
</a>
&nbsp;
<a href="https://www.linkedin.com/in/scriptex/">
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/linkedin.svg" height="20" alt="">
</a>
&nbsp;
<a href="https://github.com/scriptex">
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/github.svg" height="20" alt="">
</a>
&nbsp;
<a href="https://gitlab.com/scriptex">
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/gitlab.svg" height="20" alt="">
</a>
&nbsp;
<a href="https://twitter.com/scriptexbg">
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/twitter.svg" height="20" alt="">
</a>
&nbsp;
<a href="https://www.npmjs.com/~scriptex">
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/npm.svg" height="20" alt="">
</a>
&nbsp;
<a href="https://www.youtube.com/user/scriptex">
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/youtube.svg" height="20" alt="">
</a>
&nbsp;
<a href="https://stackoverflow.com/users/4140082/atanas-atanasov">
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/stackoverflow.svg" height="20" alt="">
</a>
&nbsp;
<a href="https://codepen.io/scriptex/">
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/codepen.svg" width="20" alt="">
</a>
&nbsp;
<a href="https://profile.codersrank.io/user/scriptex">
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/codersrank.svg" height="20" alt="">
</a>
&nbsp;
<a href="https://linktr.ee/scriptex">
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/linktree.svg" height="20" alt="">
</a>
</div>

---

<div align="center">
Support and sponsor my work:
<br />
<br />
<a href="https://twitter.com/intent/tweet?text=Checkout%20this%20awesome%20developer%20profile%3A&url=https%3A%2F%2Fgithub.com%2Fscriptex&via=scriptexbg&hashtags=software%2Cgithub%2Ccode%2Cawesome" title="Tweet">
<img src="https://img.shields.io/badge/Tweet-Share_my_profile-blue.svg?logo=twitter&color=38A1F3" />
</a>
<a href="https://paypal.me/scriptex" title="Donate on Paypal">
<img src="https://img.shields.io/badge/Donate-Support_me_on_PayPal-blue.svg?logo=paypal&color=222d65" />
</a>
<a href="https://revolut.me/scriptex" title="Donate on Revolut">
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/revolut.json" />
</a>
<a href="https://patreon.com/atanas" title="Become a Patron">
<img src="https://img.shields.io/badge/Become_Patron-Support_me_on_Patreon-blue.svg?logo=patreon&color=e64413" />
</a>
<a href="https://ko-fi.com/scriptex" title="Buy Me A Coffee">
<img src="https://img.shields.io/badge/Donate-Buy%20me%20a%20coffee-yellow.svg?logo=ko-fi" />
</a>
<a href="https://liberapay.com/scriptex/donate" title="Donate on Liberapay">
<img src="https://img.shields.io/liberapay/receives/scriptex?label=Donate%20on%20Liberapay&logo=liberapay" />
</a>

<a href="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/bitcoin.json" title="Donate Bitcoin">
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/bitcoin.json" />
</a>
<a href="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/etherium.json" title="Donate Etherium">
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/etherium.json" />
</a>
<a href="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/shiba-inu.json" title="Donate Shiba Inu">
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/shiba-inu.json" />
</a>
</div>
Loading

1 comment on commit 2c4d740

@vercel
Copy link

@vercel vercel bot commented on 2c4d740 Sep 8, 2022

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

intro-scroll – ./

intro-scroll-git-master-atanas.vercel.app
intro-scroll.atanas.info
intro-scroll-atanas.vercel.app

Please sign in to comment.