Skip to content

Commit 86d5b9b

Browse files
committed
chore: update README and example app
1 parent 82b6281 commit 86d5b9b

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
[![npm](https://img.shields.io/npm/dm/react-editext.svg)](https://www.npmjs.com/package/react-editext)
1313
[![Github](https://github.com/alioguzhan/react-editext/workflows/build/badge.svg)](https://github.com/alioguzhan/react-editext/actions)
1414
[![codecov](https://codecov.io/gh/alioguzhan/react-editext/branch/master/graph/badge.svg)](https://codecov.io/gh/alioguzhan/react-editext)
15-
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=alioguzhan_react-editext&metric=alert_status)](https://sonarcloud.io/dashboard?id=alioguzhan_react-editext)
1615
![Github All Contributors](https://img.shields.io/github/all-contributors/alioguzhan/react-editext)
1716
[![FreePalestine.Dev](https://freepalestine.dev/badge?t=d&u=0&r=1)](https://freepalestine.dev)
1817

example/index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33

44
<head>
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
77
<meta name="theme-color" content="#000000" />
88
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.1/css/bulma.min.css" />
9-
<script async defer src="https://unpkg.com/[email protected]/dist/buttons.min.js"
10-
integrity="sha384-k2PcLejv4uxzZOe/a6pBPIAhex6Y3KDXAaP32qRL/WBa1KqVkiK6EC89qQZZ3Uli"
11-
crossorigin="anonymous"></script>
129
<title>React EdiText</title>
1310
<!-- Google tag (gtag.js) -->
1411
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YGR7BPQH4C"></script>
1512
<script>
16-
window.dataLayer = window.dataLayer || [];
17-
function gtag() { dataLayer.push(arguments); }
18-
gtag('js', new Date());
13+
window.dataLayer = window.dataLayer || []
14+
function gtag() {
15+
dataLayer.push(arguments)
16+
}
17+
gtag('js', new Date())
1918

20-
gtag('config', 'G-YGR7BPQH4C');
19+
gtag('config', 'G-YGR7BPQH4C')
2120
</script>
2221
</head>
2322

@@ -26,6 +25,7 @@
2625

2726
<div id="root"></div>
2827
<script type="module" src="/src/index.tsx"></script>
28+
<script async defer src="https://buttons.github.io/buttons.js"></script>
2929
</body>
3030

31-
</html>
31+
</html>

example/src/App.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ export default function App() {
7878
<a
7979
className="github-button"
8080
href="https://github.com/alioguzhan/react-editext"
81+
data-color-scheme="no-preference: light; light: light; dark: dark;"
82+
data-icon="octicon-star"
8183
data-size="large"
8284
data-show-count="true"
8385
aria-label="Star alioguzhan/react-editext on GitHub"
@@ -89,6 +91,8 @@ export default function App() {
8991
<a
9092
className="github-button"
9193
href="https://github.com/alioguzhan/react-editext/fork"
94+
data-color-scheme="no-preference: light; light: light; dark: dark;"
95+
data-icon="octicon-repo-forked"
9296
data-size="large"
9397
data-show-count="true"
9498
aria-label="Fork alioguzhan/react-editext on GitHub"

0 commit comments

Comments
 (0)