-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.region
177 lines (153 loc) · 9.05 KB
/
site.region
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!doctype html>
<html {.if authenticatedAccount}data-authenticated-account{.end}>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="initial-scale=1">
{squarespace-headers}
</head>
<body id="{squarespace.page-id}" class="{squarespace.page-classes} sqs-has-custom-cart{.if website.logoImageUrl} has-logo-image{.or} has-site-title{.end}{.if website.siteTagLine} has-tagline{.end}{.if website.socialAccounts.0} has-social{.end}{.if showCart} has-cart{.end}{.if item}{.or}{.equal? collection.typeName "index"}{.section collection}{.repeated section collections}{.background-source-video?} has-parallax-images{.or}{.section mainImage} has-parallax-images{.end}{.end}{.end}{.end}{.or}{.section collection}{.background-source-video?} has-parallax-images{.or}{.section mainImage} has-parallax-images{.end}{.end}{.end}{.end}{.end} enable-load-effects<squarespace:navigation navigationId="mainNavigation">{.if items.0} has-primary-nav{.end}</squarespace:navigation><squarespace:navigation navigationId="secondaryNavigation">{.if items.0} has-secondary-nav{.end}</squarespace:navigation><squarespace:navigation navigationId="footerMainNavigation">{.if items.0} has-footer-nav{.end}</squarespace:navigation>{.equal? collection.typeName "index"}{.section collection}{.section collections.0}{.equal? typeName "gallery"} has-index-gallery-first{.end}{.end}{.end}{.end}{.if userAccountsContext.showSignInLink} has-user-accounts{.end}" data-controller="HashManager, SiteLoader, MobileClassname">
<div class="Loader"></div>
{@|apply mobile.block}
<div class="Parallax-host-outer">
<div class="Parallax-host" data-parallax-host>
{.equal? collection.typeName "index"}
{.section collection}
{.repeated section collections}
{.var @collectionId id}
{.background-source-video?}
<div class="Parallax-item" data-parallax-item data-parallax-id="{@collectionId}"></div>
{.or}
{.section mainImage}
<div class="Parallax-item" data-parallax-item data-parallax-id="{@collectionId}"></div>
{.end}
{.end}
{.end}
{.end}
{.or}
{.equal? collection.typeName "products"}
{# The system Product collection does not support video backgrounds }
{.section collection}
{.var @collectionId id}
{.section mainImage}
<div class="Parallax-item" data-parallax-item data-parallax-id="{@collectionId}"></div>
{.end}
{.end}
{.or}
{.if item}{.or}
{.section collection}
{.var @collectionId id}
{.background-source-video?}
<div class="Parallax-item" data-parallax-item data-parallax-id="{@collectionId}"></div>
{.or}
{.section mainImage}
<div class="Parallax-item" data-parallax-item data-parallax-id="{@collectionId}"></div>
{.end}
{.end}
{.end}
{.end}
{.end}
{.end}
</div>
</div>
<div class="Site" data-nc-base="header" data-controller="AncillaryLayout">
<div class="sqs-announcement-bar-dropzone"></div>
<header class="Header Header--top">
<div class="Header-inner Header-inner--top" data-nc-group="top">
<div data-nc-container="top-left">
<div class="Header-search" data-nc-element="search">
<form class="Header-search-form" action="/search" method="get">
<input class="Header-search-form-input" name="q" type="text" spellcheck="false" value="" autocomplete="off" placeholder="{localizedStrings.search}" />
<button class="Header-search-form-submit" type="submit" data-test="template-search">
<svg class="Icon Icon--search--small" viewBox="0 0 15 15">
<use xlink:href="/assets/ui-icons.svg#search-icon--small"></use>
</svg>
<svg class="Icon Icon--search" viewBox="0 0 20 20">
<use xlink:href="/assets/ui-icons.svg#search-icon"></use>
</svg>
</button>
</form>
</div>
</div>
<div data-nc-container="top-center">
{.if userAccountsContext.showSignInLink}
<div class="Header-account" data-nc-element="account" data-controller="UserAccountLink">
<button class="user-accounts-text-link">
<span class="unauth">{localizedStrings.signIn}</span>
<span class="auth">{localizedStrings.myAccount}</span>
</button>
<div class="user-accounts-icon">
{@|apply user-account-icon.block}
</div>
</div>
{.end}
{.if website.socialAccounts.0}
<div class="Header-social" data-nc-element="social">
{@|apply social-links.block}
</div>
{.end}
</div>
<div data-nc-container="top-right">
{@|apply cart.block}
</div>
</div>
</header>
<div class="Site-inner{.equal? collection.typeName "index"} Site-inner--index{.end}"{.equal? collection.typeName "index"}{.section collection}{.section collections.0}{.equal? typeName "page"}{.background-source-video?} data-controller="HeaderOverlay"{.or}{.section mainImage} data-controller="HeaderOverlay"{.end}{.end}{.end}{.equal? typeName "gallery"} data-controller="HeaderOverlay"{.end}{.end}{.end}{.or}{.if item}{.or}{.section collection}{.background-source-video?} data-controller="HeaderOverlay"{.or}{.section mainImage} data-controller="HeaderOverlay"{.end}{.end}{.end}{.end}{.end}>
<header class="Header Header--bottom{.if item}{.or}{.equal? collection.typeName "index"}{.section collection}{.section collections.0}{.equal? typeName "page"}{.background-source-video?} Header--overlay{.or}{.section mainImage} Header--overlay{.end}{.end}{.end}{.equal? typeName "gallery"} Header--index-gallery{.end}{.end}{.end}{.or}{.section collection}{.background-source-video?} Header--overlay{.or}{.section mainImage} Header--overlay{.end}{.end}{.end}{.end}{.end}">
<div class="Header-inner Header-inner--bottom" data-nc-group="bottom">
<div data-nc-container="bottom-left">
<nav class="Header-nav Header-nav--primary" data-nc-element="primary-nav" data-content-field="navigation">
<squarespace:navigation navigationId="mainNavigation" template="header-nav" />
</nav>
</div>
<div data-nc-container="bottom-center">
<a href="/" class="Header-branding" data-nc-element="branding" data-content-field="site-title">
{.section website}
{.section logoImageUrl}
<img src="{logoImageUrl}?format=1500w" alt="{siteTitle}" class="Header-branding-logo" />
{.or}
{siteTitle}
{.end}
{.end}
</a>
{.section website}{.section siteTagLine}<div class="Header-tagline" data-nc-element="tagline">{@}</div>{.end}{.end}
</div>
<div data-nc-container="bottom-right">
<nav class="Header-nav Header-nav--secondary" data-nc-element="secondary-nav" data-content-field="navigation">
<squarespace:navigation navigationId="secondaryNavigation" template="header-nav" />
</nav>
</div>
</div>
</header>
<div class="Content-outer">
{.if collection}{.if item}{.or}{.equal? collection.typeName "index"}{.or}
{.equal? collection.typeName "page"}
{.section collection}
{.background-source-video?}
{@|apply intro.block}
{.or}
{.if mainImage}
{@|apply intro.block}
{.end}
{.end}
{.end}
{.or}
{collection|apply intro.block}
{.end}
{.end}{.end}{.end}
<main class="{.equal? collection.typeName "index"}Index{.if collection.collections.0}{.or} Index--empty{.end}{.or}Main{.if collection.typeName} Main--{collection.typeName}{.equal? collection.typeName "page"}{.or}{.if item}-item{.or}-list{.end}{.end}{.end}{.end}" {.equal? collection.typeName "index"}data-collection-id="{collection.id}"{.end}{.equal? collection.typeName "index"} data-controller="IndexFirstSectionHeight, Parallax, IndexNavigation"{.end}>
{.equal? collection.typeName "index"}
{squarespace.main-content}
{.or}
<section class="Main-content" data-content-field="main-content">
{squarespace.main-content}
</section>
{.end}
</main>
</div>
</div>
{@|apply footer.block}
</div>
<squarespace:script src="site-bundle.js" combo="false" />
{squarespace-footers}
</body>
</html>