mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-14 23:21:20 +00:00
Merge pull request #345 from CodeWithShreyans/misc-fixes
Fix padding and broken profile button
This commit is contained in:
commit
d07d0c0928
2 changed files with 6 additions and 4 deletions
|
|
@ -91,11 +91,13 @@ function Navbar({ user }: { user?: User }) {
|
|||
</DropdownMenuLabel>
|
||||
<DropdownMenuSeparator />
|
||||
<DropdownMenuGroup>
|
||||
{/* TODO: Add profile modal */}
|
||||
{/* <ProfileModal>
|
||||
<DropdownMenuItem>
|
||||
<UserIcon className="mr-2 h-4 w-4" />
|
||||
<span>Profile</span>
|
||||
<DropdownMenuShortcut>⇧⌘P</DropdownMenuShortcut>
|
||||
</DropdownMenuItem>
|
||||
</ProfileModal> */}
|
||||
<DropdownMenuItem onSelect={toggleTheme}>
|
||||
{theme === Theme.LIGHT ? (
|
||||
<Sun className="mr-2 h-4 w-4" />
|
||||
|
|
@ -105,13 +107,13 @@ function Navbar({ user }: { user?: User }) {
|
|||
<span>{theme === Theme.LIGHT ? "Dark mode" : "Light mode"}</span>
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem asChild>
|
||||
<a href="https://portal.productboard.com/8rhspck6pdelv78mptczaena" target="_blank">
|
||||
<a href="https://portal.productboard.com/8rhspck6pdelv78mptczaena" target="_blank" rel="noreferrer">
|
||||
<LifeBuoy className="mr-2 h-4 w-4" />
|
||||
<span>Support</span>
|
||||
</a>
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem asChild>
|
||||
<a href="https://api.supermemory.ai" target="_blank">
|
||||
<a href="https://api.supermemory.ai" target="_blank" rel="noreferrer">
|
||||
<Cloud className="mr-2 h-4 w-4" />
|
||||
<span>API</span>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -458,7 +458,7 @@ export function AddMemoryModal({
|
|||
)}
|
||||
</CredenzaBody>
|
||||
<CredenzaFooter className="border-t">
|
||||
<div className="flex justify-between w-full">
|
||||
<div className="flex justify-between w-full pt-2">
|
||||
<CredenzaClose asChild>
|
||||
<Button id="close-memory-modal" variant="outline">
|
||||
Cancel
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue