Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nx-cloud): add styles and cleanup to ai feed container (#18593)
- Loading branch information
Showing
18 changed files
with
555 additions
and
303 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
// Use this file to export React client components (e.g. those with 'use client' directive) or other non-server utilities | ||
|
||
export * from './lib/feature-ai'; | ||
export * from './lib/feed-container'; |
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,19 @@ | ||
import { XCircleIcon } from '@heroicons/react/24/outline'; | ||
|
||
export function ErrorMessage({ error }: { error: any }): JSX.Element { | ||
return ( | ||
<div className="rounded-md bg-red-50 p-4"> | ||
<div className="flex"> | ||
<div className="flex-shrink-0"> | ||
<XCircleIcon className="h-5 w-5 text-red-400" aria-hidden="true" /> | ||
</div> | ||
<div className="ml-3"> | ||
<h3 className="text-sm font-medium text-red-800"> | ||
Oopsies! I encountered an error | ||
</h3> | ||
<div className="mt-2 text-sm text-red-700">{error['message']}</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
a29de8b
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:
nx-dev – ./
nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx-dev-nrwl.vercel.app
nx.dev