Skip to content

Commit 2db67a6

Browse files
committed
Change: add slackin badge
1 parent 8214dc1 commit 2db67a6

File tree

4 files changed

+63
-13
lines changed

4 files changed

+63
-13
lines changed

download/.keep

Whitespace-only changes.

package-lock.json

Lines changed: 30 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
8-
"dev": "parcel src/index.html --no-autoinstall --open",
8+
"dev": "parcel src/index.html --no-autoinstall --open --port 3000",
99
"build": "parcel build src/index.html -d ."
1010
},
1111
"repository": {

src/index.html

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,46 @@
66
html, body {
77
margin: 0;
88
padding: 0;
9+
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
910
}
1011

1112
canvas {
1213
width: 100%;
1314
height: 100%;
1415
}
16+
17+
#join-slackin {
18+
position: absolute;
19+
top: 30px;
20+
right: 30px;
21+
color: white;
22+
display: block;
23+
line-height: 20px;
24+
height: 20px;
25+
text-decoration: none;
26+
transition: all 0.25s ease-in-out;
27+
transform: scale(1);
28+
border-bottom: 2px solid rgba(121,82,187, 0);
29+
padding: 3px;
30+
}
31+
32+
#join-slackin:hover, #join-slackin:active, #join-slackin:focus {
33+
transform: scale(1.1);
34+
border-bottom: 2px solid rgba(121,82,187, 1);
35+
}
36+
37+
#slackin-badge {
38+
display: inline-block;
39+
height: 20px;
40+
vertical-align: top;
41+
}
1542
</style>
1643
</head>
1744
<body>
45+
<a href="https://slackin-div.herokuapp.com/" target="_blank" id="join-slackin">
46+
Join our slack channel
47+
<img src="https://slackin-div.herokuapp.com/badge.svg" id="slackin-badge" />
48+
</a>
1849
<script src="js/main.js"></script>
1950
</body>
20-
</html>
51+
</html>

0 commit comments

Comments
 (0)