Skip to content

feat: 95-seo-improvement#197

Open
Qufel wants to merge 17 commits intomainfrom
95-seo-improvement
Open

feat: 95-seo-improvement#197
Qufel wants to merge 17 commits intomainfrom
95-seo-improvement

Conversation

@Qufel
Copy link
Member

@Qufel Qufel commented Feb 5, 2026

Closes #95

Zmiany

  • Dodano dynamicznie generowane Metadata dla quizów.
Pole Wartość
Tytuł nazwa quizu - Testownik Solvro
Opis opis quizu
Autor KN Solvro, autor quizu
  • Do każdego zdjęcia nie posiadającego parametru alt dodano go. Wszystkie z nich były zdjęciami użytkownika/grupy.

  • Dodatkowo: Poprawiono dostępność - do przycisków nie posiadający żadnej opisowej nazwy dodano aria-label z odpowiednią nazwą.

Ocena raportu Lighthouse dla home page'a.1
image

Ocena raportu Lighthouse dla home page'a po wprowadzonych zmianach.12
image

Do zrobienia kiedyś

  • Zmiana await fetch(...) do generacji metadata dla quizu na poprawny endpoint, kiedy będzie takowy istniał.

Footnotes

  1. Pole Performance może się różnić dla różnych raportów i pokazuje metrykę tylko w chwili sporządzania raportu 2

  2. Poprawiono accessibility dla każdej podstrony (chyba niczego nie pominąłem) do przynajmniej 98

@Qufel Qufel self-assigned this Feb 5, 2026
@Qufel Qufel linked an issue Feb 5, 2026 that may be closed by this pull request
@solvro-coolify
Copy link

solvro-coolify bot commented Feb 5, 2026

The preview deployment for frontend-testownik-dev is ready. 🟢

Open Preview | Open Build Logs | Open Application Logs

Last updated at: 2026-02-24 22:23:20 CET

@Qufel Qufel changed the title 95 seo improvement feat: 95-seo-improvement Feb 5, 2026
Comment on lines +37 to +49
other: {
"application/ld+json": JSON.stringify({
"@context": "https://schema.org",
"@type": "Quiz",
name: metadata.title,
description: metadata.description,
numberOfQuestions: metadata.question_count,
author: {
"@type": "Person",
name: metadata.maintainer?.full_name,
},
}),
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually quizzes should be excluded from search engines

Comment on lines +25 to +29
if (isGuest) {
return {
title: "Quiz",
};
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i would still try to fetch as guest user can use shared quizzes

Comment on lines +17 to +19
export async function generateMetadata({
params,
}: PageProps<"/quiz/[quizId]">): Promise<Metadata> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ogarnąć SEO

2 participants