Skip to content

Conversation

joepio
Copy link
Collaborator

@joepio joepio commented Aug 28, 2025

Closes #435 <== see for more discussion on the idea

Implementation

  • Campaigns are defined in a JSON object. Plan is to later migrate this to airtable. How will we do this with translations? Maybe keep em as md and use frontmatter data to get some data? Idk.
  • Individual campaign pages are just markdown pages. Seems easy because of translations. Campaings have a URL, can be external. In the future some campaigns may have their own entire website.

TODO

  • Initial campaign content
  • Shown on home page
  • Shown on /campaigns page
  • Linked to from /organization
  • Linked to from footer
  • Linked to from ... other things?
  • Images
  • Check if translations work
  • Improve styling, probably.

Copy link

netlify bot commented Aug 28, 2025

Deploy Preview for pauseai ready!

Name Link
🔨 Latest commit 3a0d19a
🔍 Latest deploy log https://app.netlify.com/projects/pauseai/deploys/68b0cefa72fb930008d33144
😎 Deploy Preview https://deploy-preview-439--pauseai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 37 (🔴 down 24 from production)
Accessibility: 89 (no change from production)
Best Practices: 100 (no change from production)
SEO: 99 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@Wituareard
Copy link
Collaborator

Also it would be good if it could be either a component embedded in Markdown with the content there or use Paraglide messages, but that's not super high priority of course

@joepio joepio marked this pull request as draft August 28, 2025 13:15
@anthonybailey
Copy link
Collaborator

Can you explain why you want them in Airtable at all? Is it entirely for dynamic changes that don't require a website deploy? Decoupling?

As well as solving the l10n "dunno" you express, working by building static pages wherever possible seems to have many advantages.

It scales more simply under viewer traffic, even hyperscales.

Airtable requires technical literacy, separate permissions thinking, has write access costs.

Static data is source controlled. All the existing permissions, review processes, workflow things that we have to handle anyway for website updates - including what we do to train and assist less technical contributors - are there to build on. Note that Nils already put some special non-post cases (e.g. quotes) in to the Decap CMS.

Copy link
Collaborator

@anthonybailey anthonybailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thoughts on static vs Airtable longer term.

@anthonybailey
Copy link
Collaborator

Any asset as wide as 400px clips slightly under portrait in Chrome on my own Android phone, btw. This isn't new: I've seen it once or twice in other Pause AI pages. On a real image it is typically fine, suggest just try to keep centralized embedded text to 300px or so.

@Wheels00
Copy link
Contributor

Does loading in from airtable make any difference to SEO?

@anthonybailey
Copy link
Collaborator

anthonybailey commented Sep 1, 2025 via email

@joepio
Copy link
Collaborator Author

joepio commented Sep 5, 2025

@tom-bibby99 can you create (4x3) images for the campaigns?

@joepio
Copy link
Collaborator Author

joepio commented Sep 22, 2025

@tom-bibby99 reminder on the images

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Campaigns

4 participants