Skip to content

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

chore: add new screenshots and database info

Jonathan Summers-Muir4e913452eea1
diff --git a/www/components/Sections/APISection.tsx b/www/components/Sections/APISection.tsx
index c72e168da45..8fe6735c74b 100644
--- a/www/components/Sections/APISection.tsx
+++ b/www/components/Sections/APISection.tsx
@@ -8,6 +8,7 @@ interface APIExample {
lang: 'js' | 'py' | 'sql'
code: string
title: string
+ size?: 'small' | 'large'
}
interface Props {
@@ -67,7 +68,11 @@ function APISection(props: Props) {
{props.content &&
props.content.map((content, i) => (
<SwiperSlide>
- <CodeBlock key={i} lang={content.lang} size={'large'}>
+ <CodeBlock
+ key={i}
+ lang={content.lang}
+ size={content.size ? content.size : 'small'}
+ >
{content.code}
</CodeBlock>
</SwiperSlide>
diff --git a/www/data/products/database/api-examples.js b/www/data/products/database/api-examples.js
index 52227644826..597d2cf5cf0 100644
--- a/www/data/products/database/api-examples.js
+++ b/www/data/products/database/api-examples.js
@@ -2,6 +2,7 @@ export default [
{
lang: 'js',
title: 'Create a record',
+ size: 'large',
code: `//
// Create a record in a table
// Insert new record into a table called \`rooms\`
@@ -21,11 +22,13 @@ const { data, error } = await supabase
+
`,
},
{
lang: 'js',
title: 'Read a record',
+ size: 'large',
code: `//
// reading a record from a table
// with column \`public\` equals true
@@ -39,6 +42,13 @@ const { data, error } = await supabase
// \`data\` returns data
// \`error\` for handling errors
+
+
+
+
+
+
+
`,
},
]
diff --git a/www/data/products/database/sql-view-carousel.json b/www/data/products/database/sql-view-carousel.json
index 4098ef2f1fa..2c5d72ff5cd 100644
--- a/www/data/products/database/sql-view-carousel.json
+++ b/www/data/products/database/sql-view-carousel.json
@@ -1,32 +1,26 @@
[
{
- "title": "Fast column navigation",
- "label": "Fast column navigation",
- "img_url": "/images/product/database/table-view/test.png",
- "text": "Write, save, and execute SQL queries directly on our"
+ "title": "Full SQL",
+ "label": "SQL Editor built in",
+ "img_url": "/images/product/database/sql-view/sql-editor.png",
+ "text": "Create tables, functions, join tables - A full SQL editor built into the dashboard"
},
{
- "title": "Fast column navigation",
- "label": "Fast column navigation",
- "img_url": "/images/product/database/table-view/test.png",
- "text": "Write, save, and execute SQL queries directly on our"
+ "title": "Monaco editor",
+ "label": "Monaco editor",
+ "img_url": "/images/product/database/sql-view/manaco-editor.png",
+ "text": "Built in manaco editor, with rich validation and autocomplete."
},
{
- "title": "Fast column navigation",
- "label": "Fast column navigation",
- "img_url": "/images/product/database/table-view/test.png",
- "text": "Write, save, and execute SQL queries directly on our"
+ "title": "Favourite queries",
+ "label": "Favourite queries",
+ "img_url": "/images/product/database/sql-view/favourites.png",
+ "text": "Save your favourite queries to use again and again."
},
{
- "title": "Fast column navigation",
- "label": "Fast column navigation",
- "img_url": "/images/product/database/table-view/test.png",
- "text": "Write, save, and execute SQL queries directly on our"
- },
- {
- "title": "Fast column navigation",
- "label": "Fast column navigation",
- "img_url": "/images/product/database/table-view/test.png",
- "text": "Write, save, and execute SQL queries directly on our"
+ "title": "Export to CSV",
+ "label": "Select and Export",
+ "img_url": "/images/product/database/sql-view/export.png",
+ "text": "Any output can be exported into a CSV"
}
]
diff --git a/www/data/products/database/table-view-carousel.json b/www/data/products/database/table-view-carousel.json
index 4098ef2f1fa..86d4b8e9995 100644
--- a/www/data/products/database/table-view-carousel.json
+++ b/www/data/products/database/table-view-carousel.json
@@ -1,32 +1,26 @@
[
{
- "title": "Fast column navigation",
- "label": "Fast column navigation",
- "img_url": "/images/product/database/table-view/test.png",
- "text": "Write, save, and execute SQL queries directly on our"
+ "title": "Edit in the table",
+ "label": "Spreadsheet like editing",
+ "img_url": "/images/product/database/table-view/spreadsheet-interface.png",
+ "text": "You can edit your database just like you edit a spreadsheet. Update rows easily by just typing in new data."
},
{
- "title": "Fast column navigation",
- "label": "Fast column navigation",
- "img_url": "/images/product/database/table-view/test.png",
- "text": "Write, save, and execute SQL queries directly on our"
+ "title": "Create table",
+ "label": "Create a table",
+ "img_url": "/images/product/database/table-view/create-table.png",
+ "text": "Create tables, columns and rows right in the dashboard. Without the need to use SQL."
},
{
- "title": "Fast column navigation",
- "label": "Fast column navigation",
- "img_url": "/images/product/database/table-view/test.png",
- "text": "Write, save, and execute SQL queries directly on our"
+ "title": "Foreign keys",
+ "label": "Set up foreign keys",
+ "img_url": "/images/product/database/table-view/foreign-keys.png",
+ "text": "Set up columns to use foreign keys, joining your tables together with meaning."
},
{
- "title": "Fast column navigation",
- "label": "Fast column navigation",
- "img_url": "/images/product/database/table-view/test.png",
- "text": "Write, save, and execute SQL queries directly on our"
- },
- {
- "title": "Fast column navigation",
- "label": "Fast column navigation",
- "img_url": "/images/product/database/table-view/test.png",
- "text": "Write, save, and execute SQL queries directly on our"
+ "title": "Export to CSV",
+ "label": "Select and Export",
+ "img_url": "/images/product/database/table-view/export.png",
+ "text": "Just pick the rows you want and you can export them into a CSV"
}
]
diff --git a/www/pages/database/Database.tsx b/www/pages/database/Database.tsx
index 3ac2e0ec0fe..c8f5167252c 100644
--- a/www/pages/database/Database.tsx
+++ b/www/pages/database/Database.tsx
@@ -11,6 +11,7 @@ import {
IconArrowUpRight,
IconLock,
IconShield,
+ IconShuffle,
IconX,
Space,
Tabs,
@@ -75,18 +76,18 @@ function Database() {
image={[
<img
className="w-full header--light block"
- src={`${basePath}/images/product/database/header--light.png`}
+ src={`${basePath}/images/product/database/header--light-2.png`}
/>,
<img
className="w-full header--dark mr-0 dark:block"
- src={`${basePath}/images/product/database/header--dark.png`}
+ src={`${basePath}/images/product/database/header--dark-2.png`}
/>,
]}
/>
<SectionContainer>
<div className="grid grid-cols-12">
- <div className="col-span-3">
+ <div className="mb-8 lg:mb-0 col-span-12 lg:col-span-3">
<p className="mb-4">
<Space>
<ProductIcon icon={Solutions['database'].icon} />
@@ -100,12 +101,12 @@ function Database() {
Our database is PostgreSQL, which is an open source object-relational database.
</p>
<p>
- With Supabase’s APIs and easy to use dashboard, it makes designing relational
+ With supabase’s APIs and easy to use dashboard, it makes designing relational
databases easy.
</p>
</Typography.Text>
</div>
- <div className="col-span-3 col-start-5">
+ <div className="mb-8 lg:mb-0 col-span-12 lg:col-span-3 lg:col-start-5">
<p className="mb-4">
<Space>
<ProductIcon icon={Solutions['database'].icon} />
@@ -115,16 +116,13 @@ function Database() {
</p>
<Typography.Title level={4}>Auth</Typography.Title>
<Typography.Text>
- <p className="text-lg">
- With 30 years in the making, it is the worlds most trusted and advanced relational
- database.
- </p>
- <p>Our PostgreSQL databases have a reputation for realiability and robustness.</p>
+ <p className="text-lg">Auth permissions built in with supabase Auth</p>
+ <p>Control exactly which user roles can read or write what rows in your database.</p>
</Typography.Text>
</div>
- <div className="col-span-3 col-start-9">
+ <div className="col-span-12 lg:col-span-3 lg:col-start-9">
<p className="mb-4">
- <IconShield />
+ <IconShuffle />
</p>
<Typography.Title level={4}>Realtime</Typography.Title>
<Typography.Text>
@@ -295,7 +293,7 @@ function Database() {
</Typography.Text>
<FeatureColumn
title="40+ preinstalled extensions"
- text="We only show a few of the extensions supported by Supabase here, but we preinstall many more that you can use right away."
+ text="We only show a few of the extensions supported by supabase here, but we preinstall many more that you can use right away."
/>
<Button size="small" className="mt-4" type="default" icon={<IconArrowUpRight />}>
Expore documentation
diff --git a/www/public/images/product/database/header--dark-2.png b/www/public/images/product/database/header--dark-2.png
new file mode 100644
index 00000000000..10ac26ef3cd
Binary files /dev/null and b/www/public/images/product/database/header--dark-2.png differ
diff --git a/www/public/images/product/database/header--light-2.png b/www/public/images/product/database/header--light-2.png
new file mode 100644
index 00000000000..14c8c1f5532
Binary files /dev/null and b/www/public/images/product/database/header--light-2.png differ
diff --git a/www/public/images/product/database/sql-view/export.png b/www/public/images/product/database/sql-view/export.png
new file mode 100644
index 00000000000..7015d4d2628
Binary files /dev/null and b/www/public/images/product/database/sql-view/export.png differ
diff --git a/www/public/images/product/database/sql-view/favourites.png b/www/public/images/product/database/sql-view/favourites.png
new file mode 100644
index 00000000000..6b71fa63d6b
Binary files /dev/null and b/www/public/images/product/database/sql-view/favourites.png differ
diff --git a/www/public/images/product/database/sql-view/manaco-editor.png b/www/public/images/product/database/sql-view/manaco-editor.png
new file mode 100644
index 00000000000..7958a10f06f
Binary files /dev/null and b/www/public/images/product/database/sql-view/manaco-editor.png differ
diff --git a/www/public/images/product/database/sql-view/sql-editor.png b/www/public/images/product/database/sql-view/sql-editor.png
new file mode 100644
index 00000000000..47382ceb993
Binary files /dev/null and b/www/public/images/product/database/sql-view/sql-editor.png differ
diff --git a/www/public/images/product/database/table-view/create-table.png b/www/public/images/product/database/table-view/create-table.png
new file mode 100644
index 00000000000..49877a12c18
Binary files /dev/null and b/www/public/images/product/database/table-view/create-table.png differ
diff --git a/www/public/images/product/database/table-view/export.png b/www/public/images/product/database/table-view/export.png
new file mode 100644
index 00000000000..8c991839519
Binary files /dev/null and b/www/public/images/product/database/table-view/export.png differ
diff --git a/www/public/images/product/database/table-view/foreign-keys.png b/www/public/images/product/database/table-view/foreign-keys.png
new file mode 100644
index 00000000000..ca5b82aba22
Binary files /dev/null and b/www/public/images/product/database/table-view/foreign-keys.png differ
diff --git a/www/public/images/product/database/table-view/spreadsheet-interface.png b/www/public/images/product/database/table-view/spreadsheet-interface.png
new file mode 100644
index 00000000000..a5e23ad7be2
Binary files /dev/null and b/www/public/images/product/database/table-view/spreadsheet-interface.png differ