+ ← Back to Guides
+ {guide.title}
+ {guide.description}
+
+ {guide.products.map((p) => (
+ {p}
+ ))}
+ {guide.types.map((t) => (
+ {t}
+ ))}
+ {guide.difficulty}
+ {new Date(guide.date).toLocaleDateString()}
+
+ ') }} />
+ {guide.url && (
+
+
+ View original resource
+
+
+ )}
+
+ );
+}
\ No newline at end of file
diff --git a/packages/guides/pages/guides/index.tsx b/packages/guides/pages/guides/index.tsx
new file mode 100644
index 000000000000..3d1babad6c2e
--- /dev/null
+++ b/packages/guides/pages/guides/index.tsx
@@ -0,0 +1,149 @@
+import React, { useMemo, useState } from 'react';
+import Fuse from 'fuse.js';
+import guidesData from '../../data/guides.json';
+import Link from 'next/link';
+
+interface Guide {
+ title: string;
+ slug: string;
+ description: string;
+ products: string[];
+ date: string;
+ author: string;
+ types: string[];
+ url?: string;
+ difficulty: string;
+ content: string;
+}
+
+const PRODUCTS = [
+ 'Subgraphs',
+ 'Substreams',
+ 'Token API',
+ 'The Graph Network',
+ 'Graph Node',
+] as const;
+
+const GUIDE_TYPES = ['Blog', 'Repository', 'Video', 'Workshop'] as const;
+
+const DIFFICULTIES = ['Easy', 'Intermediate', 'Advanced'] as const;
+
+const fuse = new Fuse(guidesData as Guide[], {
+ includeScore: true,
+ threshold: 0.4,
+ keys: ['title', 'description', 'products', 'types'],
+});
+
+export default function GuidesPage() {
+ const [query, setQuery] = useState('');
+ const [selectedProducts, setSelectedProducts] = useState