Skip to content

Commit

Permalink
chore: add sponsor badge.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 27, 2023
1 parent 82f667c commit 42afe46
Show file tree
Hide file tree
Showing 28 changed files with 52 additions and 21 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
name: ${{ steps.create_tag.outputs.version }}
tag: ${{ steps.create_tag.outputs.version }}
body: |
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/uiwjs/react-login-page/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
Expand Down
3 changes: 3 additions & 0 deletions core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
<br />
<br />
<p align="center">
<a href="https://jaywcjlove.github.io/#/sponsor" target="__blank">
<img alt="Buy me a coffee" src="https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee">
</a>
<a href="https://www.npmjs.com/package/react-login-page" target="__blank">
<img alt="Downloads" src="https://img.shields.io/npm/dm/react-login-page.svg?style=flat">
</a>
Expand Down
1 change: 1 addition & 0 deletions core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.1",
"description": "Some `react` login pages, which can be used quickly after installation.",
"homepage": "https://uiwjs.github.io/react-login-page",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions pages/base/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# @react-login-page/base

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

Expand Down
1 change: 1 addition & 0 deletions pages/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.1",
"description": "Some `react` login pages, which can be used quickly after installation.",
"homepage": "https://uiwjs.github.io/react-login-page",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
23 changes: 12 additions & 11 deletions pages/page1/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@react-login-page/page1
===
# @react-login-page/page1

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

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

const styles= { height: 620 }
const styles = { height: 620 };

const Demo = () => (
<div style={styles}>
Expand Down Expand Up @@ -107,7 +107,7 @@ const css = {
'--login-bg': '#edeff3',
'--login-bg-from': '#46acfc',
'--login-bg-to': '#3ffbd8',
}
};

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

Expand All @@ -128,7 +128,7 @@ Custom CSS style overrides

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

```css
[data-color-mode*='dark'] .login-page-1, .login-page-1 {
[data-color-mode*='dark'] .login-page-1,
.login-page-1 {
--login-bg: #2c3338;
--login-color: #fff;
--login-bg-from: #FC466B;
--login-bg-to: #3F5EFB;
--login-bg-from: #fc466b;
--login-bg-to: #3f5efb;
}
[data-color-mode*='light'] .login-page-1 {
--login-bg: #edeff3;
--login-color: #3b4148;
--login-bg-from: #FC466B;
--login-bg-to: #3F5EFB;
--login-bg-from: #fc466b;
--login-bg-to: #3f5efb;
}
```

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

## License

Licensed under the MIT License.
Licensed under the MIT License.
1 change: 1 addition & 0 deletions pages/page1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.1",
"description": "Some `react` login pages, which can be used quickly after installation.",
"homepage": "https://uiwjs.github.io/react-login-page",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions pages/page10/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# @react-login-page/page10

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

Expand Down
1 change: 1 addition & 0 deletions pages/page10/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.1",
"description": "Some `react` login pages, which can be used quickly after installation.",
"homepage": "https://uiwjs.github.io/react-login-page",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions pages/page11/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# @react-login-page/page11

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

Expand Down
1 change: 1 addition & 0 deletions pages/page11/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.1",
"description": "Some `react` login pages, which can be used quickly after installation.",
"homepage": "https://uiwjs.github.io/react-login-page",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
21 changes: 11 additions & 10 deletions pages/page2/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@react-login-page/page2
===
# @react-login-page/page2

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

Expand Down Expand Up @@ -46,7 +46,7 @@ import LoginPage, { Email, Password, Submit, Title, Logo, Reset } from '@react-l
import defaultBannerImage from '@react-login-page/page2/banner-image';
import LoginLogo from 'react-login-page/logo';

const styles= { height: 580 }
const styles = { height: 580 };

const Demo = () => (
<div style={styles}>
Expand Down Expand Up @@ -143,7 +143,7 @@ const css = {
'--login-btn-bg-focus': '#57b846',
'--login-btn-bg-hover': '#333',
'--login-btn-bg-active': '#57b846',
}
};

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

