-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c8a9692
commit d863e14
Showing
8 changed files
with
171 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import React from "react"; | ||
import Dialog from "./Dialog"; | ||
import Button from "./Button"; | ||
import { useAuth } from "../hooks/useAuth"; | ||
|
||
export interface SignInDialogProps { | ||
show: boolean; | ||
close: () => void; | ||
} | ||
|
||
export const SignInDialog = ({ show, close }: SignInDialogProps) => { | ||
const { signIn } = useAuth(); | ||
|
||
return ( | ||
<Dialog | ||
header="Sign in 🔐" | ||
isShown={show} | ||
close={close} | ||
footerButton={<Button onClick={() => void signIn()}>Sign in</Button>} | ||
> | ||
<p> | ||
Please{" "} | ||
<a className="link" onClick={() => void signIn()}> | ||
sign in | ||
</a>{" "} | ||
to deploy an Agent! 🤖 | ||
</p> | ||
</Dialog> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import React from "react"; | ||
import Dialog from "./Dialog"; | ||
|
||
export interface WebSearchDialogProps { | ||
show: boolean; | ||
close: () => void; | ||
} | ||
|
||
export const SorryDialog = ({ show, close }: WebSearchDialogProps) => { | ||
return ( | ||
<Dialog header="Sorry! 😭" isShown={show} close={close}> | ||
<p>Due to costs, we've had to momentarily disable web search 🌐</p> | ||
<br /> | ||
<p> | ||
Please monitor our | ||
<a | ||
className="link" | ||
href="https://reworkd.github.io/AgentGPT-Documentation/docs/roadmap" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
Roadmap | ||
</a> | ||
to understand when it may be back up. | ||
</p> | ||
</Dialog> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d863e14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
agent-gpt – ./
agent-gpt-git-main-reworkd.vercel.app
agent-gpt-reworkd.vercel.app
agent-gpt.vercel.app
reworkd.ai
agent-gpt.reworkd.ai
agent.reworkd.ai
agentgpt.reworkd.ai