fixing things and little adjustments

This commit is contained in:
Arjun Patel
2022-01-20 23:26:01 -08:00
parent e41768e764
commit 907b3c359f
3 changed files with 8 additions and 8 deletions
+5 -5
View File
@@ -20,18 +20,18 @@ export default function Announcements(props: IVoiceDemoProps) {
setShowAnnouncement(true); setShowAnnouncement(true);
var audio = new Audio( var audio = new Audio(
"https://firebasestorage.googleapis.com/v0/b/nirvana-for-business.appspot.com/o/messages%2Fbb649032-64cc-46f7-b0b1-bcb57704a0a7.mp3?alt=media&token=919c596b-c829-4c70-85ce-134d5c348730" "https://firebasestorage.googleapis.com/v0/b/nirvana-for-business.appspot.com/o/messages%2Fb2858200-4a15-478a-b863-bdf88b26b2e4.mp3?alt=media&token=3ffc8955-50fa-4418-a146-1c73f56409d1"
); );
audio.play(); audio.play();
toast.success("Live Announcement from Arjun"); toast.success("Harold's saying his update!");
}, 2000); }, 2000);
setTimeout(function () { setTimeout(function () {
props.handleChangeDemoStep(DemoStep.doneDemo); props.handleChangeDemoStep(DemoStep.doneDemo);
toast.success("done with the demo!"); toast.success("done with the demo!");
}, 9000); }, 11000);
} }
}, [props.demoStep]); }, [props.demoStep]);
@@ -89,7 +89,7 @@ export default function Announcements(props: IVoiceDemoProps) {
<span className="bg-gray-200 bg-opacity-20 rounded-full shadow-md absolute w-full h-full"></span> <span className="bg-gray-200 bg-opacity-20 rounded-full shadow-md absolute w-full h-full"></span>
<Image <Image
src={"/avatars/svg/Artboards_Diversity_Avatars_by_Netguru-22.svg"} src={"/avatars/svg/Artboards_Diversity_Avatars_by_Netguru-29.svg"}
alt="profile" alt="profile"
width={50} width={50}
height={50} height={50}
@@ -97,7 +97,7 @@ export default function Announcements(props: IVoiceDemoProps) {
</span> </span>
<span className="flex flex-col items-baseline mr-5"> <span className="flex flex-col items-baseline mr-5">
<span className="text-md font-semibold text-gray-600">Arjun</span> <span className="text-md font-semibold text-gray-600">Harold</span>
<span className="text-xs text-gray-400">2 seconds ago</span> <span className="text-xs text-gray-400">2 seconds ago</span>
<span className="text-xs text-white bg-indigo-400 p-1 rounded-md font-semibold flex flex-row items-center"> <span className="text-xs text-white bg-indigo-400 p-1 rounded-md font-semibold flex flex-row items-center">
<span>engineering</span> <span>engineering</span>
+2 -2
View File
@@ -13,7 +13,7 @@ import { GlobalHotKeys, HotKeys, KeySequence, KeyMap } from "react-hotkeys";
let testFriends = [ let testFriends = [
{ {
name: "Liam", name: "Harold",
role: "engineer", role: "engineer",
systemAvatar: "29", systemAvatar: "29",
status: UserStatus.online, status: UserStatus.online,
@@ -224,7 +224,7 @@ function TeamVoiceLine(props: IVoiceDemoProps) {
title={ title={
"PRESS AND HOLD R (on your keyboard) to record a message and send" "PRESS AND HOLD R (on your keyboard) to record a message and send"
} }
defaultVisible={true} visible={!isRecording}
> >
<button <button
className={`rounded-lg py-1 px-2 shadow-lg className={`rounded-lg py-1 px-2 shadow-lg
+1 -1
View File
@@ -53,7 +53,7 @@ export default function VoiceLineConceptDemo() {
<button <button
onClick={() => setDemoStep(DemoStep.playDemo)} onClick={() => setDemoStep(DemoStep.playDemo)}
className="absolute right-0 bottom-0 className="absolute right-0 bottom-0
bg-gray-200 bg-opacity-30 py-2 px-2 rounded font-semibold inline-flex items-center text-teal-600 bg-gray-200 bg-opacity-30 py-2 px-2 rounded inline-flex items-center text-teal-600
space-x-2" space-x-2"
> >
<span>Reset Demo</span> <span>Reset Demo</span>