Merge branch 'feature/storage-marketing' of github.com:MildTomato/supabase into feature/storage-marketing

This commit is contained in:
Jonathan Summers-Muir committed 2021-03-30 20:06:10 +08:00
commit 3612be53e5
6 files changed
+19 -19

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@
- [x] Authentication and authorization
- [x] Auto-generated APIs
- [x] Dashboard
- [ ] Storage (coming soon)
- [x] Storage
- [ ] Functions (coming soon)
## Documentation
+2 -2
View File
@@ -21,9 +21,9 @@ const Hero = () => {
<Typography.Text>
<p className="mt-5 text-base sm:mt-5 lg:text-lg ">
Create a backend in less than 2 minutes. Start your project with a Postgres
Database, Authentication, instant APIs, and realtime subscriptions.
Database, Authentication, instant APIs, realtime subscriptions and Storage.
</p>
<p className="mt-3 text-base">Storage and serverless functions coming soon</p>
<p className="mt-3 text-base">Serverless functions coming soon</p>
</Typography.Text>
<Space>
<a href="https://app.supabase.io/api/login">
+2 -2
View File
@@ -20,8 +20,8 @@
"icon": "M5 8h14M5 8a2 2 0 110-4h14a2 2 0 110 4M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8m-9 4h4",
"description": "Store, organize, and serve large files. Any media, including videos and images.",
"description_short": "",
"label": "Coming soon",
"url": "https://supabasesubscribe.vercel.app/subscription/storage"
"label": "",
"url": "/storage"
},
"functions": {
"name": "Functions",
@@ -3,7 +3,7 @@
"title": "File previews",
"label": "File previews",
"img_url": "/images/product/storage/dashboard-view/file-previews.jpg",
"text": "Preview any media type, including video and audio. "
"text": "Preview any media type, including video and audio."
},
{
"title": "Column view",
@@ -15,7 +15,7 @@
"title": "List view",
"label": "List view",
"img_url": "/images/product/storage/dashboard-view/list-view.jpg",
"text": "List View to find detailed File meta data at a glance."
"text": "List View to find detailed File metadata at a glance."
},
{
"title": "Multi select actions",
@@ -7,7 +7,7 @@ on storage.objects for all
with check ( bucket_id = 'avatars' );
`,
detail_title: 'Allow public CRUD access to a bucket',
detail_text: "This will allow any user access to the bucket named 'bucket1'",
detail_text: "This will allow any user access to the bucket named 'avatars'",
badges_label: '',
badges: [],
url: '',
@@ -18,13 +18,13 @@ with check ( bucket_id = 'avatars' );
code: `create policy "Public access to a folder"
on storage.objects for all
using (
bucket_id = 'bucket1'
bucket_id = 'avatars'
and (storage.foldername(name))[1] = 'public'
);
`,
detail_title: 'Allow public CRUD access to a folder in a bucket',
detail_text:
"This will allow any user access to the folder named 'public' in the bucket 'bucket1'",
"This will allow any user access to the folder named 'public' in the bucket 'avatars'",
badges_label: '',
badges: [],
url: '',
@@ -35,12 +35,12 @@ using (
code: `create policy "Logged in access"
on storage.objects
for all using (
bucket_id = 'bucket1'
bucket_id = 'avatars'
and auth.role() = 'authenticated'
);`,
detail_title: 'Allow any authenticated user access to a folder',
detail_text:
"This will allow any authenticated user access to the folder named 'authenticated' in the bucket 'bucket1'",
"This will allow any authenticated user access to the folder named 'authenticated' in the bucket 'avatars'",
badges_label: '',
badges: [],
url: '',
@@ -51,7 +51,7 @@ for all using (
code: `create policy "Individual access"
on storage.objects for all
using (
bucket_id = 'bucket1'
bucket_id = 'avatars'
and name = 'folder/only_uid.jpg'
and auth.uid() = 'd8c7bce9-cfeb-497b-bd61-e66ce2cbdaa2'
);`,
+6 -6
View File
@@ -98,10 +98,10 @@ function AuthPage() {
<ProductIcon icon={Solutions['database'].icon} />
</Space>
</p>
<Typography.Title level={4}>Write less code</Typography.Title>
<Typography.Title level={4}>Interoperable</Typography.Title>
<Typography.Text>
<p className="text-lg">
Interoperable with all other Supabase services, including Auth and Postgres.
Integrates well with the rest of Supabase ecosystem, including Auth and Postgres.
</p>
{/* <p>
Familiar and easy to use permissions mean that your content is secure and accessible
@@ -130,7 +130,7 @@ function AuthPage() {
</p>
<Typography.Title level={4}>Dependable</Typography.Title>
<Typography.Text>
<p className="text-lg">Enterprise-level uptime complete with automatic backups.</p>
<p className="text-lg">Enterprise-level scalability and durability.</p>
{/* <p>A durability rating of 99.999999999%.</p> */}
</Typography.Text>
</div>
@@ -189,7 +189,7 @@ function AuthPage() {
<FeatureColumn
icon={<IconWifi />}
title="CDN integration"
text="Served from the edge to reduce latency."
text="Serve from the edge to reduce latency."
/>
<Badge color="blue">Coming soon</Badge>
</div>
@@ -226,10 +226,10 @@ function AuthPage() {
with Supabase Auth
</Typography.Title>
<p className="text-lg">
Using Postgres Row Level Security to create File access rules.
Using Postgres Row Level Security to create Object access rules.
</p>
<p>
Supabase Storage is built around Postgres so that you can use any
Storage Authorization is built around Postgres so that you can use any
combination of SQL, Postgres functions, and even your own metadata to write
policies.
</p>