Connect, collaborate, and grow with a community of TypeScript developers
Fix: Improve a11y on homepage (#1312)
Rajat Bhatt9c88a4716b99
diff --git a/apps/web/src/app/[locale]/_components/community/community.tsx b/apps/web/src/app/[locale]/_components/community/community.tsxindex 057fb4ec..5861f6d5 100644--- a/apps/web/src/app/[locale]/_components/community/community.tsx+++ b/apps/web/src/app/[locale]/_components/community/community.tsx@@ -91,7 +91,7 @@ export function Community() {<h2 className="mt-2 text-center text-4xl font-bold lg:text-left">Built by the community</h2>- <p className="max-w-[55ch] bg-transparent px-8 text-center leading-8 text-black/50 dark:text-white/50 lg:px-0 lg:text-left">+ <p className="max-w-[55ch] bg-transparent px-8 text-center leading-8 text-black/60 dark:text-white/50 lg:px-0 lg:text-left">TypeHero is free, open-source, and built by developers just like you. These are someof the contributors who made this possible so far.</p>diff --git a/apps/web/src/app/[locale]/_components/features.tsx b/apps/web/src/app/[locale]/_components/features.tsxindex 57bdef38..da45197c 100644--- a/apps/web/src/app/[locale]/_components/features.tsx+++ b/apps/web/src/app/[locale]/_components/features.tsx@@ -58,7 +58,7 @@ export async function Features() {<h1 className="text-4xl font-bold"><Balancer>{t('title')}</Balancer></h1>- <p className="text-black/50 dark:text-white/50">+ <p className="text-black/60 dark:text-white/50"><Balancer>{t('description')}</Balancer></p></div>diff --git a/apps/web/src/app/[locale]/_components/newsletter-banner.tsx b/apps/web/src/app/[locale]/_components/newsletter-banner.tsxindex 1aff2782..4d623d7d 100644--- a/apps/web/src/app/[locale]/_components/newsletter-banner.tsx+++ b/apps/web/src/app/[locale]/_components/newsletter-banner.tsx@@ -13,7 +13,7 @@ export function NewsletterBanner() {<h1 className="max-w-[13ch] text-4xl font-bold md:max-w-none"><Balancer>Stay Informed</Balancer></h1>- <p className="leading-8 text-black/50 dark:text-white/50">+ <p className="leading-8 text-black/60 dark:text-white/50"><Balancer>Dive into the world of TypeScript excellence! Join us on the journey to becoming abetter TypeScript developer. By subscribing to the TypeHero newsletter, you will be atdiff --git a/apps/web/src/components/footsies.tsx b/apps/web/src/components/footsies.tsxindex 985d21e6..71285c2e 100644--- a/apps/web/src/components/footsies.tsx+++ b/apps/web/src/components/footsies.tsx@@ -19,6 +19,7 @@ export function Footsies() {className="group rounded-lg p-2"href="https://github.com/typehero/typehero">+ <span className="sr-only">TypeHero on Github</span><Github className="h-5 w-5 duration-150 group-hover:scale-110 group-hover:fill-black dark:group-hover:fill-white" /></a><a@@ -27,6 +28,7 @@ export function Footsies() {className="group rounded-lg p-2"href="https://twitter.com/typeheroapp">+ <span className="sr-only">TypeHero on Twitter</span><Twitter className="h-5 w-5 duration-150 group-hover:scale-110 group-hover:fill-black dark:group-hover:fill-white" /></a></div>