Skip to content

Commit

Permalink
add /events page (#2336)
Browse files Browse the repository at this point in the history
* feat: /events page

* feat: add /events page to menu

* feat: add share image

* try node 18 with sharp

* fix build for node 18

* mobile event filters + new components

* fix style bugs

* add airtable key to CI

* fix load more button not hiding at the end

* use event `type` instead of `topic`

* fix webp processing

* increase processed image size
  • Loading branch information
olaszakos authored Jan 22, 2024
1 parent b91a54e commit e302231
Show file tree
Hide file tree
Showing 40 changed files with 11,250 additions and 3,758 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
CONTENTFUL_ACCESS_TOKEN: ${{ secrets.CONTENTFUL_ACCESS_TOKEN }}
CONTENTFUL_HOST: ${{ secrets.CONTENTFUL_HOST }}
CONTENTFUL_SPACE_ID: ${{ secrets.CONTENTFUL_SPACE_ID }}
AIRTABLE_KEY: ${{ secrets.AIRTABLE_SA_PORTAL_SERVICE_ACCOUNT }}

- name: Get URL
id: get-url
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/preview-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- uses: actions/github-script@v6
with:
script: |
Expand Down Expand Up @@ -77,6 +77,7 @@ jobs:
CONTENTFUL_ACCESS_TOKEN: ${{ secrets.CONTENTFUL_ACCESS_TOKEN }}
CONTENTFUL_HOST: ${{ secrets.CONTENTFUL_HOST }}
CONTENTFUL_SPACE_ID: ${{ secrets.CONTENTFUL_SPACE_ID }}
AIRTABLE_KEY: ${{ secrets.AIRTABLE_SA_PORTAL_SERVICE_ACCOUNT }}
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}

- name: Report build error
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
CONTENTFUL_ACCESS_TOKEN: ${{ secrets.CONTENTFUL_ACCESS_TOKEN }}
CONTENTFUL_HOST: ${{ secrets.CONTENTFUL_HOST }}
CONTENTFUL_SPACE_ID: ${{ secrets.CONTENTFUL_SPACE_ID }}
AIRTABLE_KEY: ${{ secrets.AIRTABLE_SA_PORTAL_SERVICE_ACCOUNT }}

- name: Update search index
run: |
Expand Down
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

13 changes: 7 additions & 6 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const {
const fs = require("fs");
const validateShowcasePlugin = require("./plugins/validate-showcase.js");
const contentfulPlugin = require("./plugins/contentful");
const airtablePlugin = require("./plugins/airtable");

const isDeployPreview = !!process.env.PREVIEW_CANISTER_ID;

Expand Down Expand Up @@ -410,16 +411,16 @@ const marketingNav = {
href: "/node-providers",
description: "Become a node provider",
},
{
name: "Events",
href: "/events",
description: "Meet fellow Web3 enthusiasts",
},
{
name: "Community Blog",
href: "https://medium.com/dfinity",
description: "Keep up to date",
},
{
name: "Upcoming events",
description: "Meet fellow Web3 enthusiasts",
href: "https://dfinity.org/events-and-news/",
},
],
featured: {
title: "ICP around the world",
Expand Down Expand Up @@ -478,7 +479,6 @@ const config = {
},
scripts: [],
plugins: [
["docusaurus2-dotenv", { systemvars: true }],
"docusaurus-plugin-sass",
customWebpack,
tailwindPlugin,
Expand All @@ -494,6 +494,7 @@ const config = {
matomoPlugin,
blogPostsPlugin,
contentfulPlugin,
airtablePlugin,
validateShowcasePlugin,
externalRedirectsPlugin({
redirects: [...getExternalRedirects(), ...getExactUrlRedirects()],
Expand Down
Loading

0 comments on commit e302231

Please sign in to comment.