diff --git a/src/lib/components/global/BookmarksGrid.svelte b/src/lib/components/global/BookmarksGrid.svelte
index e771b26..e75430f 100644
--- a/src/lib/components/global/BookmarksGrid.svelte
+++ b/src/lib/components/global/BookmarksGrid.svelte
@@ -22,18 +22,17 @@
{#if $bookmarks.length > 0}
- {#if !hideOther}
-
{:else if !hideOther}
@@ -51,44 +50,6 @@
animation: slideIn 0.3s ease-out;
}
- .bookmarks-header {
- margin-bottom: var(--spacing-lg);
- width: fit-content;
- .header-content {
- display: flex;
- align-items: center;
- gap: var(--spacing-sm);
- :global(svg) {
- color: var(--color-primary);
- }
- h2 {
- font-size: var(--font-size-xl);
- font-weight: 600;
- color: var(--text-primary);
- margin: 0;
- }
-
- .count {
- background: var(--text-secondary);
- opacity: 0.8;
- color: var(--bg-primary);
- padding: var(--spacing-2xs) var(--spacing-xs);
- border-radius: var(--radius-sm);
- font-size: var(--font-size-sm);
- font-weight: 600;
- min-width: 1.25rem;
- text-align: center;
- animation: pulse 0.5s ease;
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
- cursor: default;
- &:hover {
- transform: scale(1.1);
- box-shadow: 0 4px 8px color-mix(in srgb, var(--color-warning), transparent 70%);
- }
- }
- }
- }
-
.bookmarks-grid {
animation: subtleFadeIn 0.2s ease-out;
diff --git a/src/lib/components/global/FrequentlyUsedGrid.svelte b/src/lib/components/global/FrequentlyUsedGrid.svelte
new file mode 100644
index 0000000..121764e
--- /dev/null
+++ b/src/lib/components/global/FrequentlyUsedGrid.svelte
@@ -0,0 +1,156 @@
+
+
+{#if $frequentlyUsedTools.length > 0}
+
+{:else if !hideOther}
+
+
+
+
+
No frequently used tools yet
+
Start using tools to see your most frequently accessed ones here
+
+{/if}
+
+
diff --git a/src/lib/components/global/GlobalSearch.svelte b/src/lib/components/global/GlobalSearch.svelte
index 3d1b50e..e270032 100644
--- a/src/lib/components/global/GlobalSearch.svelte
+++ b/src/lib/components/global/GlobalSearch.svelte
@@ -6,6 +6,7 @@
import { ALL_PAGES } from '$lib/constants/nav';
import type { NavItem } from '$lib/constants/nav';
import { bookmarks } from '$lib/stores/bookmarks';
+ import { frequentlyUsedTools, toolUsage } from '$lib/stores/toolUsage';
let isOpen = $state(false);
let query = $state('');
@@ -117,6 +118,7 @@
onMount(() => {
bookmarks.init();
+ toolUsage.init();
document.addEventListener('keydown', handleGlobalKeydown);
return () => document.removeEventListener('keydown', handleGlobalKeydown);
});
@@ -238,6 +240,32 @@
{/if}
+
+ {#if $frequentlyUsedTools.length > 0}
+