From 9747a4b05949d846aac369a991836cd292383ff1 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 28 Feb 2018 17:22:57 +0000 Subject: [PATCH] Add PHPSW post --- source/_includes/scripts.html.twig | 4 +++ ...18-02-28-building-the-new-phpsw-website.md | 28 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 source/_posts/2018-02-28-building-the-new-phpsw-website.md diff --git a/source/_includes/scripts.html.twig b/source/_includes/scripts.html.twig index 12201b1bb..a4509c2fb 100644 --- a/source/_includes/scripts.html.twig +++ b/source/_includes/scripts.html.twig @@ -9,4 +9,8 @@ {% endif %} +{% if page.has_tweets %} + +{% endif %} + {% block scripts %}{% endblock %} diff --git a/source/_posts/2018-02-28-building-the-new-phpsw-website.md b/source/_posts/2018-02-28-building-the-new-phpsw-website.md new file mode 100644 index 000000000..17dae910e --- /dev/null +++ b/source/_posts/2018-02-28-building-the-new-phpsw-website.md @@ -0,0 +1,28 @@ +--- +title: Building the new PHPSW Website +tags: + - phpsw + - symfony + - tailwind-css +has_tweets: true +--- +{% block excerpt %} +Earlier this week we had another hack night, working on the new [PHPSW user group][0] website. +{% endblock %} + +{% block content %} +
+ +
+ +It’s built with Symfony so it’s naturally using Twig for templating. I’ve become a big fan of the utility based approach to CSS and [Tailwind CSS][1] in particular, so I’m using that for all of the styling, and using [Webpack Encore][2] to compile all of the assets. + +We have an integration with Meetup.com which we’re using to pull all of our previous event data and store them as JSON files for Symfony to parse and render, which it then uses to generate static HTML to upload onto the server. + +We’re in the process of populating all of the past data, but look out for a v1 launch soon. In the meantime, feel free to take a peek at our [GitHub repository][3]. +{% endblock %} + +[0]: https://phpsw.uk +[1]: https://tailwindcss.com +[2]: https://github.com/symfony/webpack-encore +[3]: https://github.com/phpsw/phpsw-ng