diff --git a/components/slack/slack-events.js b/components/slack/slack-events.js
index c0914e3f..fdd705b0 100644
--- a/components/slack/slack-events.js
+++ b/components/slack/slack-events.js
@@ -119,29 +119,26 @@ const SlackEvents = ({ sx, color, textColor, ...props }) => {
return (
- `linear-gradient(rgba(255,255,255,0), ${
+ `linear-gradient(to left,rgba(255,255,255,0), ${
color || theme.colors.white
})`
},
@@ -162,15 +159,7 @@ const SlackEvents = ({ sx, color, textColor, ...props }) => {
)}
>
))}
-
-
-
-
-
-
-
-
-
+
)
}
diff --git a/pages/api/join.js b/pages/api/join.js
index 827f42cb..84a6600e 100644
--- a/pages/api/join.js
+++ b/pages/api/join.js
@@ -36,6 +36,7 @@ export default async function handler(req, res) {
error: '*PUT that request away!* (Method not allowed, use POST)'
})
case 'POST':
+ console.log("POST request received. WOO!")
break
default:
return res.status(405).json({ error: 'Method not allowed, use POST' })
@@ -93,6 +94,7 @@ export default async function handler(req, res) {
res.json({ status: 'success', message: 'You’ve been invited to Slack!' })
)
.catch(error => {
+ console.error(error)
res.status(500).json({ error })
})
}
diff --git a/pages/slack.js b/pages/slack.js
index fe95770b..91db8726 100644
--- a/pages/slack.js
+++ b/pages/slack.js
@@ -62,14 +62,18 @@ const SlackPage = () => {
},
onUpdate: function() {
const progress = this.progress();
- if (progress < 0.25) {
+ if (progress < 1/6) {
setColors(['red', '#F58695']);
- } else if (progress < 0.5) {
+ } else if (progress < 2/6) {
setColors(['orange', '#F2A510']);
- } else if (progress < 0.75) {
+ } else if (progress < 3/6) {
setColors(['yellow', '#FAE078']);
- } else {
+ } else if (progress < 4/6) {
setColors(['green', '#51F5C5']);
+ } else if (progress < 5/6) {
+ setColors(['blue', 'cyan']);
+ } else {
+ setColors(['purple', '#b46ed5']);
}
}
}
@@ -252,13 +256,12 @@ const SlackPage = () => {
as="h2"
variant="subheadline"
sx={{
- mt: 0,
- mb: 0,
textTransform: 'uppercase',
- letterSpacing: 'headline'
+ letterSpacing: 'headline',
+ width: '400px',
}}
>
- Live from our Slack
+ Live from our Slack...
@@ -270,7 +273,7 @@ const SlackPage = () => {
t.util.gx(color[0], color[1]),
- width: '400%',
+ width: '600%',
height: '100vh',
justifyItems: 'center',
alignItems: 'center',
@@ -332,6 +335,30 @@ const SlackPage = () => {
+
+
+
+ BCI
+
+
+ Nest's team organizes in #nest Velit voluptate deserunt consequat. Velit
+ voluptate deserunt consequat.Velit voluptate
+ deserunt consequat.
+
+
+
+
+
+
+ Purple Bubble
+
+
+ Nest's team organizes in #nest Velit voluptate deserunt consequat. Velit
+ voluptate deserunt consequat.Velit voluptate
+ deserunt consequat.
+
+
+