forked from matijagrcic/azurechatgpt
-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'microsoft:main' into main
- Loading branch information
Showing
4 changed files
with
50 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import Typography from "@/components/typography"; | ||
import { Card } from "@/components/ui/card"; | ||
import Image from "next/image"; | ||
import { FC } from "react"; | ||
import { NewChat } from "../chat-menu/new-chat"; | ||
|
||
interface Prop {} | ||
|
||
export const StartNewChat: FC<Prop> = (props) => { | ||
return ( | ||
<div className="grid grid-cols-5 w-full items-center container mx-auto max-w-3xl justify-center h-full gap-9"> | ||
<div className="col-span-2 gap-5 flex flex-col flex-1"> | ||
<Image width={180} height={180} alt="" src="/ai-icon.png" /> | ||
</div> | ||
<Card className="col-span-3 flex flex-col gap-5 p-5 "> | ||
<Typography variant="h4" className="text-brand"> | ||
Azure ChatGPT | ||
</Typography> | ||
<div className="flex flex-col gap-2"> | ||
<p className=""> | ||
Welcome to Azure ChatGPT. You should interact in a friendly manner | ||
with the AI assistant and refrain from participating in any harmful | ||
activities. | ||
</p> | ||
<p>You can start a new chat with me by clicking the button below.</p> | ||
</div> | ||
<div className="-mx-5 -mb-5 p-5 flex flex-col border-t bg-muted"> | ||
<NewChat /> | ||
</div> | ||
</Card> | ||
</div> | ||
); | ||
}; |