Skip to content

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

Style nudges, add redirects, update footer links

Terry Sutton16e3545e228b
diff --git a/apps/www/components/Sponsors.tsx b/apps/www/components/Sponsors.tsx
index ec088c9716b..c6bb698e85a 100644
--- a/apps/www/components/Sponsors.tsx
+++ b/apps/www/components/Sponsors.tsx
@@ -37,13 +37,13 @@ export default function Sponsors() {
]
return (
- <div>
+ <div className="mt-8">
{tiers.map(
(t, index) =>
!!t.transactions.length && (
- <div key={index}>
- <h4 className="font-bold">{t.heading}</h4>
- <div className="grid sm:grid-cols-2 lg:grid-cols-3 gap-6 pl-4">
+ <div key={index} className="mt-8">
+ <h4 className="font-bold mt-2">{t.heading}</h4>
+ <div className="grid sm:grid-cols-2 lg:grid-cols-3 gap-6 pl-4 mt-4">
{t.transactions.map((x: any, index: any) => (
<div className="" key={index}>
<a
diff --git a/apps/www/data/Footer.json b/apps/www/data/Footer.json
index c0988c03dfe..0d97d37489e 100644
--- a/apps/www/data/Footer.json
+++ b/apps/www/data/Footer.json
@@ -86,7 +86,7 @@
},
{
"text": "Open Source",
- "url": "/docs/oss"
+ "url": "/oss"
},
{
"text": "SupaSquad",
@@ -119,19 +119,19 @@
},
{
"text": "Terms of Service",
- "url": "/docs/company/terms"
+ "url": "/terms"
},
{
"text": "Privacy Policy",
- "url": "/docs/company/privacy"
+ "url": "/privacy"
},
{
"text": "Acceptable Use Policy",
- "url": "/docs/company/aup"
+ "url": "/aup"
},
{
"text": "Service Level Agreement",
- "url": "/docs/company/sla"
+ "url": "/sla"
},
{
"text": "Humans.txt",
diff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.js
index 0490d26c95f..8ec4f7bb918 100644
--- a/apps/www/lib/redirects.js
+++ b/apps/www/lib/redirects.js
@@ -1565,4 +1565,29 @@ module.exports = [
source: '/projects',
destination: 'https://app.supabase.com/projects',
},
+ {
+ permanent: true,
+ source: '/docs/oss',
+ destination: '/oss',
+ },
+ {
+ permanent: true,
+ source: '/docs/company/aup',
+ destination: '/aup',
+ },
+ {
+ permanent: true,
+ source: '/docs/company/terms',
+ destination: '/terms',
+ },
+ {
+ permanent: true,
+ source: '/docs/company/privacy',
+ destination: '/privacy',
+ },
+ {
+ permanent: true,
+ source: '/docs/company/sla',
+ destination: '/sla',
+ },
]
diff --git a/apps/www/lib/rewrites.js b/apps/www/lib/rewrites.js
index 1fd564e3039..100cbc9b28d 100644
--- a/apps/www/lib/rewrites.js
+++ b/apps/www/lib/rewrites.js
@@ -44,10 +44,6 @@ module.exports = [
source: '/.well-known/security.txt',
destination: `${process.env.NEXT_PUBLIC_DOCS_URL}/.well-known/security.txt`,
},
- {
- source: '/oss',
- destination: `${process.env.NEXT_PUBLIC_DOCS_URL}/oss`,
- },
{
source: '/feed.xml',
destination: `/rss.xml`,
diff --git a/apps/www/pages/oss.tsx b/apps/www/pages/oss.tsx
index f0d3c667b5a..b39603f9343 100644
--- a/apps/www/pages/oss.tsx
+++ b/apps/www/pages/oss.tsx
@@ -81,7 +81,7 @@ export default function Oss() {
target="_blank"
rel="noreferrer"
>
- <div className="grow bg-gray-200 dark:bg-gray-400 p-4 rounded-lg">
+ <div className="grow bg-gray-300 dark:bg-gray-400 p-4 rounded-lg">
<div className="flex gap-4 shrink-0">
<Image
className="rounded-full my-0"
@@ -112,7 +112,7 @@ export default function Oss() {
{repos.length < 1 && <div></div>}
{repos.length >= 1 &&
repos.map((props: any, idx: any) => (
- <div className="bg-gray-200 dark:bg-gray-400 p-4 rounded-lg" key={idx}>
+ <div className="bg-gray-300 dark:bg-gray-400 p-4 rounded-lg" key={idx}>
<a className="h-full" href={props.html_url}>
<div className="card__body">
<h4 className="uppercase my-2 font-semibold">{props.name}</h4>