Skip to content

Commit

Permalink
Sarcastic Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
m-a-y-a-n-k committed Jan 22, 2023
1 parent 149d8b6 commit 971e886
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
5 changes: 3 additions & 2 deletions app/src/components/MicNotSupport.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,16 @@ const MicNotSupport = (props) => {
onChange={(event) => {
setText(event.target.value);
}}
placeholder="Resize for more space"
placeholder="Resize from bottom right corner for more space"
size="large"
resize="both"
style={{
backgroundColor: "rgb(4, 3, 31)",
color: text ? "white" : "rgb(175, 173, 209)",
fontSize: "0.6em",
padding: "12px 0 0 12px",
border: "none"
border: "none",
minWidth: 300,
}}
/>
<motion.div
Expand Down
4 changes: 4 additions & 0 deletions app/src/config/feedbackText.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@ export const feebackTextConfig = {
neutral: {
feedback: "Your point is taken",
ctaText: "Start Fresh"
},
mixed: {
feedback: "Not sure what that means. Sarcasm ?",
ctaText: "Clarify",
}
};
4 changes: 2 additions & 2 deletions app/src/config/micSupport.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export const micSupportConfig = {
"Try enabling your mic and refresh the page or type below and submit instead"
},
explicit: {
feedback: "Like the old conventional way ?. Got you covered.",
feedback: "Like the old conventional way ? Got you covered",
hint:
"Type below and submit. You can try out the mic also by tapping here."
"Type below and submit. You can try out the mic also by tapping here"
},
};
4 changes: 4 additions & 0 deletions app/src/styles/Feedback.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,9 @@
}

.feedback-btn[data-user-feedback="neutral"] {
background-color: hsl(0, 80%, 17%);
}

.feedback-btn[data-user-feedback="mixed"] {
background-color: hsl(34, 71%, 15%);
}
6 changes: 5 additions & 1 deletion app/src/styles/Landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,9 @@
}

.Landing[data-user-feedback="neutral"] {
background-color: hsl(19, 93%, 48%);
background-color: hsl(0, 89%, 51%);
}

.Landing[data-user-feedback="mixed"] {
background-color: hsl(19, 93%, 48%);
}

0 comments on commit 971e886

Please sign in to comment.