Skip to content

Commit

Permalink
Merge pull request #44 from iancrowther/sponsors
Browse files Browse the repository at this point in the history
Sponsors
  • Loading branch information
simonmcmanus committed Nov 23, 2015
2 parents 5aceb67 + 441bb1d commit 5f6fcb2
Show file tree
Hide file tree
Showing 14 changed files with 544 additions and 357 deletions.
121 changes: 49 additions & 72 deletions archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,39 +26,39 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-12 lnug-hero">
<div class="lnug-header img-responsive">
</div>
<div class="lnug-headline text-center"><h1>A meetup hosted monthly in London, LNUG is for people who use Node.js for fun or profit.</h1></div>
<div class="row">
<div class="lnug-menu col-lg-12">
<div class="container">

<div class="row">
<div class="col-xs-12 lnug-hero">
<div class="lnug-header img-responsive"></div>
<div class="lnug-headline text-center">
<h1>A meetup hosted monthly in London, LNUG is for people who use Node.js for fun or profit.</h1>
</div>
<div class="row">
<div class="lnug-menu col-lg-12">
<div class="lnug-menu-textblock col-lg-8 col-lg-offset-2">
<div class="lnug-menu-text col-xs-12 col-lg-3"><a href="/">This month</a></div>
<div class="lnug-menu-text col-xs-12 col-lg-3"><a href="/archive">Archive</a></div>
<div class="lnug-menu-text col-xs-12 col-lg-3"><a href="https://gitter.im/lnug/discuss" target="_blank">Discuss</a></div>
<div class="lnug-menu-text col-xs-12 col-lg-3"><a id="lnug-tkt" href="https://ti.to/lnug/november-2015" target="_blank">Free Tickets</a></div>
<div class="lnug-menu-text col-xs-12 col-lg-3"><a href="https://gitter.im/lnug/discuss" target="_blank">Discuss</a></div>
<div class="lnug-menu-text col-xs-12 col-lg-3"><a href="/sponsors">Sponsors</a></div>
</div>
</div>
</div>
</div>
<div class="lnug-nextevent">
<div class="text-center">
<p>Next meetup: <span class="lnug-nextmeetup">November 25th 2015</span></p>
<div class="lnug-nextevent">
<div class="text-center">
<p>Next meetup: <span class="lnug-nextmeetup">November 25th 2015</span></p>
</div>
</div>
</div>
</div>
</div>



<div class="row">
<div class="row lnug-sectiondesc">
<div class="col-xs-12 col-md-8 text-center talk-label ">Archive</div>
<div class="col-xs-12 col-md-4 text-center sponsor-label hidden-xs hidden-sm">Sponsors</div>
</div>
<div class="row">
<div class="row lnug-sectiondesc">
<div class="col-xs-12 col-md-8 text-center talk-label ">Archive</div>
<div class="col-xs-12 col-md-4 text-center sponsor-label hidden-xs hidden-sm">Tweets</div>
</div>

<div class="col-xs-12 col-md-8 col-lg-8 lnug-content lnug-archive"><dl><dt> November 2015 </dt> <dd>
<div class="col-xs-12 col-md-8 col-lg-8 lnug-content lnug-archive"><dl><dt> November 2015 </dt> <dd>
<a href="https://github.com/BenHall">Ben Hall</a><span> - Scaling Node.js using Docker</span>
</dd>
<dd>
Expand Down Expand Up @@ -531,61 +531,38 @@
</dd>
</dl></div>

<div class="col-xs-12 col-md-4 col-lg-4 lnug-sidebar text-center">
<ul class="list-unstyled">
<li>
<a href="http://www.nexttick.io" target="_blank" title="Nexttick homepage, proud sponsor of LNUG">
<img src="./public/nexttick.jpg" alt="Nexttick Logo">
</a>
</li>
<li>
<a href="https://www.braintreepayments.com/" target="_blank" title="BrainTree Payments homepage, proud sponsor of LNUG">
<img src="./public/braintree.png" alt="BrainTree Payments Logo">
</a>
</li>
<li>
<a href="https://www.huddle.com/" target="_blank" title="Huddle homepage, proud sponsor of LNUG">
<img src="./public/huddle.png" alt="Huddle Logo">
</a>
</li>
<li>
<a href="https://strongloop.com/" target="_blank" title="StrongLoop homepage, proud sponsor of LNUG">
<img src="./public/strongloop.png" alt="StrongLoop Logo">
</a>
</li>
</ul>

<div class="twitter-label lnug-sectiondesc">Tweets</div>
<div class="twitter-widget">
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/LNUGorg" data-widget-id="568413083740422144">@LNUGORG</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<div class="col-xs-12 col-md-4 col-lg-4 lnug-sidebar text-center">
<div class="twitter-widget">
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/LNUGorg" data-widget-id="568413083740422144">@LNUGORG</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
</div>
</div>


