Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore:disable publicchtbot #97

Open
wants to merge 3 commits into
base: feat/typescript
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore:disable publicchtbot
  • Loading branch information
kitretsu2809 committed Oct 29, 2024
commit 842c3de22e05a43f677e6ddcf17964e85e251145
2 changes: 1 addition & 1 deletion frontend/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
7 changes: 5 additions & 2 deletions frontend/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@ export default function Home() {
const [isModalOpen, setIsModalOpen] = useState<boolean>(false);
const [isChatBotModalOpen, setISChatBotModalOpen] = useState<boolean>(false);
const [redirect, setRedirect] = useState<string>("");
const [isHoveringChatBot,setIsHoveringChatBot]=useState<boolean>(false);

const openModal = (redirect:string) => {
setIsModalOpen(true);
@@ -91,11 +92,13 @@ export default function Home() {
</div>
<div
className="flex items-center justify-center py-4 w-full px-8 rounded-full bg-customBlue text-white hover:bg-blue-600 focus:outline-none hover:cursor-pointer focus:ring-2 focus:ring-customBlue focus:ring-opacity-50"
onClick={goToPublicChat}
onClick={()=>window.open("/404", "_blank")}
onMouseEnter={() => setIsHoveringChatBot(true)}
onMouseLeave={() => setIsHoveringChatBot(false)}
>
<p className="font-Roboto font-medium text-xl tracking-tighter flex gap-2">
<Image alt={"slack logo"} src={SlackLogo} />
PUBLIC MDG CHAT FORUM
{isHoveringChatBot ? "COMING SOON" : "PUBLIC MDG CHAT FORUM"}
</p>
</div>
</div>