Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

[IMP] interactive controls and ARIA attributes (#485)

Randall Castro - https://www.vauxoo.com087b0e494b3e
diff --git a/apps/docs/components/community.tsx b/apps/docs/components/community.tsx
index 323168551..5ddd88b28 100644
--- a/apps/docs/components/community.tsx
+++ b/apps/docs/components/community.tsx
@@ -19,27 +19,36 @@ export default function Community() {
target="_blank"
rel="noopener noreferrer"
className="community-item group relative rounded-xl border border-zinc-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-6 hover:border-zinc-300 dark:hover:border-zinc-700 transition-colors duration-100 animate-fade-in-up-0"
- >
- <Github className="h-6 w-6 text-zinc-600 dark:text-zinc-400 mb-3 group-hover:text-zinc-900 dark:group-hover:text-white transition-colors duration-100" />
- <h3 className="text-lg font-semibold text-zinc-900 dark:text-white mb-2">
- GitHub Discussions
- </h3>
- <p className="text-zinc-600 dark:text-zinc-400">
+ <a
+ href="https://github.com/orgs/usekaneo/discussions"
+ target="_blank"
+ rel="noopener noreferrer"
+ className="community-item group relative rounded-xl border border-zinc-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-6 hover:border-zinc-300 dark:hover:border-zinc-700 transition-colors duration-100 animate-fade-in-up-0"
+ aria-label="GitHub Discussions"
+ tabIndex={0}
+ role="button"
+ onKeyDown={e => { if (e.key === 'Enter' || e.key === ' ') { window.open('https://github.com/orgs/usekaneo/discussions', '_blank'); } }}
Share ideas and connect with developers
</p>
- </a>
-
<a
href="https://discord.gg/rU4tSyhXXU"
target="_blank"
rel="noopener noreferrer"
className="community-item group relative rounded-xl border border-zinc-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-6 hover:border-zinc-300 dark:hover:border-zinc-700 transition-colors duration-100 animate-fade-in-up-1"
- >
- <MessageSquare className="h-6 w-6 text-zinc-600 dark:text-zinc-400 mb-3 group-hover:text-zinc-900 dark:group-hover:text-white transition-colors duration-100" />
- <h3 className="text-lg font-semibold text-zinc-900 dark:text-white mb-2">
- Discord Community
- </h3>
- <p className="text-zinc-600 dark:text-zinc-400">
+ aria-label="Discord Community"
+ tabIndex={0}
+ role="button"
+ onKeyDown={e => { if (e.key === 'Enter' || e.key === ' ') { window.open('https://discord.gg/rU4tSyhXXU', '_blank'); } }}
+ className="community-item group relative rounded-xl border border-zinc-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-6 hover:border-zinc-300 dark:hover:border-zinc-700 transition-colors duration-100 animate-fade-in-up-1"
+ <a
+ href="https://x.com/usekaneo"
+ target="_blank"
+ rel="noopener noreferrer"
+ className="community-item group relative rounded-xl border border-zinc-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-6 hover:border-zinc-300 dark:hover:border-zinc-700 transition-colors duration-100 animate-fade-in-up-2"
+ aria-label="Twitter Updates"
+ tabIndex={0}
+ role="button"
+ onKeyDown={e => { if (e.key === 'Enter' || e.key === ' ') { window.open('https://x.com/usekaneo', '_blank'); } }}
Get real-time help and chat with us
</p>
</a>
@@ -66,12 +75,15 @@ export default function Community() {
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 shadow h-9 px-4 py-2 bg-indigo-600 text-white hover:bg-indigo-500 dark:bg-indigo-500 dark:hover:bg-indigo-400"
- >
- <Github className="w-4 h-4 mr-2" />
- View on GitHub
- </a>
- </div>
- </div>
+ <a
+ href="https://github.com/usekaneo/kaneo"
+ target="_blank"
+ rel="noopener noreferrer"
+ className="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 shadow h-9 px-4 py-2 bg-indigo-600 text-white hover:bg-indigo-500 dark:bg-indigo-500 dark:hover:bg-indigo-400"
+ aria-label="View on GitHub"
+ tabIndex={0}
+ role="button"
+ onKeyDown={e => { if (e.key === 'Enter' || e.key === ' ') { window.open('https://github.com/usekaneo/kaneo', '_blank'); } }}
</div>
);
}
diff --git a/apps/docs/components/hero.tsx b/apps/docs/components/hero.tsx
index 8c373fc98..4f2841a48 100644
--- a/apps/docs/components/hero.tsx
+++ b/apps/docs/components/hero.tsx
@@ -36,6 +36,10 @@ export default function Hero() {
<a
href="https://cloud.kaneo.app"
className="hover:bg-zinc-100 dark:hover:bg-zinc-800 bg-zinc-50 dark:bg-zinc-900 group mx-auto flex w-fit items-center gap-4 rounded-full border border-zinc-200 dark:border-zinc-800 p-1 pl-4 shadow-md shadow-zinc-950/5 transition-all duration-150 hover:scale-[1.02]"
+ aria-label="Try Kaneo Cloud - 100% Free Forever"
+ tabIndex={0}
+ role="button"
+ onKeyDown={e => { if (e.key === 'Enter' || e.key === ' ') { window.location.href = 'https://cloud.kaneo.app'; } }}
>
<span className="text-zinc-900 dark:text-zinc-100 text-sm flex items-center gap-2">
<Sparkles className="h-4 w-4 text-amber-400" />
@@ -73,6 +77,10 @@ export default function Hero() {
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium transition-all duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 shadow-lg shadow-indigo-500/20 py-2 bg-indigo-600 text-white hover:bg-indigo-500 hover:scale-[1.02] dark:bg-indigo-500 dark:hover:bg-indigo-400 h-12 px-8"
+ aria-label="Try Demo"
+ tabIndex={0}
+ role="button"
+ onKeyDown={e => { if (e.key === 'Enter' || e.key === ' ') { window.open('https://demo.kaneo.app', '_blank'); } }}
>
<ExternalLink className="mr-2 h-4 w-4" />
Try Demo
@@ -80,6 +88,10 @@ export default function Hero() {
<Link
href="/docs"
className="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium transition-all duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-500 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 shadow-lg py-2 bg-white text-zinc-900 hover:bg-zinc-50 hover:scale-[1.02] dark:bg-zinc-800 dark:text-zinc-100 dark:hover:bg-zinc-700 h-12 px-8 border border-zinc-200 dark:border-zinc-700"
+ aria-label="Documentation"
+ tabIndex={0}
+ role="button"
+ onKeyDown={e => { if (e.key === 'Enter' || e.key === ' ') { window.location.href = '/docs'; } }}
>
<Terminal className="mr-2 h-4 w-4" />
Documentation