-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.hbs
More file actions
202 lines (177 loc) · 9.52 KB
/
home.hbs
File metadata and controls
202 lines (177 loc) · 9.52 KB
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
{{!< default}}
{{!-- The tag above means: insert everything in this file
into the {body} tag of the default.hbs template --}}
<style>
ol, ul {
max-width: none;
}
.hp-header {
background-image: url("{{asset "img/richard-horvath-RAZU_R66vUc-unsplash.jpg"}}");
background-size: cover;
display: flex;
flex-direction: column;
justify-content: center;
min-height: 45vw;
}
.cta-button {
background: white!important;
color: black!important;
}
@media only screen and (min-width: 900px) {
.cta-button {
background-color: rgba(255,255,255,0.2)!important;
color: white!important;
}
}
</style>
{{!-- Everything inside the #post block pulls data from the page --}}
<main id="site-main" class="site-main">
<div class="hp-header">
<!--<h1 class="hero-text"><HELLO <br>WORLD/></h1>-->
<h1 class="hero-text">{ HELLO <br>WORLD; }</h1>
<div class="cta">
<a class="hp-cta-button subscribe-button" href="https://activateuts.com.au/clubs/programmers-society-progsoc" target="_blank" style="background-color: rgba(255,255,255,0.2); color: white; padding: 14px 19px 14px 19px; border-radius: 360px; font-weight: 700; opacity: 100%;">Become a Member</a>
</div>
</div>
<div class="hp-content">
<div class="header-detail">
<div class="post-card-primary-tag" style="font-weight: 700; font-size: 1em; padding-bottom: 10px;">About</div>
<p>ProgSoc is a club for all programmers who want to find fellow coders and learn more about programming! Showcase your skills and get help from other programmers, or just hang out and have fun, even if you're a beginner! We're welcome to all beginners, and are happy to help you learn more about the field, as well as helping out with different programming subjects, or just generally talking about the industry!</p>
</div>
<div class="hp-about-cta">
<a class="hp-content-cta hp-cta-button subscribe-button" href="about" style="padding: 14px 19px 14px 19px; border-radius: 360px; font-weight: 700; opacity: 100%;">Learn More</a>
</div>
<div class="hp-slider glide">
<div class="glide__track" data-glide-el="track">
<ul class="glide__slides">
<li class="glide__slide">
<div class="photo-grid container" style="width: 100%;">
<div class="hpp-row">
<div class="hpp-col" style="grid-column-start: 1; grid-column-end: 2;">
<div class="image-wrapper"><img src="{{asset "img/progsoc/prog1.jpg"}}" alt=""></div>
</div>
<div class="hpp-col" style="grid-column-start: 2; grid-column-end: 3;">
<div class="image-wrapper"><img src="{{asset "img/progsoc/prog2.jpg"}}" alt=""></div>
</div>
<div class="hpp-col" style="grid-column-start: 3; grid-column-end: 4;">
<div class="image-wrapper"><img src="{{asset "img/progsoc/prog3.jpg"}}" alt=""></div>
</div>
</div>
</div>
</li>
<li class="glide__slide">
<div class="photo-grid container" style="width: 100%;">
<div class="hpp-row">
<div class="hpp-col" style="grid-column-start: 1; grid-column-end: 2;">
<div class="image-wrapper"><img src="{{asset "img/progsoc/prog4.jpg"}}" alt=""></div>
</div>
<div class="hpp-col" style="grid-column-start: 2; grid-column-end: 3;">
<div class="image-wrapper"><img src="{{asset "img/progsoc/prog5.jpg"}}" alt=""></div>
</div>
<div class="hpp-col" style="grid-column-start: 3; grid-column-end: 4;">
<div class="image-wrapper"><img src="{{asset "img/progsoc/prog6.jpg"}}" alt=""></div>
</div>
</div>
</div>
</li>
<li class="glide__slide">
<div class="photo-grid container" style="width: 100%;">
<div class="hpp-row">
<div class="hpp-col" style="grid-column-start: 1; grid-column-end: 2;">
<div class="image-wrapper"><img src="{{asset "img/progsoc/prog7.jpg"}}" alt=""></div>
</div>
<div class="hpp-col" style="grid-column-start: 2; grid-column-end: 3;">
<div class="image-wrapper"><img src="{{asset "img/progsoc/prog8.jpg"}}" alt=""></div>
</div>
<div class="hpp-col" style="grid-column-start: 3; grid-column-end: 4;">
<div class="image-wrapper"><img src="{{asset "img/progsoc/prog9.jpg"}}" alt=""></div>
</div>
</div>
</div>
</li>
</ul>
</div>
<div class="glide__arrows" data-glide-el="controls">
<button style="border: none;" class="glide__arrow glide__arrow--left" data-glide-dir="<">←</button>
<button style="border: none;" class="glide__arrow glide__arrow--right" data-glide-dir=">">→</button>
</div>
<div class="glide__bullets" data-glide-el="controls[nav]">
<button class="glide__bullet" data-glide-dir="=0"></button>
<button class="glide__bullet" data-glide-dir="=1"></button>
<button class="glide__bullet" data-glide-dir="=2"></button>
</div>
</div>
<div class="hp-static-photos photo-grid container" style="width: 100%; padding-bottom: 50px;">
<div class="hpp-row">
<div class="hpp-col" style="grid-column-start: 1; grid-column-end: 2; padding-bottom: 20px;">
<div class="image-wrapper"><img src="{{asset "img/progsoc/prog1.jpg"}}" alt=""></div>
</div>
<div class="hpp-col" style="grid-column-start: 2; grid-column-end: 3; padding-bottom: 20px;">
<div class="image-wrapper"><img src="{{asset "img/progsoc/prog2.jpg"}}" alt=""></div>
</div>
<div class="hpp-col" style="grid-column-start: 3; grid-column-end: 4; padding-bottom: 20px;">
<div class="image-wrapper"><img src="{{asset "img/progsoc/prog3.jpg"}}" alt=""></div>
</div>
</div>
</div>
<!--<div class="hp-events">
<div class="post-card-primary-tag" style="font-weight: 700; font-size: 1em; padding-bottom: 10px;">Here's What's Happening</div>
<h1>Upcoming Events</h1>
</div>-->
<div class="hp-posts">
<div class="post-card-primary-tag" style="font-weight: 700; font-size: 1em; padding-bottom: 10px;">From the Blog</div>
<h1>Latest Posts</h1>
<div class="inner posts">
<div class="post-feed">
{{#get "posts" limit="3"}}
{{#foreach posts}}
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
{{> "post-card"}}
{{/foreach}}
{{/get}}
</div>
</div>
<div class="hp-blog-cta">
<a class="hp-content-cta hp-cta-button subscribe-button" href="blog" style="padding: 14px 19px 14px 19px; border-radius: 360px; font-weight: 700; opacity: 100%;">More Posts</a>
</div>
</div>
<div class="hp-membership">
<div class="post-card-primary-tag" style="font-weight: 700; font-size: 1em; padding-bottom: 10px;">Why you should join us</div>
<h1>Membership</h1>
<div class="hp-membership-inner" style="display: grid;">
<h6 style="grid-column-start: 1; grid-column-end: 2;">✔ Discounted Event Tickets</h6>
<h6 style="grid-column-start: 2; grid-column-end: 3; ">✔ Member Newsletter</h6>
<h6 style="grid-column-start: 3; grid-column-end: 4; ">✔ Free/Discounted Merch</h6>
<h6 style="grid-column-start: 1; grid-column-end: 2; ">✔ Support Our Community</h6>
<h6 style="grid-column-start: 2; grid-column-end: 3; ">✔ Access to Exclusive Resources</h6>
</div>
<div class="hp-member-cta">
<a class="hp-content-cta hp-cta-button subscribe-button" href="https://activateuts.com.au/clubs/programmers-society-progsoc" target="_blank" style="padding: 14px 19px 14px 19px; border-radius: 360px; font-weight: 700; opacity: 100%;">Become a Member</a>
</div>
</div>
</div>
<!--<article class="article {{post_class}}">
<header class="article-header gh-canvas">
{{#if feature_image}}
<figure class="article-image">
<img
srcset="{{img_url feature_image size="s"}} 300w,
{{img_url feature_image size="m"}} 600w,
{{img_url feature_image size="l"}} 1000w,
{{img_url feature_image size="xl"}} 2000w"
sizes="(min-width: 1400px) 1400px, 92vw"
src="{{img_url feature_image size="xl"}}"
alt="{{#if feature_image_alt}}{{feature_image_alt}}{{else}}{{title}}{{/if}}"
/>
{{#if feature_image_caption}}
<figcaption>{{feature_image_caption}}</figcaption>
{{/if}}
</figure>
{{/if}}
</header>
<section class="gh-content gh-canvas">
<h1 class="article-title">{{title}}</h1>
{{content}}
</section>
</article>-->
</main>