Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
843b88a
[RZA-260184-bugfix]: feat: add reusable virtual keyboard component
ShahidJamal1 Jun 3, 2026
26eae30
[RZA-260184-bugfix1]: feat: integrate virtual keyboard in draw game
ShahidJamal1 Jun 3, 2026
9e75b40
[RZA-260184-bugfix1]: feat: integrate virtual keyboard in alphabets p…
ShahidJamal1 Jun 3, 2026
b16955e
[RZA-260184-bugfix1]: feat: integrate virtual keyboard and fix button…
ShahidJamal1 Jun 3, 2026
0ec34e8
[RZA-260184-bugfix1]: feat: integrate virtual keyboard in varnmala li…
ShahidJamal1 Jun 3, 2026
c0f5ae4
[RZA-260184-bugfix1]: feat: integrate virtual keyboard in varnmala pl…
ShahidJamal1 Jun 3, 2026
00a2dae
[RZA-260184-bugfix1]: fix: improve back button layout on mobile devices
ShahidJamal1 Jun 4, 2026
4ece6d8
[RZA-260184-bugfix1]: fix: resolve slider button visibility issue in …
ShahidJamal1 Jun 4, 2026
9d33fad
[RZA-260184-bugfix1]: fix: restore and enable draw game controls on m…
ShahidJamal1 Jun 4, 2026
ae50b15
[RZA-260184-bugfix1]: feat: add mobile toggle button for virtual keyb…
ShahidJamal1 Jun 4, 2026
07c40c3
[RZA-260184-bugfix1]: fix: remember mobile continuation preference an…
ShahidJamal1 Jun 5, 2026
9667b93
[RZA-260184-bugfix1]: fix: resolve hidden buttons and controls issues…
ShahidJamal1 Jun 5, 2026
4058047
[RZA-260184-bugfix1]: feat: add shuffle and new puzzle buttons and fi…
ShahidJamal1 Jun 7, 2026
4168586
[RZA-260184-bugfix1]: fix: resolve draw game functionality issues
ShahidJamal1 Jun 9, 2026
6c202f4
[RZA-260184-bugfix1]: feat: add and integrate brand/Brand Address page
ShahidJamal1 Jun 10, 2026
c8b1d27
[RZA-260184]: feat: add clear button and new puzzle sets to crossword…
ShahidJamal1 Jun 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
419 changes: 419 additions & 0 deletions public/assets/js/brand.js

Large diffs are not rendered by default.

1,045 changes: 1,045 additions & 0 deletions src/assets/styles/brand.css

Large diffs are not rendered by default.

53 changes: 32 additions & 21 deletions src/assets/styles/cards/slider.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
}

.gallery-container {
Expand Down Expand Up @@ -53,25 +54,25 @@
.gallery-controls {
display: grid;
grid-template-columns: var(--nav-button-size) 1fr var(--nav-button-size);
gap: 1%;
align-items: start;
/* align to top, buttons will self-align to image center */
margin-left: -4rem;
margin-right: -4rem;
gap: 0.5rem;
/* FIX: align-items center so buttons stay vertically centered with scroller */
align-items: center;
position: relative;
width: 100%;
box-sizing: border-box;
}

.gallery-scroller {
width: 100%;
height: calc(var(--item-height) + 200px);
/* extra space for item-details below */
overflow-x: auto;
overflow-y: hidden;
scroll-behavior: smooth;
padding: 2rem 0;
-webkit-overflow-scrolling: touch;
cursor: grab;
flex-grow: 1;
box-sizing: border-box;
}

.gallery-scroller:active {
Expand All @@ -85,12 +86,10 @@
height: 100%;
}

/* ✅ KEY FIX: buttons position themselves at center of image area only */
.nav-button {
width: var(--nav-button-size);
height: var(--nav-button-size);
margin-top: calc(var(--item-height) / 2 - var(--nav-button-size) / 2 + 2rem);
/* center of image */
/* FIX: Removed margin-top calc — parent is now align-items:center so no manual offset needed */
border-radius: 50%;
background: rgba(129, 140, 248, 0.2);
border: none;
Expand All @@ -101,6 +100,11 @@
transition: all 0.2s ease;
flex-shrink: 0;
outline: none;
z-index: 10;
position: relative;
/* FIX: Ensure button never collapses on any screen */
min-width: var(--nav-button-size);
min-height: var(--nav-button-size);
}

.nav-button:hover {
Expand Down Expand Up @@ -230,7 +234,10 @@
scrollbar-color: rgba(129, 140, 248, 0.6) rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
/* ===================== */
/* RESPONSIVE FIXES */
/* ===================== */

@media (max-width: 1600px) {
:root {
--item-width: 360px;
Expand All @@ -247,7 +254,7 @@
}

.gallery-page {
margin-left: 15%;
margin-left: 0;
}
}

Expand All @@ -263,7 +270,7 @@
}

.gallery-page {
margin-left: 15%;
margin-left: 0;
}

.letter {
Expand All @@ -277,35 +284,39 @@

@media (max-width: 600px) {
:root {
--item-width: 240px;
--item-height: 240px;
--item-gap: 20px;
--item-width: 220px;
--item-height: 220px;
--item-gap: 16px;
--scrollbar-height: 4px;
--nav-button-size: 36px;
}

.gallery-page {
margin-left: 15%;
margin-left: 0;
}

.gallery-wrapper {
padding: 1.5rem;
padding: 1rem 0.75rem;
}

.gallery-title {
font-size: 1.75rem;
font-size: 1.5rem;
}

.letter {
font-size: 1.75rem;
}

.item-desc {
font-size: 1.1rem;
font-size: 1rem;
}

.nav-button svg {
width: 20px;
height: 20px;
width: 18px;
height: 18px;
}

.gallery-controls {
gap: 0.25rem;
}
}
Loading