Add comprehensive SEO optimization with dynamic meta tags and social sharing support (#23)

* Initial plan

* Add SEO optimization with dynamic meta tags for all pages

Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>

* Fix SEO meta tags to use useSeoMeta correctly without useEffect

Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>

* Add SEO verification documentation

Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>

* Add comprehensive SEO examples documentation

Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>

* Refactor routing to use HomePage component and update blog post fetching limit

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>
Co-authored-by: highperfocused <highperfocused@pm.me>
This commit is contained in:
Copilot
2025-10-19 14:20:46 +02:00
committed by GitHub
parent c37dd97d0f
commit 568f10761e
18 changed files with 676 additions and 18 deletions

View File

@@ -26,7 +26,7 @@ function validateBlogPost(event: NostrEvent): event is BlogPost {
/**
* Hook to fetch blog posts filtered by a specific hashtag
*/
export function useBlogPostsByHashtag(hashtag: string) {
export function useBlogPostsByHashtag(hashtag: string, limit: number = 50) {
const { nostr } = useNostr();
return useQuery({
@@ -38,7 +38,7 @@ export function useBlogPostsByHashtag(hashtag: string) {
[{
kinds: [30023],
'#t': [hashtag.toLowerCase()],
limit: 50,
limit: limit,
}],
{ signal }
);

View File

@@ -31,7 +31,7 @@ export function useSearch(searchTerm: string, enabled = true) {
{
kinds: [30023],
'#t': [tagValue],
limit: 100,
// limit: 100,
},
],
{ signal }
@@ -45,7 +45,7 @@ export function useSearch(searchTerm: string, enabled = true) {
[
{
kinds: [0, 30023],
limit: 100,
// limit: 100,
},
],
{ signal }