Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

init

Jonathan Summers-Muir02216cfb5783
diff --git a/apps/docs/layouts/guides/index.tsx b/apps/docs/layouts/guides/index.tsx
index d5c1c811305..2e2db602cfd 100644
--- a/apps/docs/layouts/guides/index.tsx
+++ b/apps/docs/layouts/guides/index.tsx
@@ -8,7 +8,6 @@ import components from '~/components'
import { highlightSelectedTocItem } from '~/components/CustomHTMLElements/CustomHTMLElements.utils'
import GuidesTableOfContents from '~/components/GuidesTableOfContents'
import useHash from '~/hooks/useHash'
-import { getPageType } from '~/lib/helpers'
interface Props {
meta: {
@@ -17,6 +16,7 @@ interface Props {
hide_table_of_contents?: boolean
breadcrumb?: string
subtitle?: string
+ video?: string
}
children: any
toc?: any
@@ -73,6 +73,15 @@ const Layout: FC<Props> = (props) => {
description: props.meta?.description,
url: `https://supabase.com/docs${asPath}`,
type: 'article',
+ videos: props.meta?.video && [
+ {
+ // youtube based video meta
+ url: props.meta?.video,
+ width: 640,
+ height: 385,
+ type: 'application/x-shockwave-flash',
+ },
+ ],
article: {
publishedTime: new Date().toISOString(),
modifiedTime: new Date().toISOString(),
diff --git a/apps/www/_blog/2022-12-09-who-we-hire.mdx b/apps/www/_blog/2022-12-09-who-we-hire.mdx
index 4ebfa438775..99a1b8e2eaf 100644
--- a/apps/www/_blog/2022-12-09-who-we-hire.mdx
+++ b/apps/www/_blog/2022-12-09-who-we-hire.mdx
@@ -1,6 +1,7 @@
---
title: 'Who We Hire at Supabase'
description: Traits we look for to maintain a culture of shipping fast and often
+video: http://www.youtube.com/v/-BG9XptyCKI
author: ant_wilson
image: who-we-hire.jpg
thumb: who-we-hire-cover.jpg
diff --git a/apps/www/_blog/2022-12-12-new-supabase-docs-built-with-nextjs.mdx b/apps/www/_blog/2022-12-12-new-supabase-docs-built-with-nextjs.mdx
index 9f725b9ab84..d3cdca64b77 100644
--- a/apps/www/_blog/2022-12-12-new-supabase-docs-built-with-nextjs.mdx
+++ b/apps/www/_blog/2022-12-12-new-supabase-docs-built-with-nextjs.mdx
@@ -1,6 +1,7 @@
---
title: 'New Supabase Docs, built with Next.js'
description: We've redesigned our Docs and migrated to Next.js
+video: http://www.youtube.com/v/Q1Amk6iDlF8
author: jonny
image: lw6-day-1/lw6-day1-docs.jpg
thumb: lw6-day-1/lw6-day1-docs.jpg
@@ -102,4 +103,3 @@ Docs are more than just the tech behind them. The goal of docs is to give you, t
- [Point in Time Recovery is now available](https://supabase.com/blog/postgres-point-in-time-recovery)
- [Custom Domain Names are now available](https://supabase.com/blog/custom-domain-names)
- [Wrap Up: everything we shipped](https://supabase.com/blog/launch-week-6-wrap-up)
-
diff --git a/apps/www/_blog/2022-12-13-storage-image-resizing-smart-cdn.mdx b/apps/www/_blog/2022-12-13-storage-image-resizing-smart-cdn.mdx
index deb677996d5..d01110fb676 100644
--- a/apps/www/_blog/2022-12-13-storage-image-resizing-smart-cdn.mdx
+++ b/apps/www/_blog/2022-12-13-storage-image-resizing-smart-cdn.mdx
@@ -1,6 +1,7 @@
---
title: 'Supabase Storage v2: Image resizing and Smart CDN'
description: "We're introducing new features for Supabase Storage: Image resizing and a Smart CDN."
+video: http://www.youtube.com/v/NpEl20iuOtg
author: fabrizio,inian
image: lw6-storage/Image-resizing.jpg
thumb: lw6-storage/Image-resizing.jpg
diff --git a/apps/www/pages/blog/[slug].tsx b/apps/www/pages/blog/[slug].tsx
index 36ac58de88c..f5762169a36 100644
--- a/apps/www/pages/blog/[slug].tsx
+++ b/apps/www/pages/blog/[slug].tsx
@@ -134,7 +134,15 @@ function BlogPostPage(props: any) {
description: props.blog.description,
url: `https://supabase.com/blog/${props.blog.slug}`,
type: 'article',
-
+ videos: props.blog.video && [
+ {
+ // youtube based video meta
+ url: props.blog.video,
+ type: 'application/x-shockwave-flash',
+ width: 640,
+ height: 385,
+ },
+ ],
article: {
//
// to do: add expiration and modified dates