aboutsummaryrefslogtreecommitdiff
path: root/apps/web/components/header.tsx
diff options
context:
space:
mode:
authorMaheshtheDev <[email protected]>2025-10-04 21:38:13 +0000
committerMaheshtheDev <[email protected]>2025-10-04 21:38:13 +0000
commit583c2651b68ad29f4c335bd004fa0c7dfa8f25b3 (patch)
tree0ad62a692edc4de562a38819ab874d8f7cc88009 /apps/web/components/header.tsx
parentfix: model names (diff)
downloadsupermemory-583c2651b68ad29f4c335bd004fa0c7dfa8f25b3.tar.xz
supermemory-583c2651b68ad29f4c335bd004fa0c7dfa8f25b3.zip
feat: url cards as content preview with rich details (#452)
Improved memory detail UI with better document icons and layout and Added dark mode support to the Chrome extension button ### What changed? - Enhanced the WebsiteCard component with an `onOpenDetails` prop - Improved the MemoryDetail component with: - Better layout for document headers and source links - Enhanced content scrolling with proper height constraints - Improved spacing and padding in various sections - Added favicon support to document icons, showing website favicons for webpage documents - Fixed document type detection for webpages and URLs - Added dark mode support to the Chrome extension button component with appropriate color classes [Screen Recording 2025-10-03 at 11.34.01 PM.mov <span class="graphite__hidden">(uploaded via Graphite)</span> <img class="graphite__hidden" src="https://app.graphite.dev/user-attachments/thumbnails/2f6ceef2-43a2-4e11-bafa-0f3ce614696b.mov" />](https://app.graphite.dev/user-attachments/video/2f6ceef2-43a2-4e11-bafa-0f3ce614696b.mov)
Diffstat (limited to 'apps/web/components/header.tsx')
-rw-r--r--apps/web/components/header.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/web/components/header.tsx b/apps/web/components/header.tsx
index c055e94d..2ea075d1 100644
--- a/apps/web/components/header.tsx
+++ b/apps/web/components/header.tsx
@@ -142,7 +142,7 @@ export function Header({ onAddMemory }: { onAddMemory?: () => void }) {
<MonitorIcon
className={cn(
theme === "system"
- ? "text-primay-foreground"
+ ? "text-primary-foreground"
: "text-muted-foreground",
"h-3 w-3 group-hover:text-foreground",
)}
@@ -160,7 +160,7 @@ export function Header({ onAddMemory }: { onAddMemory?: () => void }) {
<SunIcon
className={cn(
theme === "light"
- ? "text-primay-foreground"
+ ? "text-primary-foreground"
: "text-muted-foreground",
"h-3 w-3 group-hover:text-foreground",
)}
@@ -178,7 +178,7 @@ export function Header({ onAddMemory }: { onAddMemory?: () => void }) {
<MoonIcon
className={cn(
theme === "dark"
- ? "text-primay-foreground"
+ ? "text-primary-foreground"
: "text-muted-foreground",
"h-3 w-3 group-hover:text-foreground",
)}