Skip to content

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

chore: fix some of the blog/announcement links

Jonathan Summers-Muirdf25d00e1ec2
diff --git a/www/components/ExampleCard.tsx b/www/components/ExampleCard.tsx
index e9e0d2d496f..bf211f2c418 100644
--- a/www/components/ExampleCard.tsx
+++ b/www/components/ExampleCard.tsx
@@ -21,7 +21,7 @@ function ExampleCard(props: any) {
<p className="p text-sm">{props.description}</p>
<div>
<img src={props.author_img} className="inline w-6 rounded-full border-scale-500" />
- <span className="text-sm ml-2">{props.author}</span>
+ <span className="text-sm ml-2 text-scale-1200">{props.author}</span>
</div>
</div>
</div>
diff --git a/www/components/FeatureColumn.tsx b/www/components/FeatureColumn.tsx
index 8ca3e23545c..c2b120180aa 100644
--- a/www/components/FeatureColumn.tsx
+++ b/www/components/FeatureColumn.tsx
@@ -2,7 +2,7 @@ function FeatureColumn({ icon, title, text }: any) {
return (
<>
{icon && <div className="mb-2">{icon}</div>}
- <h4 className="text-base mb-4">{title}</h4>
+ <h4 className="text-base text-scale-1200 mb-4">{title}</h4>
<p className="p">{text}</p>
</>
)
diff --git a/www/components/Nav/Developers.tsx b/www/components/Nav/Developers.tsx
index 7193757f5ae..1e0117af497 100644
--- a/www/components/Nav/Developers.tsx
+++ b/www/components/Nav/Developers.tsx
@@ -22,20 +22,18 @@ const Developers = () => {
>
{/* <!-- Heroicon name: support --> */}
<svg
- className="flex-shrink-0 h-6 w-6 stroke-gray dark:stroke-white"
+ className="flex-shrink-0 h-5 w-5 stroke-scale-900"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
aria-hidden="true"
>
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d={icon} />
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d={icon} />
</svg>
<div className="ml-4">
- <h5>{text}</h5>
- <p>
- <p>{description}</p>
- </p>
+ <h5 className="text-base text-scale-1200">{text}</h5>
+ <p className="text-sm text-scale-900">{description}</p>
</div>
</a>
)
@@ -59,18 +57,18 @@ const Developers = () => {
return (
<div className="grid grid-cols-12">
- <nav className="col-span-6" aria-labelledby="solutionsHeading">
- <div className="grid grid-cols-12 m-3 gap-3">{iconSections}</div>
+ <nav className="col-span-6 py-8" aria-labelledby="solutionsHeading">
+ <div className="grid grid-cols-12 m-3 gap-x-8 gap-y-4 py-4 pr-3">{iconSections}</div>
</nav>
<div className="col-span-6">
<div className="m-3 mx-6">
- <p>Latest announcements</p>
+ <p className="p">Latest announcements</p>
<ul className="mt-6 space-y-3 pb-6">
{AnnouncementsData.map((caseStudy: any, idx: number) => (
<li className="flow-root" key={`flyout_case_${idx}`}>
<a
href={caseStudy.url}
- className="p-3 flex rounded-lg hover:bg-gray-100 dark:hover:bg-dark-700 transition ease-in-out duration-150 border dark:border-gray-600 items-center"
+ className="p-3 flex rounded-lg hover:bg-gray-100 dark:hover:bg-dark-700 transition ease-in-out duration-150 border items-center"
>
<div className="hidden sm:block flex-shrink-0">
<img
@@ -79,9 +77,11 @@ const Developers = () => {
alt="caseStudyThumb"
/>
</div>
- <div className="min-w-0 flex-1 sm:ml-8">
- <h1 className="mb-0 text-normal">{caseStudy.title}</h1>
- <p className="text-sm">{caseStudy.description}</p>
+ <div className="min-w-0 flex-1 sm:ml-4">
+ <h4 className="text-base text-scale-1200 mb-0 text-normal">
+ {caseStudy.title}
+ </h4>
+ <p className="p text-sm">{caseStudy.description}</p>
</div>
</a>
</li>
diff --git a/www/components/Nav/Product.tsx b/www/components/Nav/Product.tsx
index bcc73bb42da..2a264d57e08 100644
--- a/www/components/Nav/Product.tsx
+++ b/www/components/Nav/Product.tsx
@@ -47,7 +47,7 @@ const Product = () => {
</nav>
<div className="col-span-6">
<div className="m-3 mx-6">
- <p>Latest case studies</p>
+ <p className="p">Latest case studies</p>
<ul className="mt-6 space-y-3">
{CaseStudiesData.map((caseStudy: any, idx: number) => {
if (idx > 1) {
@@ -57,17 +57,7 @@ const Product = () => {
<li className="flow-root" key={`flyout_case_${idx}`}>
<a
href={caseStudy.url}
- className="p-3 flex rounded-lg
-
- transition ease-in-out duration-150
-
- hover:bg-scale-400
- dark:hover:bg-scale-500
-
- border
- dark:border-scale-400
-
- items-center"
+ className="p-3 flex rounded-lg hover:bg-gray-100 dark:hover:bg-dark-700 transition ease-in-out duration-150 border items-center"
>
<div className="hidden sm:block flex-shrink-0">
<img
@@ -76,9 +66,11 @@ const Product = () => {
alt="caseStudyThumb"
/>
</div>
- <div className="min-w-0 flex-1 sm:ml-8">
- <h1 className="mb-0 text-normal">{caseStudy.title}</h1>
- <p className="text-sm">{caseStudy.description}</p>
+ <div className="min-w-0 flex-1 sm:ml-4">
+ <h4 className="text-base text-scale-1200 mb-0 text-normal">
+ {caseStudy.title}
+ </h4>
+ <p className="p text-sm">{caseStudy.description}</p>
</div>
</a>
</li>
diff --git a/www/components/UI/SectionHeader.tsx b/www/components/UI/SectionHeader.tsx
index aca818e6dca..bf71e3dbd2a 100644
--- a/www/components/UI/SectionHeader.tsx
+++ b/www/components/UI/SectionHeader.tsx
@@ -7,7 +7,7 @@ const SectionHeader = (props: any) => {
</span>
<h3 className="h2">
<span>{props.title}</span>
- {props.title_alt && <span className="text-scale-900 inline">{props.title_alt}</span>}
+ {props.title_alt && <span className="text-scale-1100 inline">{props.title_alt}</span>}
</h3>
</div>
{props.paragraph && <p className="p text-lg sm:mt-4 max-w-3xl">{props.paragraph}</p>}