Skip to content

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

fix blog posts in nav

mildtomato45d83b833e4b
diff --git a/www/components/Nav/Company.tsx b/www/components/Nav/Company.tsx
index 98d139b397c..d6d82f103c0 100644
--- a/www/components/Nav/Company.tsx
+++ b/www/components/Nav/Company.tsx
@@ -1,8 +1,6 @@
import React from 'react'
-import Badge from 'components/Badge'
-import SolutionsData from 'data/Solutions.json'
import CompanyData from 'data/Company.json'
-import CaseStudiesData from 'data/CaseStudies.json'
+import BlogPostsData from 'data/BlogPosts.json'
const Company = () => {
const iconSections = Object.values(CompanyData).map((company) => {
@@ -60,7 +58,7 @@ const Company = () => {
Latest blog posts
</h3>
<ul className="mt-6 space-y-6">
- {CaseStudiesData.map((caseStudy: any, idx: number) => (
+ {BlogPostsData.map((caseStudy: any, idx: number) => (
<li className="flow-root" key={`flyout_case_${idx}`}>
<a
href={caseStudy.url}
@@ -81,7 +79,7 @@ const Company = () => {
</div>
<div className="mt-6 text-sm font-medium">
<a
- href="/blog"
+ href="https://supabase.io/blog"
className="text-gray-600 hover:text-gray-500 dark:text-brand-600 dark:hover:text-brand-700 transition ease-in-out duration-150"
>
View all posts <span aria-hidden="true">&rarr;</span>
diff --git a/www/data/BlogPosts.json b/www/data/BlogPosts.json
index 05560287862..db7395cbb08 100644
--- a/www/data/BlogPosts.json
+++ b/www/data/BlogPosts.json
@@ -1,50 +1,26 @@
[
{
"type": "Blog post",
- "title": "A web crawler handling millions of API requests.",
- "description": "See how Monitoro built an automated a scraping platform using Supabase.",
- "imgUrl": "images/case-study-monitoro.jpg",
- "logoUrl": "images/logos/monitoro.png",
- "organization": "Monitoro",
- "url": "/casestudies/monitoro",
+ "title": "Tayfa Built a No-Code Website Builder Deployed in Seven Days",
+ "description": "",
"postMeta": {
"name" : "Paul Copplestone",
- "avatarUrl": "https://avatars0.githubusercontent.com/u/10214025?v=4",
- "publishDate": "Mar 16, 2020",
+ "avatarUrl": "https://supabase.io/blog/2020/12/02/case-study-xendit",
+ "publishDate": "",
"readLength": 6
},
- "ctaText": "View case study"
+ "ctaText": "View blog post"
},
{
"type": "Blog post",
- "title": "A no-code website builder, deployed in seven days.",
- "description": "See how Tayfa went from idea to paying customer in less than 30 days.",
- "imgUrl": "images/case-study-tayfab.jpg",
- "logoUrl": "images/logos/monitoro.png",
- "organization": "Tayfab",
- "url": "/casestudies/monitoro",
+ "title": "Supabase Partners With Strive School To Help Teach Open Source",
+ "description": "",
"postMeta": {
"name" : "Paul Copplestone",
- "avatarUrl": "https://avatars0.githubusercontent.com/u/10214025?v=4",
- "publishDate": "Mar 27, 2020",
- "readLength": 5
- },
- "ctaText": "View case study"
- },
- {
- "type": "Blog post",
- "title": "Counter-fraud watchlists for the fintech industry.",
- "description": "See how Xendit use Supabase to build a full-text search engine.",
- "imgUrl": "images/case-study-xendit.jpg",
- "logoUrl": "images/logos/xendit.png",
- "organization": "Llama Lab",
- "url": "/casestudies/monitoro",
- "postMeta": {
- "name" : "Paul Copplestone",
- "avatarUrl": "https://avatars0.githubusercontent.com/u/10214025?v=4",
- "publishDate": "Mar 20, 2020",
- "readLength": 10
+ "avatarUrl": "https://supabase.io/blog/2020/12/02/supabase-striveschool",
+ "publishDate": "",
+ "readLength": 6
},
- "ctaText": "View case study"
+ "ctaText": "View blog post"
}
]