Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
47 changes: 45 additions & 2 deletions src/theme/Footer/Layout/enhanced-footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ html[data-theme='light'] .enhanced-footer {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1.2fr;
gap: 40px;
align-items: start; /* prevent equal-height stretch; use content height */
}

.footer-column {
Expand All @@ -685,6 +686,7 @@ html[data-theme='light'] .enhanced-footer {
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: visible;
align-self: start; /* prevent stretching to tallest column height */
}

.footer-column::before {
Expand Down Expand Up @@ -755,7 +757,7 @@ html[data-theme='light'] .enhanced-footer {
margin: 0;
display: flex;
flex-direction: column;
gap: 12px;
gap: 10px; /* slightly tighter vertical spacing */
overflow: visible;
}

Expand All @@ -771,11 +773,12 @@ html[data-theme='light'] .enhanced-footer {
border-radius: 12px;
transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
position: relative;
margin: 6px 0;
margin: 4px 0; /* reduce top/bottom margin per link */
border: 1px solid rgba(255, 255, 255, 0.05);
overflow: visible;
backdrop-filter: blur(5px);
background: rgba(255, 255, 255, 0.02);
white-space: nowrap; /* keep items like "Contact Us" on one line */
}

.footer-link::before {
Expand Down Expand Up @@ -1066,6 +1069,45 @@ html[data-theme='light'] .enhanced-footer {
margin-top: 24px;
}

/* Newsletter-specific quick links styling */
.newsletter-quick-links {
margin-top: 28px;
background: rgba(255,255,255,0.02);
border-radius: 12px;
padding: 18px 0 0 0;
box-shadow: none;
}

.newsletter-quick-links .quick-links-title {
color: #cbd5e1;
font-size: 13px;
margin-bottom: 12px;
font-weight: 700;
letter-spacing: 0.7px;
text-align: left;
}

.newsletter-quick-links .quick-links-list {
gap: 10px;
}

.newsletter-quick-links .quick-link {
background: rgba(255,255,255,0.04);
border: 1px solid rgba(255,255,255,0.08);
border-radius: 8px;
color: #cbd5e1;
font-size: 13px;
padding: 10px 14px;
margin-bottom: 0;
box-shadow: none;
transition: background 0.2s, color 0.2s;
}

.newsletter-quick-links .quick-link:hover {
background: rgba(255,255,255,0.12);
color: #fff;
}

.quick-links-title {
display: flex;
align-items: center;
Expand Down Expand Up @@ -1456,6 +1498,7 @@ html[data-theme='light'] .enhanced-footer {
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 10px;
margin: 0;
white-space: nowrap; /* mobile-friendly single line; content fits */
}

.footer-link:hover {
Expand Down
36 changes: 18 additions & 18 deletions src/theme/Footer/Layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,26 +265,9 @@ export default function FooterLayout({
</li>
</ul>

{/* Quick Links Section moved here */}
<div className="quick-links-section">
<h4 className="quick-links-title">
<span className="links-icon">🔗</span>
QUICK LINKS
</h4>
<div className="quick-links-list">
<Link to="/get-started" className="quick-link">
<span className="quick-link-icon">🚀</span>
Get Started
</Link>
<Link to="/dashboard" className="quick-link">
<span className="quick-link-icon">📊</span>
Dashboard
</Link>
</div>
</div>
</div>

{/* Newsletter Column */}
{/* Newsletter Column with Quick Links below */}
<div className="footer-column newsletter-column">
<h3 className="footer-column-title">
<div className="column-icon newsletter-icon">📧</div>
Expand Down Expand Up @@ -313,6 +296,23 @@ export default function FooterLayout({
<div className="newsletter-stats">
<span className="newsletter-stat">📊 1.2K+ developers joined this week</span>
</div>
{/* Quick Links Section moved below subscription */}
<div className="quick-links-section newsletter-quick-links">
<h4 className="quick-links-title">
<span className="links-icon">🔗</span>
QUICK LINKS
</h4>
<div className="quick-links-list">
<Link to="/get-started" className="quick-link">
<span className="quick-link-icon">🚀</span>
Get Started
</Link>
<Link to="/dashboard" className="quick-link">
<span className="quick-link-icon">📊</span>
Dashboard
</Link>
</div>
</div>
</div>
</div>
</div>
Expand Down
Loading