Skip to content

Feature/rza 260184#187

Open
ShahidJamal1 wants to merge 27 commits into
developfrom
feature/RZA-260184
Open

Feature/rza 260184#187
ShahidJamal1 wants to merge 27 commits into
developfrom
feature/RZA-260184

Conversation

@ShahidJamal1
Copy link
Copy Markdown
Collaborator

@ShahidJamal1 ShahidJamal1 commented Apr 28, 2026

🚀 Summary

Fixes #184

Enhanced overall website UI/UX with navigation improvements, search functionality, responsive updates, and multiple page redesigns.


🛠️ Changes

🎨 UI Improvements

  • Redesigned Home section layout
  • Improved spacing and alignment
  • Enhanced visual hierarchy
  • Updated styling for a better user experience
  • Redesigned Contact Us section with a modern and interactive layout
  • Redesigned About Us section UI
  • Redesigned Terms and Conditions page UI
  • Redesigned Privacy Policy page UI
  • Redesigned Cookies section UI
  • Redesigned Support section UI
  • Enhanced Footer section UI and improved user experience
  • Redesigned Games category cards and optimized card sizes
  • Fixed logo icon alignment inside circular layout
  • Updated all game images with better matching visuals
  • Improved search bar spacing and layout
  • Added and aligned Hide & Seek game title
  • Improved game card alignment and consistency
  • Adjusted back button positioning for better navigation

🔍 New Features

  • Added a global search bar with search suggestions across the website
  • Implemented search functionality for better navigation
  • Added sidebar toggle functionality
  • Added a download policy feature
  • Added a back button beside the search bar
  • Added Shuffle and Reset controls to the Hide & Seek Grid game

🧭 Navigation Improvements

  • Replaced Parents and Teachers sections with:
    • Categories
    • Contact Us
  • Moved the theme toggle button from the footer to the header (right side)
  • Removed unnecessary Home/About menu items
  • Arranged menu items in alphabetical order
  • Fixed sidebar spacing and layout issues
  • Improved back button alignment and placement

🌙 Theme & Dark Mode

  • Updated the dark mode color scheme for better consistency and readability
  • Improved theme toggle accessibility

📱 Responsive Design

  • Made the website responsive across:
    • Mobile devices
    • Tablets
    • Large screens and displays

🧪 Testing

  • Tested locally
  • Verified search functionality
  • Verified navigation updates
  • Tested responsive layouts across multiple screen sizes
  • Checked dark mode behavior
  • Verified sidebar toggle functionality
  • Verified Hide & Seek Grid game controls
  • Verified Draw Game fixes
  • Tested search bar layout and spacing

🏁 Checklist

  • Code follows project style
  • Self-review completed
  • No new warnings/lint errors

📸 Before / After

🎨 UI Improvements

(Add screenshots here)

Home Section

image image After image image

###About Section

image image image

###Contact Us Section

image After image

###Games Categories
image
image
image

🔍 Search Feature

(Add screenshots here)
image
image
image
image

🧭 Navigation & Sidebar Updates

(Add screenshots here)
image
image
image
image

image

🌙 Dark Mode

(Add screenshots here)
image
After
image
image

📱 Responsive Design

(Add screenshots here)
image
image

image image

📄 Privacy Policy / Terms & Conditions / Support / Cookies Pages

(Add screenshots here)
###Privacy Policy
image
image
image
###Terms & Condition
image
image
image
###Cookies
image
image
image
###Support
image
image
image

@ShahidJamal1
Copy link
Copy Markdown
Collaborator Author

Hi sir, I have created the PR from the same repository branch. Please check.

Copy link
Copy Markdown
Owner

@recursivezero recursivezero left a comment

Choose a reason for hiding this comment

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

fix the menu theme change button

@recursivezero
Copy link
Copy Markdown
Owner

thes eare lint issue

src/components/Hero.astro:5:7 - warning ts(6133): 'appName' is declared but its value is never read.

5 const { appName } = Astro.props;
        ~~~~~~~~~~~

src/components/PoemDialog.astro:33:7 - warning ts(6133): 'currentLang' is declared but its value is never read.