<div class="row">
<div class="col-xs-12 lnug-footer">
<ul class="lnug-footer-text">
<li><a href="code-of-conduct" title="code-of-conduct">Code of Conduct</a></li>
<li><a href="mailto:contact@lnug.org?Subject=LNUG+site+question">Contacts</a></li>
<li><a href="http://nexttick.us8.list-manage.com/subscribe?u=9ebd291b0179eceff6533b0da&amp;id=f7e81cdb7a" target="_blank" title="The monthly newsletter">Newsletter</a></li>
<li><a href="//github.com/lnug/speak" target="_blank" title="speakers application">Apply to Speak</a></li>
</ul>
<ul class="lnug-footer-text">
<li>LNUG 2015 - THE nodejs meetup in London</li>
</ul>
<div class="row">
<div class="col-xs-12 lnug-footer">
<ul class="lnug-footer-text">
<li><a href="//github.com/lnug/speak" target="_blank" title="speakers application">Apply to Speak</a></li>
<li><a href="http://nexttick.us8.list-manage.com/subscribe?u=9ebd291b0179eceff6533b0da&amp;id=f7e81cdb7a" target="_blank" title="The monthly newsletter">Newsletter</a></li>
<li><a href="mailto:contact@lnug.org?Subject=LNUG+site+question">Contact Us</a></li>
<li><a href="code-of-conduct" title="code-of-conduct">Code of Conduct</a></li>
<li><a href="archive">Archive</a></li>
</ul>
<ul class="lnug-footer-text">
<li>LNUG 2015 - THE nodejs meetup in London</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</body>

<link href="//fonts.googleapis.com/css?family=Open+Sans:300,400,700" rel="stylesheet" type="text/css">
<script>
<script>
!function(g,s,q,r,d){r=g[r]=g[r]||function(){(r.q=r.q||[]).push(
arguments)};d=s.createElement(q);q=s.getElementsByTagName(q)[0];
d.src='//d1l6p2sc9645hc.cloudfront.net/tracker.js';q.parentNode.
insertBefore(d,q)}(window,document,'script','_gs');
arguments)};d=s.createElement(q);q=s.getElementsByTagName(q)[0];
d.src='//d1l6p2sc9645hc.cloudfront.net/tracker.js';q.parentNode.
insertBefore(d,q)}(window,document,'script','_gs');

_gs('GSN-057421-B');
</script>
_gs('GSN-057421-B');
</script>
</html>
Binary file added assets/sponsors/jscramble.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sponsors/placeholder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
20 changes: 20 additions & 0 deletions bin/build-homepage.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ var titoLink = require('../lib/tito-link');

var indexTemplate = fs.readFileSync('./templates/index.html', 'utf8');
var speakerTemplate = fs.readFileSync('./templates/speaker.html', 'utf8');
var sponsorsTemplate = fs.readFileSync('./sponsors.html', 'utf8');
var cocContent = fs.readFileSync('./code-of-conduct-content.html', 'utf8');

/**
* Turns speaker object into selector object to be used by sizlate.
Expand Down Expand Up @@ -48,4 +50,22 @@ var out = sizlate.doRender(indexTemplate, {
}
});

var out_sponsors = sizlate.doRender(sponsorsTemplate, {
'.lnug-nextmeetup': nextEvent(),
'#lnug-tkt': {
href: titoLink()
}
});

var out_coc = sizlate.doRender(indexTemplate, {
'.lnug-nextmeetup': nextEvent(),
'.lnug-content': cocContent,
'.talk-label': 'Code of conduct at LNUG events',
'#lnug-tkt': {
href: titoLink()
}
});

fs.writeFileSync('./index.html', out, 'utf8');
fs.writeFileSync('./sponsors.html', out_sponsors, 'utf8');
fs.writeFileSync('./code-of-conduct.html', out_coc, 'utf8');
24 changes: 24 additions & 0 deletions code-of-conduct-content.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<div class="lnug-code-of-conduct">
<h1>Code Of Conduct</h1>
<p>
LNUG is dedicated to providing a harassment-free meetup experience for everyone. We do not tolerate harassment of meetup participants in any form. Participants violating these rules may be sanctioned or expelled from the meetup at the discretion of the organisers.</p>
<p>This code of conduct applies to attendees, speakers, and organisers at the monthly meetups and in related social events. This includes slide decks and listings on the job board.</p>
<h1>Unacceptable Behaviour</h1>
<p>The following behaviour is considered unacceptable and constitutes harassment:</p>
<ul>
<li>Offensive verbal comments related to gender, gender identity and expression, sexual orientation, disability, physical appearance, body size, race, religion.</li>
<li>Sexual images in public spaces.</li>
<li>Deliberate intimidation, stalking, following, harassing photography or recording.</li>
<li>Sustained disruption of talks or other events.</li>
<li>Inappropriate physical contact.</li>
<li>Unwelcome sexual attention.</li>
<li>Participants asked to stop any harassing behavior are expected to comply immediately.</li>
</ul>
<h1>Consequences Of Unacceptable Behaviour</h1>
<p>If a participant engages in harassing behavior, the meetup organisers may take any action they deem appropriate, including warning the offender or expulsion from the meetup.</p>
<h1>Reporting</h1>
<p>If you are being harassed, notice that someone else is being harassed, or have any other concerns, please contact one of the organisers immediately.</p>
<p>LNUG Organizers</p>
<p><code>email: contact@lnug.org</code></p>
<p>Meetup organisers will also be happy to help participants contact local law enforcement, or otherwise assist those experiencing harassment to feel safe for the duration of the meetup. <strong> We value your attendance.</strong></p>
</div>
Loading

0 comments on commit 5f6fcb2

Please sign in to comment.