-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add link to join Slack to the bottom of event details
refactor: Deduplicated site external links refactor: Removed redundant site.about
- Loading branch information
1 parent
0de8485
commit b25d43d
Showing
9 changed files
with
55 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{{#if link}} | ||
<a class="meetup-link" target="_blank" href="{{ link }}" title="View {{#if title}}{{ title }} {{/if}}on Meetup"> | ||
{{ text }}{{{ iconmonstr 'meetup' }}} | ||
</a> | ||
<a class="meetup-link" target="_blank" href="{{ link }}" title="View {{#if title}}{{ title }} {{/if}}on Meetup"> | ||
{{ text }}{{{ iconmonstr 'meetup' }}} | ||
</a> | ||
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{{#if link}} | ||
<a class="slack-link" target="_blank" href="{{ link }}" title="{{ title }}"> | ||
{{ text }}{{{ iconmonstr 'slack' }}} | ||
</a> | ||
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<ul class="social"> | ||
{{#each site.social as |social|}} | ||
<li> | ||
<a href="{{ social.link }}" target="_blank" title="{{ social.desc }}"> | ||
{{{ iconmonstr social.name }}} | ||
</a> | ||
</li> | ||
{{#with (lookup ../site.elsewhere [social])~}} | ||
<li> | ||
<a href="{{ link }}" target="_blank" title="{{ desc }}"> | ||
{{{ iconmonstr name }}} | ||
</a> | ||
</li> | ||
{{/with}} | ||
{{/each}} | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,74 +8,63 @@ | |
"mapbox": { | ||
"api_token": "pk.eyJ1IjoiYXN5bmNqcyIsImEiOiJrMHlGX3BJIn0.O57e5qvXpxKni60engPX2Q" | ||
}, | ||
"about": "Async meets monthly in Brighton & Hove, UK, to learn, discuss and play with JavaScript and related web technologies.\n\nWe host talks, hack nights, show n' tells and community events, all of which are free. \n\nDoors open 7.00pm, main session begins 7.00pm, we end around 9.00pm and continue nearby for an evening social.", | ||
"social": [ | ||
{ | ||
"elsewhere": { | ||
"twitter": { | ||
"name": "Twitter", | ||
"link": "https://twitter.com/asyncjs", | ||
"desc": "Follow @asyncjs on Twitter" | ||
}, | ||
{ | ||
"facebook": { | ||
"name": "Facebook", | ||
"link": "https://www.facebook.com/asyncjs/", | ||
"desc": "Like our page on Facebook" | ||
}, | ||
{ | ||
"youtube": { | ||
"name": "YouTube", | ||
"link": "https://www.youtube.com/AsyncBrighton", | ||
"desc": "Subscribe to our YouTube channel" | ||
}, | ||
{ | ||
"slack": { | ||
"name": "Slack", | ||
"link": "https://join.slack.com/t/asyncjs/shared_invite/zt-1aguxx86q-XjF_yWcFoJ8fyYYzoqgDaQ", | ||
"desc": "Join the Async Slack group" | ||
}, | ||
{ | ||
"meetup": { | ||
"name": "Meetup", | ||
"link": "https://www.meetup.com/Async-Web-Tech-Meetup/", | ||
"desc": "Join our meetup group" | ||
}, | ||
{ | ||
"github": { | ||
"name": "GitHub", | ||
"link": "https://github.com/asyncjs/async-website", | ||
"desc": "Fork this site on GitHub" | ||
} | ||
], | ||
"elsewhere": [ | ||
{ | ||
"name": "Meetup", | ||
"link": "https://www.meetup.com/Async-Web-Tech-Meetup/", | ||
"desc": "Join our meetup group" | ||
}, | ||
{ | ||
"news": { | ||
"name": "News", | ||
"link": "/news/", | ||
"desc": "Recent Async Announcements" | ||
}, | ||
{ | ||
"name": "Mailing List", | ||
"link": "http://groups.google.com/group/asyncjs/", | ||
"desc": "Email list on Google Groups" | ||
}, | ||
{ | ||
"feed": { | ||
"name": "Subscribe to feed", | ||
"link": "/feed/", | ||
"desc": "Subscribe to the website's Atom feed" | ||
}, | ||
{ | ||
"email": { | ||
"name": "Email Us", | ||
"link": "mailto:[email protected]", | ||
"desc": "Get in touch" | ||
}, | ||
{ | ||
"analytics": { | ||
"name": "Analytics", | ||
"link": "https://app.usefathom.com/share/dcqsdyfp/asyncjs.com", | ||
"desc": "Analytics powered by Fathom" | ||
}, | ||
{ | ||
"conduct": { | ||
"name": "Code of Conduct", | ||
"link": "/codeofconduct/", | ||
"desc": "View our Code of Conduct" | ||
} | ||
] | ||
}, | ||
"social": ["twitter", "facebook", "youtube", "slack", "meetup", "github"], | ||
"footer": ["meetup", "news", "feed", "email", "analytics", "conduct"] | ||
} |