Skip to content

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

improve focus styling

Francesco Sansalvadore5ede0c65d34c
diff --git a/apps/www/components/ExampleCard.tsx b/apps/www/components/ExampleCard.tsx
index efa2c86e543..f7bc318474a 100644
--- a/apps/www/components/ExampleCard.tsx
+++ b/apps/www/components/ExampleCard.tsx
@@ -60,16 +60,12 @@ function ExampleCard(props: any) {
<div className="mt-3 flex items-stretch gap-2 h-[26px]">
{props.vercel_deploy_url && (
<a target="_blank" href={props.vercel_deploy_url}>
- <img
- className="h-full w-auto"
- src="https://vercel.com/button"
- alt="vercel button"
- />
+ <Image src="https://vercel.com/button" alt="vercel button" width={75} height={26} />
</a>
)}
{props.demo_url && (
<Link href={props.demo_url} as={props.demo_url}>
- <a target="_blank">
+ <a target="_blank" tabIndex={-1}>
<Button size="tiny" type="default" iconRight={<IconArrowUpRight />}>
Launch Demo
</Button>
@@ -78,7 +74,7 @@ function ExampleCard(props: any) {
)}
{!props.demo_url && (
<Link href={props.repo_url} as={props.repo_url}>
- <a target="_blank">
+ <a target="_blank" tabIndex={-1}>
<Button size="tiny" type="default" iconRight={<IconArrowUpRight />}>
View Code
</Button>
diff --git a/apps/www/components/Sections/TwitterSocialProof.tsx b/apps/www/components/Sections/TwitterSocialProof.tsx
index 45062e98ebc..56aa72fd7db 100644
--- a/apps/www/components/Sections/TwitterSocialProof.tsx
+++ b/apps/www/components/Sections/TwitterSocialProof.tsx
@@ -37,14 +37,14 @@ function TwitterSocialProof() {
</p>
<div className="my-8 flex justify-center gap-2">
<Link href={'https://github.com/supabase/supabase/discussions'} passHref>
- <a target="_blank">
+ <a target="_blank" tabIndex={-1}>
<Button size="small" iconRight={<IconMessageCircle size={14} />} type="default">
GitHub discussions
</Button>
</a>
</Link>
<Link href={'https://discord.supabase.com/'} passHref>
- <a target="_blank">
+ <a target="_blank" tabIndex={-1}>
<Button type="default" size="small" iconRight={<IconMessageCircle size={14} />}>
Discord
</Button>
@@ -93,9 +93,12 @@ function TwitterSocialProof() {
{Examples.map((tweet: any, i: number) => {
return (
<SwiperSlide key={i}>
- <div className="mr-3 ml-3">
+ <div className="mr-3 ml-3 mt-1">
<Link href={tweet.url}>
- <a target="_blank" className="cursor-pointer">
+ <a
+ target="_blank"
+ className="block cursor-pointer focus:outline-none focus:border-none focus:ring-brand-600 focus:ring-2 focus:rounded-2xl"
+ >
<TweetCard
key={i}
handle={`@${tweet.handle}`}
diff --git a/apps/www/next.config.mjs b/apps/www/next.config.mjs
index 21bb87833b3..51c7e36ec42 100644
--- a/apps/www/next.config.mjs
+++ b/apps/www/next.config.mjs
@@ -51,6 +51,7 @@ const nextConfig = {
'https://s3-us-west-2.amazonaws.com',
'images.unsplash.com',
'img.youtube.com',
+ 'vercel.com',
'obuldanrptloktxcffvn.supabase.co',
'pbs.twimg.com',
'res.cloudinary.com',