+
+
+ {title}
+
+
+ {formattedDate}
+
+
+
+
+ {description}
+
+
+
+
+ {readingTime} min
+
+ {tags.length > 0 && (
+
+ {tags.map((tag: string) => (
+
+ {tag}
+
+ ))}
+
+ )}
+
+
+
+
\ No newline at end of file
diff --git a/src/components/SearchBar.tsx b/src/components/SearchBar.tsx
new file mode 100644
index 0000000..9741a0e
--- /dev/null
+++ b/src/components/SearchBar.tsx
@@ -0,0 +1,141 @@
+import React, { useState, useRef, useEffect } from 'react';
+
+export const SearchBar: React.FC = () => {
+ const [query, setQuery] = useState('');
+ const inputRef = useRef