Skip to content

Commit

Permalink
HOTFIX: change order of Cropwizard license disclaimer, more streamlined
Browse files Browse the repository at this point in the history
  • Loading branch information
KastanDay committed Jun 18, 2024
1 parent d611b08 commit c60a661
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Chat/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -824,10 +824,10 @@ export const Chat = memo(({ stopConversationRef, courseMetadata }: Props) => {
<h4
className={`text-md mb-2 text-white ${montserrat_paragraph.variable} font-montserratParagraph`}
>
Start a conversation below or try the following examples
{getCurrentPageName() === 'cropwizard-1.5' && (
<CropwizardLicenseDisclaimer />
)}
Start a conversation below or try the following examples
</h4>
<div className="mt-4 flex flex-col items-start space-y-2 overflow-hidden">
{statements.map((statement, index) => (
Expand Down
3 changes: 1 addition & 2 deletions src/components/Chat/NewChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -659,11 +659,10 @@ export const Chat = memo(({ stopConversationRef, courseMetadata }: Props) => {
<h4
className={`text-md mb-2 text-white ${montserrat_paragraph.variable} font-montserratParagraph`}
>
Start a conversation below or try the following examples
<br></br>
{getCurrentPageName() === 'cropwizard-1.5' && (
<CropwizardLicenseDisclaimer />
)}
Start a conversation below or try the following examples
</h4>

<div className="mt-4 flex flex-col items-start space-y-2 overflow-hidden">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/cropwizard-licenses.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ const CropwizardLicenses: NextPage = () => {
export const CropwizardLicenseDisclaimer = () => {
return (
<>
<br></br>
<span>
<p>
CropWizard&apos;s document corpus is{' '}
Expand All @@ -122,6 +121,7 @@ export const CropwizardLicenseDisclaimer = () => {
</Link>
</p>
</span>
<br></br>
</>
)
}
Expand Down

0 comments on commit c60a661

Please sign in to comment.