Skip to content

Commit 9979d5d

Browse files
authored
fix(ui): mobile responsive for meeting join page (#152)
* fix(ui): mobile responsive for meeting join page Signed-off-by: Asitha de Silva <asithade@gmail.com> * fix: logged out mobile responsive view Signed-off-by: Asitha de Silva <asithade@gmail.com> --------- Signed-off-by: Asitha de Silva <asithade@gmail.com>
1 parent 8dade39 commit 9979d5d

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

apps/lfx-one/src/app/modules/meetings/meeting-join/meeting-join.component.html

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!-- Project Logo -->
1010
@if (project()?.logo_url) {
1111
<div class="flex items-center justify-center mb-6">
12-
<img [src]="project()?.logo_url" [alt]="project()?.name" class="w-auto h-20" />
12+
<img [src]="project()?.logo_url" [alt]="project()?.name" class="w-auto h-10 md:h-20" />
1313
</div>
1414
}
1515

@@ -68,7 +68,7 @@
6868
</div>
6969

7070
<!-- Content Row: Title/Details + Join Button (if immediate) -->
71-
<div class="flex justify-between items-start gap-6 mb-4">
71+
<div class="flex flex-col md:flex-row justify-between items-start gap-6 mb-4">
7272
<!-- Left Column: Title + Details -->
7373
<div class="flex-1 flex flex-col gap-4 justify-between h-full">
7474
<div class="flex flex-col gap-4 h-full">
@@ -147,7 +147,7 @@ <h1 class="font-medium text-base text-neutral-950 leading-tight" [attr.data-test
147147
<!-- Right Column: Join Button (immediate meetings) or RSVP (future meetings) -->
148148
@if (canJoinMeeting()) {
149149
<!-- Join Button - Immediate Meeting -->
150-
<div class="w-[296px]">
150+
<div class="w-full md:w-[296px]">
151151
<lfx-button
152152
label="Join Meeting"
153153
icon="fa-light fa-video"
@@ -163,7 +163,7 @@ <h1 class="font-medium text-base text-neutral-950 leading-tight" [attr.data-test
163163
</div>
164164
} @else if (authenticated() && meeting().organizer) {
165165
<!-- RSVP Details - Future Meeting (Authenticated Organizers) -->
166-
<div class="w-[296px] flex flex-col gap-3">
166+
<div class="w-full md:w-[296px] flex flex-col gap-3">
167167
<lfx-meeting-rsvp-details
168168
[meeting]="meeting()"
169169
[project]="project()"
@@ -190,7 +190,7 @@ <h1 class="font-medium text-base text-neutral-950 leading-tight" [attr.data-test
190190
</div>
191191
} @else if (authenticated()) {
192192
<!-- RSVP Container - Future Meeting (Authenticated Non-Organizers) -->
193-
<div class="w-[296px]">
193+
<div class="w-full md:w-[296px]">
194194
<lfx-rsvp-button-group [meeting]="meeting()" [occurrenceId]="currentOccurrence()?.occurrence_id"> </lfx-rsvp-button-group>
195195
</div>
196196
}
@@ -270,9 +270,9 @@ <h3 class="text-gray-600 text-sm font-normal">Resources</h3>
270270
<div class="flex flex-col gap-3">
271271
<p class="text-sm text-neutral-950">I am signed in as:</p>
272272

273-
<div class="bg-blue-50 border border-blue-500/50 rounded px-3 py-2 flex items-center gap-3">
273+
<div class="bg-blue-50 border border-blue-500/50 rounded px-3 py-2 flex flex-wrap items-center gap-3">
274274
<!-- Avatar -->
275-
<div class="w-12 h-12 bg-blue-600 rounded-full flex items-center justify-center">
275+
<div class="hidden md:flex w-12 h-12 bg-blue-600 rounded-full items-center justify-center">
276276
<span class="text-white text-2xl font-medium">{{ (user.name || 'User').substring(0, 2).toUpperCase() }}</span>
277277
</div>
278278

@@ -293,7 +293,7 @@ <h3 class="text-gray-600 text-sm font-normal">Resources</h3>
293293
<!-- Signed Out State -->
294294
<div class="flex flex-col gap-6">
295295
<!-- Sign In CTA -->
296-
<div class="bg-blue-50 border border-blue-500/50 rounded px-3 py-2 flex items-center justify-between gap-3">
296+
<div class="bg-blue-50 border border-blue-500/50 rounded px-3 py-2 flex flex-wrap items-center justify-between gap-3">
297297
<div class="flex items-center gap-3">
298298
<i class="fa-light fa-arrow-right-to-bracket text-blue-600 text-2xl"></i>
299299
<div>
@@ -302,7 +302,14 @@ <h3 class="text-gray-600 text-sm font-normal">Resources</h3>
302302
</div>
303303
</div>
304304

305-
<lfx-button size="small" label="Sign In" icon="fa-light fa-arrow-right-to-bracket" severity="info" [href]="'/login?returnTo=' + returnTo()">
305+
<lfx-button
306+
class="w-full md:w-auto"
307+
styleClass="w-full md:w-auto"
308+
size="small"
309+
label="Sign In"
310+
icon="fa-light fa-arrow-right-to-bracket"
311+
severity="info"
312+
[href]="'/login?returnTo=' + returnTo()">
306313
</lfx-button>
307314
</div>
308315

@@ -317,7 +324,7 @@ <h3 class="text-gray-600 text-sm font-normal">Resources</h3>
317324

318325
<form [formGroup]="joinForm" class="flex flex-col gap-4">
319326
<!-- Name + Email Row -->
320-
<div class="flex gap-4">
327+
<div class="flex flex-col md:flex-row gap-4">
321328
<div class="flex-1">
322329
<label class="flex items-center gap-1 text-xs text-blue-900 mb-2">
323330
<i class="fa-light fa-user text-gray-600"></i>
@@ -369,8 +376,10 @@ <h3 class="text-gray-600 text-sm font-normal">Resources</h3>
369376
</div>
370377

371378
<!-- Submit Button -->
372-
<div class="flex justify-end">
379+
<div class="flex justify-end md:justify-center">
373380
<lfx-button
381+
class="w-full md:w-auto"
382+
styleClass="w-full md:w-auto"
374383
size="small"
375384
label="Join Meeting"
376385
icon="fa-light fa-arrow-right-to-bracket"

0 commit comments

Comments
 (0)