refactor: update TABS to include hideInNav property and filter in BottomNav; enhance image popup styling and loading indicator
This commit is contained in:
@@ -123,8 +123,8 @@ function App() {
|
||||
|
||||
{/* Image popup modal */}
|
||||
{imagePopup.showing && imagePopup.image_url && (
|
||||
<div className="absolute inset-0 z-20 flex items-center justify-center bg-black/75 backdrop-blur-sm">
|
||||
<div className="flex flex-col items-center gap-5 p-6 bg-gray-950/80 rounded-3xl border border-white/10 shadow-2xl max-w-[90vw] max-h-[92vh]">
|
||||
<div className="absolute inset-0 z-20 flex items-center justify-center bg-black/75 backdrop-blur-sm p-12">
|
||||
<div className="flex flex-col items-center gap-5 p-6 bg-gray-950/80 rounded-3xl border border-white/10 shadow-2xl max-w-[82vw]">
|
||||
{imagePopup.caption && (
|
||||
<h2 className="text-4xl font-bold text-white tracking-tight text-center">
|
||||
{imagePopup.caption}
|
||||
@@ -133,7 +133,8 @@ function App() {
|
||||
<img
|
||||
src={imagePopup.image_url}
|
||||
alt="TV display"
|
||||
className="max-w-full max-h-[78vh] rounded-2xl object-contain shadow-xl"
|
||||
className="max-w-full max-h-[72vh] rounded-2xl object-contain shadow-xl"
|
||||
style={{ display: "block" }}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -142,7 +143,12 @@ function App() {
|
||||
{/* Background idle state */}
|
||||
{!textState.showing && !imagePopup.showing && (
|
||||
<div className="flex items-center justify-center w-full h-full">
|
||||
<p className="text-gray-600 text-lg">Waiting for content...</p>
|
||||
<p className="text-gray-600 text-lg">
|
||||
Waiting for content
|
||||
<span className="dot-1">.</span>
|
||||
<span className="dot-2">.</span>
|
||||
<span className="dot-3">.</span>
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user