Style nudges, add redirects, update footer links

This commit is contained in:
Terry Sutton committed 2022-12-08 21:45:25 -03:30
1 parent fb3edc0aeb
commit 16e3545e22
5 files changed
+36 -15

No files matched your search

+4 -4
View File
@@ -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
+5 -5
View File
@@ -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",
+25
View File
@@ -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',
},
]
-4
View File
@@ -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`,
+2 -2
View File
@@ -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>