Skip to content

Commit

Permalink
Added /wall
Browse files Browse the repository at this point in the history
feat: Improved news styling

refactor: Added Tailwind

refactor: Dropped Gulp

Replaces several gulp tasks with more stable npm scripts

Updates metalsmith and related libraries with breaking changes

Replaces sync-files package with cpr

Moves to postcss-cli

Removes gulpsmith in preference of using metalsmith directly

Removes timed news feature rendered obsolete by metalsmith

Switches to esbuild for scripts

Switches to chokidar-cli for local dev environment

Ditches sass syntax for modern css

Upgrades to @metalsmith/collections, @metalsmith/excerpts, @metalsmith/drafts

Renders metalsmith-collections-filter, metalsmith-collections-limit packages obsolete

Swaps previous / next event props now they're corrected in @metalsmith/collections

refactor: Recovered event listings with url collisions

Split up the following pages that previously used the same slug:
- `/web-maps` `/7-similarities-between-go-and-node`
- `/react-native` `/react-native-2`
- `/webgl` `/webgl-threejs`

Previously the older event was overwritten, so this recovers some pages to appear in the Async archives once again

refactor: Removed obsolete Lanyrd widget

refactor: Removed obsolete email obfuscation script

refactor: Removed obsolete data-[slides|video] detection

This feature would retrieve an embed url for slides or videos using an unsupported (jekyll-flavoured?) markdown link syntax. It was only used for two talks' slides and the linked videos (from Vimeo) all 404.

chore: Updated dependencies

Fix Slack link/icon

Fix wrapper/footer layout (stretch to fill screen height)

Set initial viewport scale

Fix image/video sizing (prevent overflow on small devices)

Fix hero overlay on mobile

Disallow bots crawling /wall

Add news to main navigation

Add missing javascript jungle image
  • Loading branch information
yanneves committed Mar 27, 2024
1 parent c6f7835 commit a78a920
Show file tree
Hide file tree
Showing 336 changed files with 6,965 additions and 22,873 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
- run: npm run build
env:
CI: true
GA_KEY: ${{ secrets.GA_KEY }}
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,6 @@ dist/

# Editor specific files
.vscode/

# Metalsmith
.metalsmith/
3 changes: 0 additions & 3 deletions .markdownlintrc

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.17.1
lts/iron
26 changes: 11 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
[![Build Status](https://travis-ci.org/asyncjs/async-website.svg?branch=master)](https://travis-ci.org/asyncjs/async-website)

# Async Website

Welcome to the repository for the Async website. The site is statically generated using [Metalsmith][#metalsmith] and hosted on [GitHub pages][#gh-pages]. This just means this repository contains templates and assets that are converted into a static HTML site each time a commit is pushed to GitHub.
![Build Status](https://github.com/asyncjs/async-website/actions/workflows/build.yml/badge.svg)
![Deploy Status](https://github.com/asyncjs/async-website/actions/workflows/deploy.yml/badge.svg)

Welcome to the repository for the Async website. The site is statically generated using [Metalsmith][#metalsmith] and hosted on [GitHub Pages][#gh-pages]. This just means this repository contains templates and assets that are converted into a static HTML site each time a commit is pushed to GitHub.

## Running the server locally

You'll need [node.js][#nodejs] >=12.13.0 and npm >=6.10.0 installed locally.

If you are using nvm, you can run the following to install and use node 12:
If you are using nvm, you can run the following to install using `.nvmrc`:

```bash
nvm install
Expand All @@ -20,12 +22,6 @@ You will need to run the following each time you come to work on the site:
nvm use
```

You can then globally install npm 6 with:

```bash
npm i npm@6.10 -g
```

Once you have the correct node and npm versions you can install project dependencies by running:

```bash
Expand All @@ -43,7 +39,7 @@ $ npm start
To run a single build and not create a watch task, run the following from the project directory:

```bash
$ npm test
$ npm run build
```

This writes out the site files into the `dist/` directory.
Expand Down Expand Up @@ -81,7 +77,7 @@ venue: An object containing venue data,
location: A link to a map for the venue,
address: The address of the venue all in one line,
latlong: Lat long for the venue, e.g. "50.826945,-0.136401".
layout: The page layout file. Usually "event.html".
layout: The page layout file. Usually "event.hbs".
collection: The page category. Usually "events".
draft: If true then the post will not appear on the site.
```
Expand All @@ -98,7 +94,7 @@ lanyrd: (optional) The url to the lanyrd page for the event.
authors: An array of authors,
- name: Author name,
link: Author website or Twitter account.
layout: news.html
layout: news.hbs
collection: news
draft: false
```
Expand All @@ -108,7 +104,7 @@ draft: false
GitHub pages rebuilds the site whenever a new commit is made. If a re-build is required, even without new content - e.g. in order to re-render the 'next event' on the home page, then run the following:
```bash
$ git commit --allow-empty -m "Republish GitHub pages (empty commit)"
$ git commit --allow-empty -m "Republish GitHub Pages (empty commit)"
$ git push
```

Expand All @@ -117,9 +113,9 @@ $ git push
Async was founded by [Premasagar Rose][#prem] in 2010. He has since moved to Portugal, but kindly allowed the community to continue using the name, website, and domain. In the event of Async ceasing to continue, the domain of asyncjs.com should pass back to [Prem][#prem].


[#metalsmith]: http://metalsmith.io/
[#metalsmith]: https://metalsmith.io/
[#gh-pages]: https://pages.github.com/
[#nodejs]: https://nodejs.org/
[#md]: https://daringfireball.net/projects/markdown/
[#yaml]: http://yaml.org/
[#yaml]: https://yaml.org/
[#prem]: http://premasagar.com/
1 change: 1 addition & 0 deletions _assets/images/iconmonstr/megaphone.svg
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/images/news/javascript-jungle.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion _assets/scripts/hubbub.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
MIT license
*/

var Hubbub = (function() {
Hubbub = (function() {

"use strict";

Expand Down
Loading

0 comments on commit a78a920

Please sign in to comment.