Expand All @@ -154,7 +154,7 @@ Use css variables to override default color values
```css
.login-page2 {
--login-bg: linear-gradient(-135deg,#c850c0,#4158d0);
--login-bg: linear-gradient(-135deg, #c850c0, #4158d0);
--login-color: #333;
--login-inner-bg: #fff;
--login-input: #57b846;
Expand All @@ -172,7 +172,7 @@ Custom CSS style overrides
```css
.login-page2 section button:focus {
box-shadow: 0 0 0 2px rgba(0,142,240,.26);
box-shadow: 0 0 0 2px rgba(0, 142, 240, 0.26);
}
.login-page2 section button:hover {
background-color: #0070bd;
Expand All @@ -185,8 +185,9 @@ Custom CSS style overrides
## Light & Dark Theme
```css
[data-color-mode*='dark'] .login-page2, .login-page2 {
--login-bg: linear-gradient(-135deg,#c850c0,#4158d0);
[data-color-mode*='dark'] .login-page2,
.login-page2 {
--login-bg: linear-gradient(-135deg, #c850c0, #4158d0);
--login-color: #333;
--login-inner-bg: #fff;
--login-input: #666;
Expand All @@ -199,7 +200,7 @@ Custom CSS style overrides
--login-btn-bg-active: #57b846;
}
[data-color-mode*='light'] .login-page2 {
--login-bg: linear-gradient(-135deg,#c850c0,#4158d0);
--login-bg: linear-gradient(-135deg, #c850c0, #4158d0);
--login-color: #333;
--login-inner-bg: #fff;
--login-input: #57b846;
Expand Down Expand Up @@ -293,4 +294,4 @@ Made with [contributors](https://github.com/jaywcjlove/github-action-contributor
## License
Licensed under the MIT License.
Licensed under the MIT License.
1 change: 1 addition & 0 deletions pages/page2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.1",
"description": "Some `react` login pages, which can be used quickly after installation.",
"homepage": "https://uiwjs.github.io/react-login-page",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions pages/page3/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# @react-login-page/page3

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

Expand Down
1 change: 1 addition & 0 deletions pages/page3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.1",
"description": "Some `react` login pages, which can be used quickly after installation.",
"homepage": "https://uiwjs.github.io/react-login-page",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions pages/page4/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# @react-login-page/page4

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

Expand Down
1 change: 1 addition & 0 deletions pages/page4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.1",
"description": "Some `react` login pages, which can be used quickly after installation.",
"homepage": "https://uiwjs.github.io/react-login-page",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions pages/page5/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# @react-login-page/page5

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

Expand Down
1 change: 1 addition & 0 deletions pages/page5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.1",
"description": "Some `react` login pages, which can be used quickly after installation.",
"homepage": "https://uiwjs.github.io/react-login-page",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions pages/page6/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# @react-login-page/page6

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

Expand Down
1 change: 1 addition & 0 deletions pages/page6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.1",
"description": "Some `react` login pages, which can be used quickly after installation.",
"homepage": "https://uiwjs.github.io/react-login-page",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions pages/page7/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# @react-login-page/page7

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

Expand Down
1 change: 1 addition & 0 deletions pages/page7/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.1",
"description": "Some `react` login pages, which can be used quickly after installation.",
"homepage": "https://uiwjs.github.io/react-login-page",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions pages/page8/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# @react-login-page/page8

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

Expand Down
1 change: 1 addition & 0 deletions pages/page8/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.1",
"description": "Some `react` login pages, which can be used quickly after installation.",
"homepage": "https://uiwjs.github.io/react-login-page",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions pages/page9/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# @react-login-page/page9

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

Expand Down
1 change: 1 addition & 0 deletions pages/page9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.1",
"description": "Some `react` login pages, which can be used quickly after installation.",
"homepage": "https://uiwjs.github.io/react-login-page",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"main": "./cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"version": "1.0.1",
"description": "Website",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"scripts": {
Expand Down

0 comments on commit 42afe46

Please sign in to comment.