Skip to content

Commit 8a0c852

Browse files
committed
style: tightened landing page layout to reduce scrolling v1.1.23
1 parent f3b5eba commit 8a0c852

5 files changed

Lines changed: 26 additions & 20 deletions

File tree

web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web",
3-
"version": "1.1.21",
3+
"version": "1.1.23",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",

web/public/version.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "1.1.21",
3-
"buildTime": "2025-12-18T18:15:00.000Z"
2+
"version": "1.1.23",
3+
"buildTime": "2025-12-18T18:25:00.000Z"
44
}

web/src/app/(main)/ask/page.tsx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -474,25 +474,29 @@ export default function AskPage() {
474474
<Modal
475475
isOpen={!!ticketToClose}
476476
onClose={() => setTicketToClose(null)}
477-
title="Close Inquiry?"
477+
title="Archive Inquiry?"
478478
actions={
479479
<>
480480
<button
481481
onClick={() => setTicketToClose(null)}
482-
className="w-full py-3 rounded-xl border border-gray-200 font-bold text-gray-600 hover:bg-gray-50 transition"
482+
className="w-full py-3 rounded-2xl bg-gray-50 text-gray-400 font-black text-[10px] uppercase tracking-widest hover:bg-gray-100 transition active:scale-95"
483483
>
484-
Back
484+
Stay Open
485485
</button>
486486
<button
487487
onClick={handleCloseTicket}
488-
className="w-full py-3 rounded-xl bg-red-800 text-white font-bold hover:bg-red-900 transition shadow-md"
488+
className="w-full py-3 rounded-2xl bg-ochre text-white font-black text-[10px] uppercase tracking-widest hover:bg-gold transition shadow-lg shadow-ochre/20 active:scale-95"
489489
>
490-
Yes, Close
490+
Yes, Archive
491491
</button>
492492
</>
493493
}
494494
>
495-
Are you sure you want to close this inquiry? This will move it to your history.
495+
<div className="space-y-4">
496+
<p className="text-sm font-medium text-gray-500 leading-relaxed px-1">
497+
Are you sure you want to mark this spiritual inquiry as closed? It will be moved to your <span className="text-ochre font-bold lowercase">Past Records</span> archive for future reference.
498+
</p>
499+
</div>
496500
</Modal>
497501
</div >
498502
);

web/src/app/(main)/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import { ArrowRight, Youtube, Facebook, Instagram } from 'lucide-react';
33

44
export default function Home() {
55
return (
6-
<div className="flex flex-col items-center justify-center min-h-[85vh] md:min-h-[80vh] space-y-8 md:space-y-12 text-center pt-2 md:pt-6">
6+
<div className="flex flex-col items-center justify-center min-h-[80vh] md:min-h-[75vh] space-y-6 md:space-y-10 text-center pt-2 md:pt-6">
77

88
{/* Hero Section */}
9-
<div className="space-y-6 max-w-4xl animate-in fade-in slide-in-from-bottom-4 duration-700 w-full px-4">
9+
<div className="space-y-4 max-w-4xl animate-in fade-in slide-in-from-bottom-4 duration-700 w-full px-4">
1010
<div className="rounded-3xl overflow-hidden shadow-2xl border-4 border-white mx-auto max-w-sm md:max-w-none">
1111
<img
1212
src="/hero-main.jpg"
@@ -47,7 +47,7 @@ export default function Home() {
4747
</div>
4848

4949
{/* Social Links */}
50-
<div className="pt-12">
50+
<div className="pt-6 md:pt-10">
5151
<p className="text-sm text-gray-400 mb-4 uppercase tracking-widest">Connect with us</p>
5252
<div className="flex space-x-6 justify-center">
5353
<a href="https://www.youtube.com/@saileelarahasya" target="_blank" rel="noopener noreferrer" className="text-gray-400 hover:text-red-600 transition transform hover:scale-110">

web/src/app/admin/tickets/page.tsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -282,27 +282,29 @@ export default function AdminTicketsPage() {
282282
<Modal
283283
isOpen={!!confirmCloseId}
284284
onClose={() => setConfirmCloseId(null)}
285-
title="Close Inquiry"
285+
title="Archive Inquiry?"
286286
actions={
287287
<>
288288
<button
289289
onClick={() => setConfirmCloseId(null)}
290-
className="bg-gray-100 text-gray-600 px-4 py-3 rounded-xl font-black text-xs uppercase tracking-widest hover:bg-gray-200 transition-all"
290+
className="w-full py-3 rounded-2xl bg-gray-50 text-gray-400 font-black text-[10px] uppercase tracking-widest hover:bg-gray-100 transition active:scale-95"
291291
>
292-
Cancel
292+
Keep Open
293293
</button>
294294
<button
295295
onClick={() => confirmCloseId && handleClose(confirmCloseId)}
296-
className="bg-red-500 text-white px-4 py-3 rounded-xl font-black text-xs uppercase tracking-widest hover:bg-red-600 transition-all shadow-lg shadow-red-200"
296+
className="w-full py-3 rounded-2xl bg-ochre text-white font-black text-[10px] uppercase tracking-widest hover:bg-gold transition shadow-lg shadow-ochre/20 active:scale-95"
297297
>
298-
Confirm Close
298+
Confirm Archive
299299
</button>
300300
</>
301301
}
302302
>
303-
<p className="text-sm font-medium text-gray-500 leading-relaxed px-1">
304-
Are you sure you want to mark this spiritual inquiry as closed? This action will archive the conversation.
305-
</p>
303+
<div className="space-y-4">
304+
<p className="text-sm font-medium text-gray-500 leading-relaxed px-1">
305+
Are you sure you want to mark this spiritual inquiry as closed? This action will move the conversation to the <span className="text-ochre font-bold lowercase">Past Records</span> archive.
306+
</p>
307+
</div>
306308
</Modal>
307309

308310
{notification && (

0 commit comments

Comments
 (0)