Skip to content

Enhance quiz app UI with new components and layouts#51

Merged
fortunkam merged 4 commits intomainfrom
feature/css_fixes_and_client_questions
Jun 13, 2025
Merged

Enhance quiz app UI with new components and layouts#51
fortunkam merged 4 commits intomainfrom
feature/css_fixes_and_client_questions

Conversation

@fortunkam
Copy link
Copy Markdown
Owner

Added new Razor components and updated existing ones to improve the user interface and functionality of the quiz application. Introduced layout specifications for consistency, added @page directives for new routes, and enhanced UI elements with better padding and centering. Implemented query string parameters for dynamic data handling and updated CSS for improved button styling and responsiveness. Overall, these changes aim to create a more interactive and visually appealing user experience.

#21

Added new Razor components and updated existing ones to improve the user interface and functionality of the quiz application. Introduced layout specifications for consistency, added `@page` directives for new routes, and enhanced UI elements with better padding and centering. Implemented query string parameters for dynamic data handling and updated CSS for improved button styling and responsiveness. Overall, these changes aim to create a more interactive and visually appealing user experience.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the quiz application’s UI by adding layout consistency, padding/centering utilities, responsive button styles, and new test pages with proper routing.

  • Added CSS rules for button styling, responsive layouts, and truncated multi-choice answer text.
  • Updated multiple Razor components (*.razor) to include px-3 text-center for better content centering and spacing.
  • Introduced new test pages with @page directives and shared layout references; removed an outdated test component.

Reviewed Changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
wwwroot/css/app.css Added border removal, responsive media queries, and .multiple-choice-answer-text styling
Shared/Components/NavBar.razor Adjusted margin classes on brand link and text
Shared/Client/WaitingForQuestions.razor Added horizontal padding and text centering
Shared/Client/WaitingForAnswerCheck.razor Added horizontal padding and text centering
Shared/Client/UserName.razor Added horizontal padding and text centering
Shared/Client/TrueFalseQuestion.razor Added padding class to title h1
Shared/Client/SingleAnswerMultiSelectQuestion.razor Inserted span wrapper with truncated answer text
Shared/Client/PlayerPosition.razor Added padding and text-centering classes
Shared/Client/JoinQuiz.razor Added padding and text-centering classes
Shared/Client/AnswerSummary.razor Added padding and text-centering classes
Pages/Tests/SingleAnswerQuestionTest.razor Removed outdated test file
Pages/Tests/Client/WaitingForQuestion.razor Added new test page with route and shared layout
Pages/Tests/Client/WaitingForAnswerCheck.razor Added new test page with route and shared layout
Pages/Tests/Client/UserName.razor Added new test page with route and shared layout
Pages/Tests/Client/TrueFalseQuestion.razor Added new test page with route and shared layout
Pages/Tests/Client/PlayerPosition.razor Updated route and layout for player position test
Pages/Tests/Client/MultipleChoiceQuestion.razor Added new test page (note spelling in route)
Pages/Tests/Client/JoinQuiz.razor Added new test page with route and shared layout
Pages/Tests/Client/AnswerSummary.razor Added new test page with route and shared layout

…uestion.razor

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@fortunkam fortunkam merged commit fddb6df into main Jun 13, 2025
5 checks passed
@fortunkam fortunkam deleted the feature/css_fixes_and_client_questions branch June 13, 2025 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants