Skip to content

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

add Next/Link back in

Jonathan Summers-Muir984d4531b57d
diff --git a/apps/www/pages/index.tsx b/apps/www/pages/index.tsx
index f9fc817b790..37a1365aa72 100644
--- a/apps/www/pages/index.tsx
+++ b/apps/www/pages/index.tsx
@@ -1,8 +1,8 @@
import dynamic from 'next/dynamic'
-import Hero from '~/components/Hero/Hero'
-import Layout from '~/components/Layouts/Default'
import { getSortedPosts } from '~/lib/posts'
import PostTypes from '~/types/post'
+import Layout from '~/components/Layouts/Default'
+import Hero from '~/components/Hero/Hero'
// Import Swiper styles if swiper used on page
import 'swiper/swiper.min.css'
diff --git a/packages/ui/index.tsx b/packages/ui/index.tsx
index 701a9761568..27f406a2a25 100644
--- a/packages/ui/index.tsx
+++ b/packages/ui/index.tsx
@@ -30,7 +30,6 @@ export * from './src/components/CodeBlock'
// NAV
export * from './src/components/Menu'
-export * from './src/components/TextLink'
// OVERLAYS
diff --git a/packages/ui/src/components/TextLink/TextLink.tsx b/packages/ui/src/components/TextLink/TextLink.tsx
index fe2ab65ed1d..73d54f6136e 100644
--- a/packages/ui/src/components/TextLink/TextLink.tsx
+++ b/packages/ui/src/components/TextLink/TextLink.tsx
@@ -3,20 +3,20 @@ import Link from 'next/link'
function TextLink({ url = '', label, ...props }: any) {
return (
- // <Link href={url} passHref>
- <a
- className="text-scale-1100 hover:text-scale-1200 mt-3 block cursor-pointer text-sm"
- {...props}
- >
- <div className="group flex items-center gap-1">
- <span className="sr-only">{`${label} about ${url}`}</span>
- <span>{label}</span>
- <div className="transition-all group-hover:ml-0.5">
- <IconChevronRight size={14} strokeWidth={2} />
+ <Link href={url} passHref>
+ <a
+ className="text-scale-1100 hover:text-scale-1200 mt-3 block cursor-pointer text-sm"
+ {...props}
+ >
+ <div className="group flex items-center gap-1">
+ <span className="sr-only">{`${label} about ${url}`}</span>
+ <span>{label}</span>
+ <div className="transition-all group-hover:ml-0.5">
+ <IconChevronRight size={14} strokeWidth={2} />
+ </div>
</div>
- </div>
- </a>
- // </Link>
+ </a>
+ </Link>
)
}