Skip to content

Commit 4e2557b

Browse files
committed
feat: Add global growth potential and target users banner
1 parent d1bcd24 commit 4e2557b

1 file changed

Lines changed: 34 additions & 8 deletions

File tree

frontend/src/App.jsx

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,40 @@ const Layout = ({ children }) => {
4242
}, [pathname]);
4343

4444
return (
45-
<div style={{ display: 'flex', height: '100vh', overflow: 'hidden', background: 'var(--bg)' }}>
46-
<Sidebar />
47-
<main className="main-content" style={{ flex: 1, overflowY: 'auto', position: 'relative' }}>
48-
{/* Key forces component to unmount/remount on navigation for a 'fresh' feel */}
49-
<div key={pathname} style={{ height: '100%' }}>
50-
{children}
51-
</div>
52-
</main>
45+
<div style={{ display: 'flex', flexDirection: 'column', height: '100vh', overflow: 'hidden', background: 'var(--bg)' }}>
46+
{/* Premium Global Banner */}
47+
<div style={{
48+
background: 'linear-gradient(90deg, #4f46e5, #7c3aed, #db2777)',
49+
padding: '0.4rem 1rem',
50+
display: 'flex',
51+
justifyContent: 'center',
52+
alignItems: 'center',
53+
gap: '2rem',
54+
color: 'white',
55+
fontSize: '0.85rem',
56+
fontWeight: 700,
57+
zIndex: 1000,
58+
boxShadow: '0 2px 10px rgba(0,0,0,0.2)'
59+
}}>
60+
<span style={{ display: 'flex', alignItems: 'center', gap: '6px', letterSpacing: '0.02em' }}>
61+
🚀 <span style={{ opacity: 0.9 }}>Growth Potential:</span>
62+
<span style={{ background: 'rgba(255,255,255,0.2)', padding: '0.15rem 0.5rem', borderRadius: '4px', border: '1px solid rgba(255,255,255,0.1)' }}>All Devs</span>
63+
</span>
64+
<span style={{ display: 'flex', alignItems: 'center', gap: '6px', letterSpacing: '0.02em' }}>
65+
🎯 <span style={{ opacity: 0.9 }}>Target Users:</span>
66+
<span style={{ background: 'rgba(255,255,255,0.2)', padding: '0.15rem 0.5rem', borderRadius: '4px', border: '1px solid rgba(255,255,255,0.1)' }}>50k+</span>
67+
</span>
68+
</div>
69+
70+
<div style={{ display: 'flex', flex: 1, overflow: 'hidden' }}>
71+
<Sidebar />
72+
<main className="main-content" style={{ flex: 1, overflowY: 'auto', position: 'relative' }}>
73+
{/* Key forces component to unmount/remount on navigation for a 'fresh' feel */}
74+
<div key={pathname} style={{ height: '100%' }}>
75+
{children}
76+
</div>
77+
</main>
78+
</div>
5379
</div>
5480
);
5581
};

0 commit comments

Comments
 (0)