Pens

SaaS Multi-Column Newsletter Footer

UI Component bởi acmatvjrus
Mở Studio
<div class="footer-page-wrap">
  <div class="mock-content-filler">
    <p>Cuộn xuống để xem toàn bộ chi tiết Chân trang</p>
  </div>
  <footer class="saas-footer">
    <div class="footer-top">
      <div class="footer-brand-col">
        <a href="#" class="brand-link">
          <span class="brand-badge">⚡</span>
          <span class="brand-title">Pulse<strong>Stack</strong></span>
        </a>
        <p class="brand-bio">Nền tảng hạ tầng đám mây phân tán thế hệ mới giúp tối ưu hóa hiệu năng ứng dụng toàn cầu.</p>
        <div class="system-status">
          <span class="status-pulse"></span>
          <span>Tất cả dịch vụ hoạt động bình thường</span>
        </div>
      </div>
      <div class="footer-links-grid">
        <div class="link-group">
          <h4>Sản phẩm</h4>
          <a href="#">Hạ tầng Cloud</a>
          <a href="#">Serverless API</a>
          <a href="#">Database Cluster</a>
          <a href="#">Bảo mật Zero-Trust</a>
          <a href="#">Bảng giá</a>
        </div>
        <div class="link-group">
          <h4>Tài nguyên</h4>
          <a href="#">Tài liệu hướng dẫn</a>
          <a href="#">API Reference</a>
          <a href="#">Hỗ trợ cộng đồng</a>
          <a href="#">Trạng thái máy chủ</a>
          <a href="#">Changelog v2.4</a>
        </div>
        <div class="link-group">
          <h4>Công ty</h4>
          <a href="#">Về chúng tôi</a>
          <a href="#">Tuyển dụng <span class="badge-hiring">Hiring</span></a>
          <a href="#">Tin tức & Blog</a>
          <a href="#">Đối tác kỹ thuật</a>
          <a href="#">Liên hệ</a>
        </div>
      </div>
      <div class="footer-newsletter-col">
        <h4>Nhận bản tin công nghệ</h4>
        <p>Cập nhật kỹ thuật lập trình và kiến trúc hệ thống mỗi sáng thứ Hai.</p>
        <form class="newsletter-form" onsubmit="event.preventDefault(); alert('Đã đăng ký thành công!');">
          <input type="email" placeholder="Địa chỉ email của bạn..." required>
          <button type="submit">Đăng ký</button>
        </form>
      </div>
    </div>
    <div class="footer-bottom">
      <p class="copy">© 2026 PulseStack Inc. Bảo lưu mọi quyền.</p>
      <div class="bottom-legal">
        <a href="#">Điều khoản sử dụng</a>
        <a href="#">Chính sách bảo mật</a>
        <a href="#">Bảo mật dữ liệu</a>
      </div>
      <div class="social-pills">
        <a href="#" aria-label="Github">GH</a>
        <a href="#" aria-label="Twitter">X</a>
        <a href="#" aria-label="Discord">DC</a>
      </div>
    </div>
  </footer>
</div>
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0f172a;
  color: #f8fafc;
}
.footer-page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: flex-end;
}
.mock-content-filler {
  padding: 40px 20px;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}
.saas-footer {
  background: #090d16;
  border-top: 1px solid #1e293b;
  padding: 60px 40px 30px;
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}
.brand-badge {
  background: rgba(16, 163, 122, 0.2);
  color: #10a37a;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 1rem;
}
.brand-link strong { color: #10a37a; }
.brand-bio {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 14px 0 20px;
}
.system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(16, 163, 122, 0.1);
  border: 1px solid rgba(16, 163, 122, 0.3);
  border-radius: 9999px;
  font-size: 0.78rem;
  color: #34d399;
}
.status-pulse {
  width: 8px;
  height: 8px;
  background: #10a37a;
  border-radius: 50%;
  box-shadow: 0 0 8px #10a37a;
  animation: pulseBeacon 1.5s infinite;
}
@keyframes pulseBeacon {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.link-group h4, .footer-newsletter-col h4 {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.link-group a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 12px;
  transition: color 0.2s, transform 0.2s;
}
.link-group a:hover {
  color: #10a37a;
  transform: translateX(3px);
}
.badge-hiring {
  background: #10a37a;
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 9999px;
  font-weight: 600;
  margin-left: 4px;
}
.footer-newsletter-col p {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 16px;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter-form input {
  padding: 10px 14px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
}
.newsletter-form input:focus { border-color: #10a37a; }
.newsletter-form button {
  background: #10a37a;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: #0d8b67; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748b;
}
.bottom-legal {
  display: flex;
  gap: 20px;
}
.bottom-legal a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}
.bottom-legal a:hover { color: #94a3b8; }
.social-pills {
  display: flex;
  gap: 10px;
}
.social-pills a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #1e293b;
  color: #94a3b8;
  border-radius: 50%;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s;
}
.social-pills a:hover {
  background: #10a37a;
  color: #fff;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
// SaaS Footer Live Beacon Handler
console.log("SaaS Footer loaded successfully");
Đã sao chép vào bộ nhớ tạm!