Skip to content

Commit 2c4d740

Browse files
committed
Update various files
1 parent 342f2ad commit 2c4d740

File tree

12 files changed

+720
-1144
lines changed

12 files changed

+720
-1144
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
99
liberapay: scriptex
1010
issuehunt: scriptex
1111
otechie: # Replace with a single Otechie username
12-
custom: ['paypal.me/scriptex']
12+
custom: ['paypal.me/scriptex', 'revolut.me/scriptex']

.github/workflows/build.yml

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,20 @@
1-
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3-
41
name: Build
52

6-
on:
7-
push:
8-
branches: [ master ]
9-
pull_request:
10-
branches: [ master ]
3+
on: [push, pull_request]
114

125
jobs:
13-
build:
14-
15-
runs-on: ubuntu-latest
6+
build:
7+
runs-on: ubuntu-latest
168

17-
strategy:
18-
matrix:
19-
node-version: [10.x, 12.x, 14.x]
9+
strategy:
10+
matrix:
11+
node-version: [14.x, 16.x]
2012

21-
steps:
22-
- uses: actions/checkout@v3
23-
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v3
25-
with:
26-
node-version: ${{ matrix.node-version }}
27-
- run: yarn
28-
- run: yarn build
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Use Node.js ${{ matrix.node-version }}
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
- run: yarn
20+
- run: yarn deploy

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ node_modules/
1616
.Trashes
1717
ehthumbs.db
1818
Thumbs.db
19+
20+
dist
21+
demo/*.css
22+
demo/*.js

.npmignore

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ yarn-debug.log*
66
yarn-error.log*
77

88
# Dependency directory
9-
node_modules/
9+
node_modules
1010

1111
# Misc
1212
.DS_Store
@@ -17,24 +17,25 @@ node_modules/
1717
ehthumbs.db
1818
Thumbs.db
1919

20-
# EditorConfig
20+
# Config folders and files
21+
.github
22+
_config.yml
23+
_.config.yml
24+
.babelrc
2125
.editorconfig
22-
23-
# Git
24-
.gitignore
2526
.gitattributes
26-
27-
# CI
28-
.travis.yml
29-
30-
# lock files
31-
yarn.lock
32-
33-
# Prettier
34-
.prettierrc
27+
.gitignore
28+
.nvmrc
3529
.prettierignore
36-
37-
# Config files
38-
.babelrc
30+
.prettierrc
31+
.stylelintignore
32+
.stylelintrc
33+
.travis.yml
3934
.whitesource
4035
renovate.json
36+
tsconfig.json
37+
tslint.json
38+
yarn.lock
39+
40+
!dist
41+
Footer

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ node_js:
55
install:
66
- yarn
77
script:
8-
- yarn build
8+
- yarn deploy

.whitesource

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
"checkRunSettings": {
66
"vulnerableCheckRunConclusionLevel": "success"
77
}
8-
}
8+
}

README.md

Lines changed: 128 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,31 @@
1-
[![GitHub release](https://img.shields.io/github/release/scriptex/IntroScroll.svg)](https://github.com/scriptex/IntroScroll/releases/latest)
2-
[![GitHub issues](https://img.shields.io/github/issues/scriptex/IntroScroll.svg)](https://github.com/scriptex/IntroScroll/issues)
3-
[![GitHub last commit](https://img.shields.io/github/last-commit/scriptex/IntroScroll.svg)](https://github.com/scriptex/IntroScroll/commits/master)
4-
[![Github file size](https://img.shields.io/github/size/scriptex/IntroScroll/dist/introscroll.min.js.svg)](https://github.com/scriptex/IntroScroll)
5-
[![Build Status](https://travis-ci.com/scriptex/IntroScroll.svg?branch=master)](https://travis-ci.com/scriptex/IntroScroll)
6-
[![npm](https://img.shields.io/npm/dt/introscroll.svg)](https://www.npmjs.com/package/introscroll)
7-
[![npm](https://img.shields.io/npm/v/introscroll.svg)](https://www.npmjs.com/package/introscroll)
8-
[![Analytics](https://ga-beacon.appspot.com/UA-83446952-1/github.com/scriptex/IntroScroll/README.md)](https://github.com/scriptex/IntroScroll/)
1+
[![Travis CI](https://travis-ci.com/scriptex/IntroScroll.svg?branch=master)](https://travis-ci.com/scriptex/IntroScroll)
2+
[![Github Build](https://github.com/scriptex/IntroScroll/workflows/Build/badge.svg)](https://github.com/scriptex/IntroScroll/actions?query=workflow%3ABuild)
3+
[![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)
4+
[![Codebeat Badge](https://codebeat.co/badges/d765a4c8-2c0e-44f2-89c3-fa364fdc14e6)](https://codebeat.co/projects/github-com-scriptex-IntroScroll-master)
5+
[![CodeFactor Badge](https://www.codefactor.io/repository/github/scriptex/IntroScroll/badge)](https://www.codefactor.io/repository/github/scriptex/IntroScroll)
6+
[![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)
7+
[![Analytics](https://ga-beacon-361907.ew.r.appspot.com/UA-83446952-1/github.com/scriptex/IntroScroll/README.md?pixel)](https://github.com/scriptex/IntroScroll/)
98

109
# IntroScroll
1110

12-
Create a fullscreen intro section and dismiss it in a single gesture.
11+
> Create a fullscreen intro section and dismiss it in a single gesture.
12+
13+
See the demo [here](https://intro-scroll.atanas.info/)
14+
15+
## Visitor stats
16+
17+
![GitHub stars](https://img.shields.io/github/stars/scriptex/IntroScroll?style=social)
18+
![GitHub forks](https://img.shields.io/github/forks/scriptex/IntroScroll?style=social)
19+
![GitHub watchers](https://img.shields.io/github/watchers/scriptex/IntroScroll?style=social)
20+
![GitHub followers](https://img.shields.io/github/followers/scriptex?style=social)
21+
22+
## Code stats
23+
24+
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/scriptex/IntroScroll)
25+
![GitHub repo size](https://img.shields.io/github/repo-size/scriptex/IntroScroll?style=plastic)
26+
![GitHub language count](https://img.shields.io/github/languages/count/scriptex/IntroScroll?style=plastic)
27+
![GitHub top language](https://img.shields.io/github/languages/top/scriptex/IntroScroll?style=plastic)
28+
![GitHub last commit](https://img.shields.io/github/last-commit/scriptex/IntroScroll?style=plastic)
1329

1430
## Description
1531

@@ -55,26 +71,114 @@ or add your own settings
5571

5672
```javascript
5773
const intro = new IntroScroll({
58-
element: '#your-fullscreen-section',
59-
wrapper: '#your-fullscreen-sections-wrapper',
60-
container: '#your-fullscreen-sections-container',
61-
trigger: '#your-fullscreen-sections-link',
62-
scrollClass: 'intro--scrolled',
63-
duration: 1000,
64-
afterScroll(instance) {
65-
console.log(instance.element);
66-
}
74+
element: '#your-fullscreen-section',
75+
wrapper: '#your-fullscreen-sections-wrapper',
76+
container: '#your-fullscreen-sections-container',
77+
trigger: '#your-fullscreen-sections-link',
78+
scrollClass: 'intro--scrolled',
79+
duration: 1000,
80+
afterScroll(instance) {
81+
console.log(instance.element);
82+
}
6783
});
6884
```
6985

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

72-
## Support this project
73-
74-
[![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)
75-
[![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)
76-
[![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)
77-
7888
## LICENSE
7989

8090
MIT
91+
92+
---
93+
94+
<div align="center">
95+
Connect with me:
96+
</div>
97+
98+
<br />
99+
100+
<div align="center">
101+
<a href="https://atanas.info">
102+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/logo.svg" height="20" alt="">
103+
</a>
104+
&nbsp;
105+
<a href="mailto:[email protected]">
106+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/email.svg" height="20" alt="">
107+
</a>
108+
&nbsp;
109+
<a href="https://www.linkedin.com/in/scriptex/">
110+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/linkedin.svg" height="20" alt="">
111+
</a>
112+
&nbsp;
113+
<a href="https://github.com/scriptex">
114+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/github.svg" height="20" alt="">
115+
</a>
116+
&nbsp;
117+
<a href="https://gitlab.com/scriptex">
118+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/gitlab.svg" height="20" alt="">
119+
</a>
120+
&nbsp;
121+
<a href="https://twitter.com/scriptexbg">
122+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/twitter.svg" height="20" alt="">
123+
</a>
124+
&nbsp;
125+
<a href="https://www.npmjs.com/~scriptex">
126+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/npm.svg" height="20" alt="">
127+
</a>
128+
&nbsp;
129+
<a href="https://www.youtube.com/user/scriptex">
130+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/youtube.svg" height="20" alt="">
131+
</a>
132+
&nbsp;
133+
<a href="https://stackoverflow.com/users/4140082/atanas-atanasov">
134+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/stackoverflow.svg" height="20" alt="">
135+
</a>
136+
&nbsp;
137+
<a href="https://codepen.io/scriptex/">
138+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/codepen.svg" width="20" alt="">
139+
</a>
140+
&nbsp;
141+
<a href="https://profile.codersrank.io/user/scriptex">
142+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/codersrank.svg" height="20" alt="">
143+
</a>
144+
&nbsp;
145+
<a href="https://linktr.ee/scriptex">
146+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/linktree.svg" height="20" alt="">
147+
</a>
148+
</div>
149+
150+
---
151+
152+
<div align="center">
153+
Support and sponsor my work:
154+
<br />
155+
<br />
156+
<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">
157+
<img src="https://img.shields.io/badge/Tweet-Share_my_profile-blue.svg?logo=twitter&color=38A1F3" />
158+
</a>
159+
<a href="https://paypal.me/scriptex" title="Donate on Paypal">
160+
<img src="https://img.shields.io/badge/Donate-Support_me_on_PayPal-blue.svg?logo=paypal&color=222d65" />
161+
</a>
162+
<a href="https://revolut.me/scriptex" title="Donate on Revolut">
163+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/revolut.json" />
164+
</a>
165+
<a href="https://patreon.com/atanas" title="Become a Patron">
166+
<img src="https://img.shields.io/badge/Become_Patron-Support_me_on_Patreon-blue.svg?logo=patreon&color=e64413" />
167+
</a>
168+
<a href="https://ko-fi.com/scriptex" title="Buy Me A Coffee">
169+
<img src="https://img.shields.io/badge/Donate-Buy%20me%20a%20coffee-yellow.svg?logo=ko-fi" />
170+
</a>
171+
<a href="https://liberapay.com/scriptex/donate" title="Donate on Liberapay">
172+
<img src="https://img.shields.io/liberapay/receives/scriptex?label=Donate%20on%20Liberapay&logo=liberapay" />
173+
</a>
174+
175+
<a href="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/bitcoin.json" title="Donate Bitcoin">
176+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/bitcoin.json" />
177+
</a>
178+
<a href="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/etherium.json" title="Donate Etherium">
179+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/etherium.json" />
180+
</a>
181+
<a href="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/shiba-inu.json" title="Donate Shiba Inu">
182+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/shiba-inu.json" />
183+
</a>
184+
</div>

0 commit comments

Comments
 (0)