File size: 5,082 Bytes
3c4befe | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>{% block title %}Brooklinen{% endblock %}</title>
<link rel="stylesheet" href="/static/css/site.css">
</head>
<body>
<div class="announcement">
<button aria-label="Previous slide" type="button">‹</button>
<span>{{ announcement }}</span>
<button aria-label="Next slide" type="button">›</button>
</div>
<header class="site-header">
<a class="logo" href="/"><img src="/static/assets/page/Best-In-Bed_Lockup_web-only_Blue.svg" alt="Brooklinen" width="100"></a>
<nav class="site-nav">
<ul>
{% for item in main_nav %}
<li class="site-nav__item">
<a href="{{ item.url }}" class="{% if item.url == current_nav %}is-current{% endif %}">{{ item.label }}</a>
{% set panel = nav_panels.get(item.label) %}
{% if panel %}
<div class="top-drawer" role="menu" aria-label="{{ item.label }} menu">
<div class="top-drawer__shipping">{{ nav_free_shipping }}</div>
<div class="top-drawer__wrapper">
{% for col in panel.columns %}
<div class="top-drawer__col top-drawer__col--{{ col.kind }}">
{% if col.title %}<h3 class="top-drawer__title">{{ col.title }}</h3>{% endif %}
{% if col.kind == 'promo' %}
{% for p in col['items'] %}
<a class="top-drawer__promo" href="{{ p.url }}">
{% if p.image %}<img src="{{ p.image }}" alt="{{ p.label }}" loading="lazy">{% endif %}
<strong>{{ p.label }}</strong>
{% if p.note %}<span>{{ p.note }}</span>{% endif %}
</a>
{% endfor %}
{% else %}
<ul>
{% for l in col['items'] %}
<li>
<a href="{{ l.url }}">{{ l.label }}</a>
{% if l.badge %}<em class="top-drawer__badge">{{ l.badge }}</em>{% endif %}
{% if l.note %}<span class="top-drawer__note">{{ l.note }}</span>{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
</div>
{% endfor %}
</div>
</div>
{% endif %}
</li>
{% endfor %}
</ul>
</nav>
<div class="header-tools">
<form class="header-search" action="/search" method="get" role="search">
<svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="M16.5 16.5 21 21"/></svg>
<input type="search" name="q" placeholder="Search ..." aria-label="Search" value="{{ q or '' }}">
</form>
<a class="icon" href="/account" aria-label="account"><svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7"/></svg></a>
<a class="icon" href="/cart" aria-label="cart"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 8h12l-1 12H7L6 8Z"/><path d="M9 8V6a3 3 0 0 1 6 0v2"/></svg>{% if cart.item_count %}<span class="cart-count">{{ cart.item_count }}</span>{% endif %}</a>
</div>
</header>
{% if show_social_proof %}<div class="social-proof">★★★★★ 175,000+ 5-Star Reviews | Best in Bed</div>{% endif %}
<main>
{% block content %}{% endblock %}
</main>
<footer class="site-footer">
<div class="inner">
{% for col in footer_nav %}
<div>
<h3>{{ col.title }}</h3>
<ul>{% for l in col.links %}<li><a href="{{ l.url }}">{{ l.label }}</a></li>{% endfor %}</ul>
</div>
{% endfor %}
<div class="newsletter">
<h2>Get on the List</h2>
<p>Sign up to know when we launch new products.</p>
<form action="/newsletter" method="post">
<input type="email" name="email" placeholder="Email" aria-label="Email" required>
<button type="submit" aria-label="Subscribe">→</button>
</form>
{% if newsletter_message %}<p class="form-note">{{ newsletter_message }}</p>{% endif %}
</div>
</div>
<div class="legal"><div class="inner"><span>© 2026 Brooklinen</span><span>Offline clone for WebsiteBench — not affiliated with Brooklinen.</span></div></div>
</footer>
{% if show_offer_modal %}
<div class="offer-modal" id="offer-modal">
<div class="offer-modal__card">
<form method="post" action="/offer/dismiss"><button class="offer-modal__close" name="choice" value="close" aria-label="Close">×</button></form>
<img src="/static/assets/page/Best-In-Bed_Lockup_web-only_Blue.svg" alt="Brooklinen" width="150" style="margin:0 auto">
<h2>Hi, want 15% off?</h2>
<p>Be the first to know about exclusive deals and new product drops!</p>
<form method="post" action="/offer/dismiss">
<button class="button button--primary button--block" name="choice" value="signup" type="submit">Sign Up</button>
<button class="offer-modal__decline" name="choice" value="decline" type="submit">No thanks, I'll pay full price</button>
</form>
</div>
</div>
{% endif %}
</body>
</html>
|