Commit Graph
19 Commits
Author SHA1 Message Date
Kody JacksonandClaude Sonnet 5.5 647717417e chore(www) - Update 301 destinations to final resolution + fix some 404s (#53556)
## What

Updates links in `apps/www` that pointed at redirecting URLs so they
point at the final destination, and fixes a few broken links:

## Testing

- Every replacement destination was requested and returns 200 with no
further redirect
- Prettier passes on all changed files
- Content and data changes only, apart from the one-line `/vector` fix
in `MagnifiedProducts.tsx`

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 08:17:57 -06:00
Danny White ba107edbda chore(www): clarify image paths (#41451)
## What kind of change does this PR introduce?

Frontmatter name change.

## What is the current behavior?

We repeatedly mistake `thumb` for `image` and visa versa, meaning the
wrong images are used for Open Graph and in-site thumbnails on blog
posts. Events and case studies use the same naming convention too.

## What is the new behavior?

These two bits of frontmatter are renamed for clarity:

  - Blog posts: `imgThumb` + `imgSocial`

That mapping for blog posts:

- `thumb` is now `imgThumb`
- `image` is now `imgSocial`

These related bits remain as-is:

  - Events
  - Case studies

The
[www/README.md](https://github.com/supabase/supabase/blob/dnywh/chore/blog-image-frontmatter/apps/www/README.md#best-practices)
file has been expanded to clarify all of the above. It now also provides
instructions on image optimisation.

## To test

A lot of files were touched here. Please help make sure:

- [ ] The CMS works as intended. This is the **biggest unknown**.
- [x] All blog posts render the correct image as their on-site thumbnail
and Open Graph image. You can test the latter by firing up a draft
iMessage. Online Open Graph services like Facebook cache images, so
aren’t reliable.
- [x] All events render their correct images
- [x] All case studies render their correct images
- [x] All customer stories render their correct images ([known
issue](https://supabase.slack.com/archives/C072FL5KKKP/p1768888063209359?thread_ts=1768885681.502169&cid=C072FL5KKKP),
predates this work)
2026-01-29 11:29:26 +11:00
Ivan Vasilov 8a648073de chore: Remove unused published_at field from older blog posts (#32802)
Remove unused published_at field from older blog posts.
2025-01-15 17:16:32 +01:00
Francesco SansalvadoreandJonathan Summers-Muir 4bc3a231e3 contentlayer2 in www + dynamic latest blog posts (#26611)
* add contentlayer2 to www

* remove authorURL from blog post meta

* latest blog posts in Developers dropdown menu

* parse blog slug in contentlayer

* change next config plugins order

* contentlayer build in www package.json

* contentlayer2

* contentlayer2 build on typecheck in www

* remove comment

* Update package-lock.json

* revert npm package version

* Update package-lock.json

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2024-05-24 07:02:47 +00:00
Francesco Sansalvadore 7addf8ad3c add one category to each blog post 2023-08-23 11:24:40 +03:00
thorwebdev c4c13184ca chore: backfill a bunch of blog descriptions. 2023-05-18 11:17:39 +08:00
Oliver Rice 45cb9b5414 switch authors for tle and dbdev 2023-04-14 11:06:04 -05:00
Francesco Sansalvadore a0bd5efdbb chore: add published_at attribute to specify order and featured post 2023-04-14 16:41:11 +02:00
Copple 93d341e7c4 updates the blog post 2023-04-14 15:51:23 +02:00
Jonathan Summers-Muir 607c6de2ff Update 2023-04-14-pg-tle.mdx 2023-04-14 21:38:57 +08:00
Jonathan Summers-Muir 1babebe2bf Update 2023-04-14-pg-tle.mdx 2023-04-14 21:38:17 +08:00
Jonathan Summers-MuirandCopple c581bb035e Apply suggestions from code review
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2023-04-14 21:35:51 +08:00
Jonathan Summers-Muir 621697bd8f Update 2023-04-14-pg-tle.mdx 2023-04-14 21:18:50 +08:00
Jonathan Summers-Muir eeac87377d Merge branch 'blog/michelp-tle-lw7' of https://github.com/supabase/supabase into blog/michelp-tle-lw7 2023-04-14 21:13:24 +08:00
Jonathan Summers-Muir 3fb7071a40 update og / thumbnails 2023-04-14 21:13:14 +08:00
Copple 79536e48db Update apps/www/_blog/2023-04-14-pg-tle.mdx 2023-04-14 15:09:59 +02:00
Jonathan Summers-Muir 62fc9f9281 prettier formatting 2023-04-14 13:13:45 +08:00
Jonathan Summers-Muir a10579d0e5 Update 2023-04-14-pg-tle.mdx 2023-04-14 13:13:35 +08:00
Michel Pelletier 25c69739ee Add TLE blog post. 2023-04-11 15:49:06 -07:00