Skip to content

Commit 106afb3

Browse files
committed
get the particles working
1 parent 6064836 commit 106afb3

16 files changed

+1346
-27
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
/assets/built/
1+
/assets/dist/
22
/dist/
33
/node_modules/

assets/images/favicon.png

1.67 KB
Loading

assets/particles/bolt.48cc427e.png

924 Bytes
Loading

assets/particles/circle.516d0062.png

1.33 KB
Loading

assets/particles/cross.36a4f529.png

1.1 KB
Loading

assets/particles/gem.b79a3ee9.png

1.49 KB
Loading

assets/particles/hadron.d57b1908.js

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
946 Bytes
Loading

default.hbs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<!DOCTYPE html>
22
<html lang="{{@site.locale}}">
33
<head>
4-
<meta charset="utf-8" />
4+
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<title>{{meta_title}}</title>
77

88
{{!-- CSS and JS with asset helper--}}
9-
<link rel="stylesheet" href="{{asset "built/app.css"}}" />
10-
<script src="{{asset "built/app.js"}}" defer></script>
9+
<link rel="stylesheet" href="{{asset "dist/app.css"}}" />
10+
<script src="{{asset "dist/app.js"}}" defer></script>
1111

1212
{{!-- contentFor/block scripts - use with defer --}}
1313
{{{block "scripts"}}}
@@ -35,5 +35,7 @@
3535

3636
{{!-- Outputs important scripts - should always be included before closing body tag --}}
3737
{{ghost_foot}}
38+
<div id="particles" style="position: fixed; top: 0; z-index: -10"></div>
39+
<script src="{{ asset "particles/hadron.d57b1908.js"}}"></script>
3840
</body>
3941
</html>

index.hbs

Lines changed: 286 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,299 @@
22
{{!< default}}
33
<section class="grid">
44
<header>
5-
<h1>{{@site.title}}</h1>
6-
<p>{{@site.description}}</p>
5+
<a href="/" id="main-logo">
6+
<div class="logo-square">
7+
<div class="logo-circle"></div>
8+
</div>
9+
<h1>{{@site.title}}</h1>
10+
</a>
11+
<h2>{{@site.description}}</h2>
712
</header>
813

