Skip to content

Commit

Permalink
#93 Minor tweaks for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
santthosh committed Jun 28, 2024
1 parent 8909d2d commit 091b2e5
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/app/assistants/CreateAssistant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function CreateAssistant() {
</p>
<p className='flex self-center'>
<Button
gradientDuoTone='purpleToBlue'
gradientDuoTone='greenToBlue'
onClick={() => setOpenCreateAssistantModal(true)}
>
Create Assistant
Expand Down
2 changes: 1 addition & 1 deletion src/app/assistants/CreateAssistantModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export default function CreateAssistantModal(props: CreateAssistantProps) {
</Modal.Body>
<Modal.Footer>
<Button
gradientDuoTone='purpleToBlue'
gradientDuoTone='greenToBlue'
onClick={handleCreateAssistant}
disabled={!name}
isProcessing={creatingAssistant}
Expand Down
2 changes: 1 addition & 1 deletion src/app/assistants/ListAssistants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function ListAssistants() {
<div>
<Button
className='float-right'
gradientDuoTone='purpleToBlue'
gradientDuoTone='greenToBlue'
onClick={() => setOpenCreateAssistantModal(true)}
>
<HiPlus className='mr-2 h-5 w-5' /> Create Assistant
Expand Down
2 changes: 1 addition & 1 deletion src/app/assistants/[id]/documents/DocumentsManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default function DocumentsManager() {
/>
<Button
className='float-right'
gradientDuoTone='purpleToBlue'
gradientDuoTone='greenToBlue'
onClick={() =>
document.getElementById('dropzone-file-hidden')?.click()
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/assistants/[id]/settings/EditAssistant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export default function EditAssistant(props: EditAssistantProps) {
</div>*/}
<div>
<Button
gradientDuoTone='purpleToBlue'
gradientDuoTone='greenToBlue'
outline={true}
onClick={handleEditAssistant}
disabled={!name}
Expand Down
2 changes: 1 addition & 1 deletion src/app/settings/ModelProviderKeys.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export default function ModelProviderKeys(props: ModelProviderKeysProps) {
{!key.disabled ? (
<Button
size='md'
gradientDuoTone='purpleToBlue'
gradientDuoTone='greenToBlue'
disabled={!key.dirty}
isProcessing={key.saving}
onClick={(e) => {
Expand Down
3 changes: 1 addition & 2 deletions src/components/signin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ export const SignIn = function (

return (
<Button
outline
gradientDuoTone='purpleToBlue'
gradientDuoTone='greenToBlue'
size='sm'
onClick={() => {
router.push('/api/auth/login');
Expand Down
8 changes: 4 additions & 4 deletions src/components/user-profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,22 @@ export const UserProfile = () => {
<NavbarCollapse className='rtl:space-x-reverse'>
<UserDropdown user={user} />
<NavbarLink href='/'>
<div className='pt-2 lg:text-lg'>Home</div>
<div className='pt-3 lg:text-lg'>Home</div>
</NavbarLink>
<NavbarLink href='/assistants' className='justify-end'>
<div className='pt-2 lg:text-lg'>Assistants</div>
<div className='pt-3 lg:text-lg'>My Assistants</div>
</NavbarLink>
<NavbarLink
href='https://docs.assistantshub.ai/'
className='justify-end'
>
<div className='pt-2 lg:text-lg'>Docs</div>
<div className='pt-3 lg:text-lg'>Docs</div>
</NavbarLink>
<NavbarLink
href='mailto:[email protected]'
className='justify-end'
>
<div className='pt-2 lg:text-lg'>Help</div>
<div className='pt-3 lg:text-lg'>Help</div>
</NavbarLink>
</NavbarCollapse>
</>
Expand Down

0 comments on commit 091b2e5

Please sign in to comment.