Skip to content

Commit 42afe46

Browse files
committed
chore: add sponsor badge.
1 parent 82f667c commit 42afe46

28 files changed

+52
-21
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ jobs:
7474
name: ${{ steps.create_tag.outputs.version }}
7575
tag: ${{ steps.create_tag.outputs.version }}
7676
body: |
77+
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
78+
7779
Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/uiwjs/react-login-page/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
7880
Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
7981

core/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
<br />
1414
<br />
1515
<p align="center">
16+
<a href="https://jaywcjlove.github.io/#/sponsor" target="__blank">
17+
<img alt="Buy me a coffee" src="https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee">
18+
</a>
1619
<a href="https://www.npmjs.com/package/react-login-page" target="__blank">
1720
<img alt="Downloads" src="https://img.shields.io/npm/dm/react-login-page.svg?style=flat">
1821
</a>

core/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "1.0.1",
44
"description": "Some `react` login pages, which can be used quickly after installation.",
55
"homepage": "https://uiwjs.github.io/react-login-page",
6+
"funding": "https://jaywcjlove.github.io/#/sponsor",
67
"author": "kenny wong <[email protected]>",
78
"license": "MIT",
89
"main": "./cjs/index.js",

pages/base/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# @react-login-page/base
22

3+
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
34
[![npm version](https://img.shields.io/npm/v/@react-login-page/base.svg)](https://www.npmjs.com/package/@react-login-page/base)
45
[![Downloads](https://img.shields.io/npm/dm/@react-login-page/base.svg?style=flat)](https://www.npmjs.com/package/@react-login-page/base)
56

pages/base/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "1.0.1",
44
"description": "Some `react` login pages, which can be used quickly after installation.",
55
"homepage": "https://uiwjs.github.io/react-login-page",
6+
"funding": "https://jaywcjlove.github.io/#/sponsor",
67
"author": "kenny wong <[email protected]>",
78
"license": "MIT",
89
"main": "./cjs/index.js",

pages/page1/README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@react-login-page/page1
2-
===
1+
# @react-login-page/page1
32

3+
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
44
[![npm version](https://img.shields.io/npm/v/@react-login-page/page1.svg)](https://www.npmjs.com/package/@react-login-page/page1)
55
[![Downloads](https://img.shields.io/npm/dm/@react-login-page/page1.svg?style=flat)](https://www.npmjs.com/package/@react-login-page/page1)
66

@@ -35,7 +35,7 @@ import React from 'react';
3535
import LoginPage, { Username, Password, Submit, Title, Logo, Reset } from '@react-login-page/page1';
3636
import LoginLogo from 'react-login-page/logo';
3737

38-
const styles= { height: 620 }
38+
const styles = { height: 620 };
3939

4040
const Demo = () => (
4141
<div style={styles}>
@@ -107,7 +107,7 @@ const css = {
107107
'--login-bg': '#edeff3',
108108
'--login-bg-from': '#46acfc',
109109
'--login-bg-to': '#3ffbd8',
110-
}
110+
};
111111

112112
const Demo = () => <Login style={{ height: 620, ...css }} />;
113113

@@ -128,7 +128,7 @@ Custom CSS style overrides
128128

129129
```css
130130
.login-page-1 section button:focus {
131-
box-shadow: 0 0 0 2px rgba(0,142,240,.26);
131+
box-shadow: 0 0 0 2px rgba(0, 142, 240, 0.26);
132132
}
133133
.login-page-1 section button:hover {
134134
background-color: #0070bd;
@@ -141,17 +141,18 @@ Custom CSS style overrides
141141
## Light & Dark Theme
142142

143143
```css
144-
[data-color-mode*='dark'] .login-page-1, .login-page-1 {
144+
[data-color-mode*='dark'] .login-page-1,
145+
.login-page-1 {
145146
--login-bg: #2c3338;
146147
--login-color: #fff;
147-
--login-bg-from: #FC466B;
148-
--login-bg-to: #3F5EFB;
148+
--login-bg-from: #fc466b;
149+
--login-bg-to: #3f5efb;
149150
}
150151
[data-color-mode*='light'] .login-page-1 {
151152
--login-bg: #edeff3;
152153
--login-color: #3b4148;
153-
--login-bg-from: #FC466B;
154-
--login-bg-to: #3F5EFB;
154+
--login-bg-from: #fc466b;
155+
--login-bg-to: #3f5efb;
155156
}
156157
```
157158

@@ -220,4 +221,4 @@ Made with [contributors](https://github.com/jaywcjlove/github-action-contributor
220221

221222
## License
222223

223-
Licensed under the MIT License.
224+
Licensed under the MIT License.

pages/page1/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "1.0.1",
44
"description": "Some `react` login pages, which can be used quickly after installation.",
55
"homepage": "https://uiwjs.github.io/react-login-page",
6+
"funding": "https://jaywcjlove.github.io/#/sponsor",
67
"author": "kenny wong <[email protected]>",
78
"license": "MIT",
89
"main": "./cjs/index.js",

pages/page10/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# @react-login-page/page10
22

3+
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
34
[![npm version](https://img.shields.io/npm/v/@react-login-page/page10.svg)](https://www.npmjs.com/package/@react-login-page/page10)
45
[![Downloads](https://img.shields.io/npm/dm/@react-login-page/page10.svg?style=flat)](https://www.npmjs.com/package/@react-login-page/page10)
56

pages/page10/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "1.0.1",
44
"description": "Some `react` login pages, which can be used quickly after installation.",
55
"homepage": "https://uiwjs.github.io/react-login-page",
6+
"funding": "https://jaywcjlove.github.io/#/sponsor",
67
"author": "kenny wong <[email protected]>",
78
"license": "MIT",
89
"main": "./cjs/index.js",

pages/page11/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# @react-login-page/page11
22

3+
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
34
[![npm version](https://img.shields.io/npm/v/@react-login-page/page11.svg)](https://www.npmjs.com/package/@react-login-page/page11)
45
[![Downloads](https://img.shields.io/npm/dm/@react-login-page/page11.svg?style=flat)](https://www.npmjs.com/package/@react-login-page/page11)
56

0 commit comments

Comments
 (0)