Skip to content

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

fix: issue with multiple nested a tags

Jonathan Summers-Muirf7599796e01a
diff --git a/www/components/Nav/Developers.tsx b/www/components/Nav/Developers.tsx
index 1e0117af497..7b8f87cf73f 100644
--- a/www/components/Nav/Developers.tsx
+++ b/www/components/Nav/Developers.tsx
@@ -12,14 +12,12 @@ type Props = {
const Developers = () => {
const { basePath } = useRouter()
+
const iconSections = Object.values(DevelopersData).map((company: Props) => {
const { text, description, url, icon } = company
const content = (
- <a
- href={url}
- className="-m-3 p-3 flex items-start rounded-lg hover:bg-gray-50 dark:hover:bg-scale-500 transition ease-in-out duration-150"
- >
+ <div className="-m-3 p-3 flex items-start rounded-lg hover:bg-gray-50 dark:hover:bg-scale-500 transition ease-in-out duration-150">
{/* <!-- Heroicon name: support --> */}
<svg
className="flex-shrink-0 h-5 w-5 stroke-scale-900"
@@ -35,7 +33,7 @@ const Developers = () => {
<h5 className="text-base text-scale-1200">{text}</h5>
<p className="text-sm text-scale-900">{description}</p>
</div>
- </a>
+ </div>
)
return url ? (
<a
diff --git a/www/components/Nav/Product.tsx b/www/components/Nav/Product.tsx
index 2a264d57e08..10abb5aabce 100644
--- a/www/components/Nav/Product.tsx
+++ b/www/components/Nav/Product.tsx
@@ -20,7 +20,7 @@ const Product = () => {
<div className="ml-4 md:flex-1 md:flex md:flex-col md:justify-between lg:ml-0 mt-3">
<p className="text-sm text-scale-1000">{description}</p>
{label && (
- <div>
+ <div className="mt-2">
<Badge>{label}</Badge>
</div>
)}