Skip to content

Commit 76ce1a5

Browse files
author
sw-yx
committed
update example
1 parent bc29cd1 commit 76ce1a5

File tree

3 files changed

+36
-5
lines changed

3 files changed

+36
-5
lines changed

example/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"react": "^16.8.6",
1010
"react-dom": "^16.8.6",
1111
"react-netlify-identity": "^0.1.9",
12-
"react-netlify-identity-widget": "^0.2.3",
12+
"react-netlify-identity-widget": "^0.2.5",
1313
"react-scripts": "^3.0.0"
1414
},
1515
"devDependencies": {

example/src/App.css

+31
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,34 @@
3131
transform: rotate(360deg);
3232
}
3333
}
34+
35+
.btn {
36+
display: block;
37+
position: relative;
38+
width: 100%;
39+
height: auto;
40+
margin: 14px 0 0;
41+
padding: 6px;
42+
/* outline: 0; */
43+
cursor: pointer;
44+
border: 2px solid rgb(14, 30, 37);
45+
border-radius: 4px;
46+
background-color: #2d3b41;
47+
color: #fff;
48+
-webkit-transition: background-color 0.2s ease;
49+
transition: background-color 0.2s ease;
50+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji',
51+
'Segoe UI Emoji', 'Segoe UI Symbol';
52+
font-size: 14px;
53+
font-weight: 500;
54+
line-height: 24px;
55+
text-align: center;
56+
text-decoration: none;
57+
white-space: nowrap;
58+
}
59+
60+
.btn:hover,
61+
.btn:focus {
62+
background-color: rgb(14, 30, 37);
63+
text-decoration: none;
64+
}

example/yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -9252,10 +9252,10 @@ react-is@^16.8.1, react-is@^16.8.4:
92529252
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.6.tgz#5bbc1e2d29141c9fbdfed456343fe2bc430a6a16"
92539253
integrity sha512-aUk3bHfZ2bRSVFFbbeVS4i+lNPZr3/WM5jT2J5omUVV1zzcs1nAaf3l51ctA5FFvCRbhrH0bdAsRRQddFJZPtA==
92549254

9255-
react-netlify-identity-widget@^0.2.3:
9256-
version "0.2.3"
9257-
resolved "https://registry.yarnpkg.com/react-netlify-identity-widget/-/react-netlify-identity-widget-0.2.3.tgz#5a2f48ab2125b5a2f10edbe8c331eba2b8f9983d"
9258-
integrity sha512-pISbof2xgeVR69hIEDb0aRZP49F4OQARFKOlkUHK1TciheS9xfGpZfM3MUdS/Nf1omz9MSNIq6oM10cLfxHNuw==
9255+
react-netlify-identity-widget@^0.2.5:
9256+
version "0.2.5"
9257+
resolved "https://registry.yarnpkg.com/react-netlify-identity-widget/-/react-netlify-identity-widget-0.2.5.tgz#a8a4a97e299aa8de67699e690db493b6e215dd49"
9258+
integrity sha512-xxkwWmYt6w3fE40pcCi3oDA/cYDAoY0h4vH878KJUrbN0hQV+2lgAIeETNHJcAL2i922QEkkCd8usgfzfK7Siw==
92599259

92609260
react-netlify-identity@^0.1.9:
92619261
version "0.1.9"

0 commit comments

Comments
 (0)