aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDhravya Shah <[email protected]>2025-03-23 23:06:29 -0700
committerGitHub <[email protected]>2025-03-23 23:06:29 -0700
commitd07d0c0928ae79af1298a7d30412d3d834d705d8 (patch)
treec0fa273e4a2a1be854922f0ce5241f9a147410e6 /apps
parentauth info in endpoints (diff)
parentreduce padding (diff)
downloadsupermemory-d07d0c0928ae79af1298a7d30412d3d834d705d8.tar.xz
supermemory-d07d0c0928ae79af1298a7d30412d3d834d705d8.zip
Merge pull request #345 from CodeWithShreyans/misc-fixes
Fix padding and broken profile button
Diffstat (limited to 'apps')
-rw-r--r--apps/web/app/components/Navbar.tsx8
-rw-r--r--apps/web/app/components/memories/AddMemory.tsx2
2 files changed, 6 insertions, 4 deletions
diff --git a/apps/web/app/components/Navbar.tsx b/apps/web/app/components/Navbar.tsx
index 1a365ffb..dc5b8485 100644
--- a/apps/web/app/components/Navbar.tsx
+++ b/apps/web/app/components/Navbar.tsx
@@ -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>
diff --git a/apps/web/app/components/memories/AddMemory.tsx b/apps/web/app/components/memories/AddMemory.tsx
index 65da1f01..ef352dd5 100644
--- a/apps/web/app/components/memories/AddMemory.tsx
+++ b/apps/web/app/components/memories/AddMemory.tsx
@@ -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