33   let currentLang = "en_GB";
         ~~~~~~~~~~~

src/layouts/Base.astro:5:20 - error ts(2307): Cannot find module '@/layouts/common/Header.astro' or its corresponding type declarations.

5 import Header from "@/layouts/common/Header.astro";
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/layouts/Base.astro:437:88 - error ts(2345): Argument of type 'EventTarget | null' is not assignable to parameter of type 'Node | null'.
  Type 'EventTarget' is missing the following properties from type 'Node': baseURI, childNodes, firstChild, isConnected, and 43 more.

437         if (!sidebar.contains(target) && !toggle.contains(target) && !pinBtn?.contains(target)) {
                                                                                           ~~~~~~
src/layouts/Base.astro:437:59 - error ts(2345): Argument of type 'EventTarget | null' is not assignable to parameter of type 'Node | null'.
  Type 'EventTarget' is missing the following properties from type 'Node': baseURI, childNodes, firstChild, isConnected, and 43 more.

437         if (!sidebar.contains(target) && !toggle.contains(target) && !pinBtn?.contains(target)) {
                                                              ~~~~~~
src/layouts/Base.astro:437:31 - error ts(2345): Argument of type 'EventTarget | null' is not assignable to parameter of type 'Node | null'.
  Type 'EventTarget' is missing the following properties from type 'Node': baseURI, childNodes, firstChild, isConnected, and 43 more.

437         if (!sidebar.contains(target) && !toggle.contains(target) && !pinBtn?.contains(target)) {
                                  ~~~~~~

src/layouts/common/Header.astro:608:14 - warning ts(6133): 'initMobileNavHighlight' is declared but its value is never read.

608     function initMobileNavHighlight() {
                 ~~~~~~~~~~~~~~~~~~~~~~

src/pages/contact.astro:5:1 - warning ts(6133): 'Back' is declared but its value is never read.

5 import Back from "@/components/Back.astro";
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pages/contact.astro:4:1 - warning ts(6133): 'TitleLayout' is declared but its value is never read.

4 import TitleLayout from "@/layouts/TitleLayout";
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/pages/support.astro:501:14 - warning ts(6133): 'sToggle' is declared but its value is never read.

501     function sToggle(i) {
                 ~~~~~~~

Result (175 files): 
- 4 errors
- 0 warnings
- 6 hints

Build failed. Commit aborted.

fix these

@recursivezero recursivezero self-requested a review May 28, 2026 17:41
@github-project-automation github-project-automation Bot moved this to Backlog in ABCD May 28, 2026
@recursivezero recursivezero added the enhancement New feature or request label May 28, 2026
@github-project-automation github-project-automation Bot moved this from Backlog to Ready in ABCD May 28, 2026
@recursivezero
Copy link
Copy Markdown
Owner

make this in center aligend when no sidebar opend; proper padding

Screenshot 2026-05-28 at 11 30 32 PM

@recursivezero
Copy link
Copy Markdown
Owner

recursivezero commented May 28, 2026

Screenshot 2026-05-28 at 11 37 27 PM

search result panel is very bad design
make i good design and show suggesetion as a center not fuill widths and a better color and layout

and option should be selectable by keyboad arrow , currently user need to select explicirely
seach should be accessiblity rich

@ShahidJamal1
Copy link
Copy Markdown
Collaborator Author

make this in center aligend when no sidebar opend; proper padding

Screenshot 2026-05-28 at 11 30 32 PM

sir in my pc looking like this
image

@ShahidJamal1
Copy link
Copy Markdown
Collaborator Author

"All lint errors fixed, npm run build passes clean and astro check shows 0 errors."

…tle to grid page

- Add modular shuffleArray<T> utility (Fisher-Yates algorithm)

- Shuffle button randomizes alphabet tile order

- Reset button restores A-Z order and clears active states

- Display game title at top of grid page
Copy link
Copy Markdown
Owner

@recursivezero recursivezero left a comment

Choose a reason for hiding this comment

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

Do not Break layout and existing functionality while enhancing it.

…s, game card alignment, draw game bugs, and back button positioning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Ready

Development

Successfully merging this pull request may close these issues.

2 participants