14+
<div class="upcoming">
15+
<div class="next-conf">
16+
<a href="/executive-director">Ruby Central Welcomes New Executive Director, Neil McGovern</a>
17+
</div>
18+
19+
<div class="next-conf">
20+
<a href="/ruby-shield">Ruby Central announces Ruby Shield, a partnership with Shopify to fund infrastructure and security.</a>
21+
</div>
22+
23+
<div class="next-conf">
24+
<span>
25+
Our next conference is
26+
<a href="https://rubyconf.org" target="_blank">RubyConf</a> on November 29 - December 1, 2022 in Houston, TX.
27+
</span>
28+
<a href="https://rubyconf.org" target="_blank" class="next-conf-button">Let's go!</a>
29+
</div>
30+
</div>
31+
32+
<div class="main-grid">
33+
<div>
34+
<section id="blurb">
35+
<div class="icon-box"></div>
36+
<h4>
37+
Ruby Central is a non-profit organization dedicated to Ruby support
38+
and advocacy of the worldwide Ruby community.
39+
</h4>
40+
<p>
41+
We organize the annual RubyConf and RailsConf software conferences,
42+
support community growth, and provide vital infrastructure for the
43+
Ruby programming language.
44+
</p>
45+
<p><a href="#about">Learn more about us.</a></p>
46+
</section>
47+
<section id="rubygems">
48+
<div class="section-header">
49+
<div class="icon-box"></div>
50+
<h3>RubyGems</h3>
51+
<img src="{{asset "img/arrow.svg"}}" class="arrow">
52+
</div>
53+
<p>
54+
RubyGems is the code-packaging system for the Ruby community.
55+
Started as a project in 2004 by the directors of Ruby Central and
56+
friends, RubyGems has grown into an invaluable and wide-ranging
57+
resource for the sharing of code among all members of the community.
58+
With hosting support by Ruby Central, more information can be found
59+
at <a href="https://rubygems.org">rubygems.org</a>.
60+
</p>
61+
</section>
62+
</div>
63+
<div>
64+
<section id="community">
65+
<div class="section-header">
66+
<div class="icon-box"></div>
67+
<h3>Community</h3>
68+
<img src="{{asset "img/arrow.svg"}}" class="arrow">
69+
</div>
70+
<p>
71+
Here at Ruby Central, we’re incredibly appreciative of our
72+
community, which is dedicated to maintaining an open, welcoming, and
73+
supportive environment for all Rubyists. As such, we’re always
74+
excited to hear about new Ruby-related projects and regional
75+
conferences.
76+
</p>
77+
78+
<p>
79+
In some instances, we are able to provide resources, grants, or
80+
other forms of assistance. If you have a project or conference that
81+
you think we should know about, please don’t hesitate to
82+
<a href="mailto:[email protected]">contact us</a>.
83+
</p>
84+
<h5>Community Grants</h5>
85+
<p>
86+
Launching a new event (conferences, user groups, etc.) benefiting the Ruby community? We may be able to provide guidance and/or support. <a href="/grants">Learn more about grants</a>.
87+
</p>
88+
<h5>Opportunity Scholarships</h5>
89+
<p>
90+
Interested in replicating our Opportunity Scholarship program at your own event, with some assistance from us? <a href="/scholarships">Learn more about scholarships</a>.
91+
</p>
92+
</section>
93+
<section id="conferences">
94+
<h3>33 Conferences and counting.</h3>
95+
</section>
96+
</div>
97+
</div>
98+
<section id="support">
99+
<div class="section-header">
100+
<div class="icon-box"></div>
101+
<h3>Support</h3>
102+
<img src="{{asset "img/arrow.svg"}}" class="arrow">
103+
</div>
104+
<p>
105+
The Ruby language could not have developed so robustly without its
106+
dedicated community. This community consists of not only talented and
107+
passionate individual developers, but also many dynamic companies that
108+
recognize the value of helping foster a strong, sustainable environment
109+
for Ruby development.
110+
</p>
111+
<p></p>
112+
113+
<p>
114+
If you are looking for ways in which you can help us support the Ruby
115+
community, please contact us at
116+
<a href="mailto:[email protected]">[email protected]</a>.
117+
</p>
118+
</section>
119+
<div class="main-grid">
120+
<div>
121+
<section id="rubyconf" class="light-background">
122+
<div class="section-header">
123+
<div class="icon-box"></div>
124+
<h3>RubyConf</h3>
125+
<img src="{{asset "img/darkarrow.svg"}}" class="arrow">
126+
</div>
127+
<p>
128+
<a href="https://rubyconf.org">RubyConf</a> is the Ruby community’s
129+
annual celebration of all things Ruby! Every fall, we gather Ruby
130+
enthusiasts together to enjoy detailed talks about exciting new
131+
projects; meet and network with other Ruby developers; and hear from
132+
the community’s leading minds, including Yukihiro Matsumoto
133+
("Matz"), the creator of the Ruby language.
134+
</p>
135+
<ul class="conference-list">
136+
<li>
137+
Nashville 2019<a
138+
href="https://www.youtube.com/watch?v=2g9R7PUCEXo&list=PLE7tQUdRKcyZDE8nFrKaqkpd-XK4huygU"
139+
></a>
140+
</li>
141+
<li>
142+
Los Angeles 2018<a
143+
href="http://confreaks.tv/events/rubyconf2018"
144+
></a>
145+
</li>
146+
<li>
147+
New Orleans 2017<a
148+
href="http://confreaks.tv/events/rubyconf2017"
149+
></a>
150+
</li>
151+
<li>
152+
Cincinnati 2016<a
153+
href="http://confreaks.tv/events/rubyconf2016"
154+
></a>
155+
</li>
156+
<li>
157+
San Antonio 2015<a
158+
href="http://confreaks.tv/events/rubyconf2015"
159+
></a>
160+
</li>
161+
<li>
162+
San Diego 2014<a
163+
href="http://confreaks.tv/events/rubyconf2014"
164+
></a>
165+
</li>
166+
<li>
167+
Miami Beach 2013<a
168+
href="http://confreaks.tv/events/rubyconf2013"
169+
></a>
170+
</li>
171+
<li>
172+
Denver 2012<a href="http://confreaks.tv/events/rubyconf2012"></a>
173+
</li>
174+
<li>
175+
New Orleans 2011<a
176+
href="http://confreaks.tv/events/rubyconf2011"
177+
></a>
178+
</li>
179+
<li>
180+
New Orleans 2010<a
181+
href="http://confreaks.tv/events/rubyconf2010"
182+
></a>
183+
</li>
184+
<li>
185+
San Francisco 2009<a
186+
href="http://confreaks.tv/events/rubyconf2009"
187+
></a>
188+
</li>
189+
<li>
190+
Orlando 2008<a href="http://confreaks.tv/events/rubyconf2008"></a>
191+
</li>
192+
<li>
193+
Charlotte 2007<a
194+
href="http://confreaks.tv/events/rubyconf2007"
195+
></a>
196+
</li>
197+
<li>Denver 2006</li>
198+
<li>San Diego 2005</li>
199+
<li>Reston 2004</li>
200+
<li>Austin 2003</li>
201+
<li>Seattle 2002</li>
202+
<li>Tampa 2001</li>
203+
</ul>
204+
</section>
205+
</div>
206+
<div>
207+
<section id="railsconf" class="light-background">
208+
<div class="section-header">
209+
<div class="icon-box"></div>
210+
<h3>RailsConf</h3>
211+
<img src="{{asset "img/darkarrow.svg"}}" class="arrow">
212+
</div>
213+
<p>
214+
<a href="https://railsconf.org">RailsConf</a> is the world’s largest
215+
gathering of Rails developers, brought together to further
216+
discussion and learning about building, managing, and testing Rails
217+
applications. With a specific focus on Rails, conference topics can
218+
range from new users to administration to advanced techniques.
219+
</p>
220+
<ul class="conference-list">
221+
<li>
222+
Minneapolis 2019<a
223+
href="https://www.youtube.com/playlist?list=PLE7tQUdRKcyaOq3HlRm9h_Q_WhWKqm5xc"
224+
></a>
225+
</li>
226+
<li>
227+
Pittsburgh 2018<a
228+
href="http://confreaks.tv/events/railsconf2018"
229+
></a>
230+
</li>
231+
<li>
232+
Phoenix 2017<a
233+
href="http://confreaks.tv/events/railsconf2017"
234+
></a>
235+
</li>
236+
<li>
237+
Kansas City 2016<a
238+
href="http://confreaks.tv/events/railsconf2016"
239+
></a>
240+
</li>
241+
<li>
242+
Atlanta 2015<a
243+
href="http://confreaks.tv/events/railsconf2015"
244+
></a>
245+
</li>
246+
<li>
247+
Chicago 2014<a
248+
href="https://www.youtube.com/playlist?list=PLE7tQUdRKcyZ5jfnbS_osIoWzK_FrwKz5"
249+
></a>
250+
</li>
251+
<li>
252+
Portland 2013<a
253+
href="https://www.youtube.com/playlist?list=PLE7tQUdRKcybxgqVTwuOA12wr5Gn2M2Pp"
254+
></a>
255+
</li>
256+
<li>
257+
Austin 2012<a
258+
href="https://www.youtube.com/playlist?list=PLF16D2F3A8469021E"
259+
></a>
260+
</li>
261+
<li>
262+
Baltimore 2011<a
263+
href="https://www.youtube.com/playlist?list=PL379EA9290474C86C"
264+
></a>
265+
</li>
266+
<li>
267+
Baltimore 2010<a
268+
href="https://www.youtube.com/playlist?list=PL393ECE649BB3813D"
269+
></a>
270+
</li>
271+
<li>Las Vegas 2009</li>
272+
<li>Portland 2008</li>
273+
<li>Portland 2007</li>
274+
<li>Chicago 2006</li>
275+
</ul>
276+
</section>
277+
</div>
278+
</div>
279+
280+
<div id="about">
281+
<div class="content">
282+
<!-- <%= erb :directors %> -->
283+
<!-- <%= erb :staff %> -->
284+
</div>
285+
</div>
286+
<div id="history">
287+
<div class="content">
288+
<!-- <%= erb :history %> -->
289+
</div>
290+
</div>
291+
9292
{{#foreach posts}}
10293

11294
<article>
12295
{{#if feature_image}}
13296
<div>
14-
<img src="{{img_url feature_image size="m"}}" alt="">
297+
<img src="{{asset "{{img_url feature_image size="}}"m"}}" alt="">
15298
</div>
16299
{{/if}}
17300
<div>

partials/footer.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<footer>
22
{{navigation type="secondary"}}
3+
<a href="mailto:[email protected]"><img src="{{asset "/img/contact-icon.svg"}}" alt="Contact"/></a>
34
</footer>

post.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515

1616

1717
{{#contentFor 'scripts'}}
18-
<script src="{{asset 'built/post.js'}}" defer></script>
19-
{{/contentFor}}
18+
<script src="{{asset 'dist/post.js'}}" defer></script>
19+
{{/contentFor}}

rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default [
3333
{
3434
input: 'src/js/app/index.js',
3535
output: {
36-
file: 'assets/built/app.js',
36+
file: 'assets/dist/app.js',
3737
format: 'iife',
3838
sourcemap: true,
3939
},
@@ -42,7 +42,7 @@ export default [
4242
{
4343
input: 'src/js/post/index.js',
4444
output: {
45-
file: 'assets/built/post.js',
45+
file: 'assets/dist/post.js',
4646
format: 'iife',
4747
sourcemap: true,
4848
},

0 commit comments

Comments
 (0)