Skip to content

Commit 4f29e0e

Browse files
committed
docs: fix lint
1 parent d451c09 commit 4f29e0e

6 files changed

Lines changed: 21 additions & 11 deletions

File tree

web/.claude/settings.local.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(npm run:*)"
5+
]
6+
}
7+
}

web/app/docs/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Link from 'next/link';
22
import { getAllDocPages } from '@/lib/content/loader';
3-
import GettingStartedGuides from '@/components/GettingStartedGuides';
3+
44
import type { Metadata } from 'next';
55

66
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://ai-devkit.com';
@@ -83,7 +83,7 @@ export default function DocsPage() {
8383
<div className="mt-12 pt-12 border-t border-gray-200">
8484
<h2 className="text-2xl font-bold mb-4">Need Help?</h2>
8585
<p className="text-gray-600 mb-4">
86-
Can't find what you're looking for? Check out our GitHub repository or open an issue.
86+
{`Can't find what you're looking for? Check out our GitHub repository or open an issue.`}
8787
</p>
8888
<div className="flex gap-4">
8989
<a

web/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default function Home() {
8787
key={`${agent.name}-${index}`}
8888
href={agent.href}
8989
target="_blank"
90-
rel="noreferrer"
90+
rel="noopener noreferrer"
9191
className="flex flex-shrink-0 items-center justify-center px-6 py-4 transition-transform"
9292
aria-hidden={index >= agents.length}
9393
>

web/app/roadmap/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { getRoadmap } from '@/lib/content/loader';
2-
import MarkdownContent from '@/components/MarkdownContent';
2+
33
import type { Metadata } from 'next';
44

55
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://ai-devkit.com';
@@ -68,7 +68,7 @@ export default function RoadmapPage() {
6868
<h1 className="text-4xl md:text-5xl font-bold mb-4">Roadmap</h1>
6969

7070
<p className="text-xl text-gray-600 mb-12">
71-
Our development roadmap shows what we're working on and what's coming next for AI DevKit.
71+
{`Our development roadmap shows what we're working on and what's coming next for AI DevKit.`}
7272
</p>
7373

7474
{roadmapItems.length === 0 ? (
@@ -127,7 +127,7 @@ export default function RoadmapPage() {
127127
<div className="bg-gray-50 p-8 rounded-lg border border-gray-200">
128128
<h2 className="text-2xl font-bold mb-4">Have ideas?</h2>
129129
<p className="text-gray-600 mb-6">
130-
We'd love to hear your suggestions for AI DevKit. Open an issue or discussion on GitHub to share your thoughts.
130+
{`We'd love to hear your suggestions for AI DevKit. Open an issue or discussion on GitHub to share your thoughts.`}
131131
</p>
132132
<div className="flex flex-col sm:flex-row gap-4">
133133
<a
@@ -154,7 +154,7 @@ export default function RoadmapPage() {
154154
);
155155
}
156156

157-
function RoadmapItem({ item }: { item: { metadata: any; content: string } }) {
157+
function RoadmapItem({ item }: { item: { metadata: Record<string, string>; content: string } }) {
158158
const statusColor = statusColors[item.metadata.status as keyof typeof statusColors] || statusColors.planned;
159159
const statusLabel = statusLabels[item.metadata.status as keyof typeof statusLabels] || 'Unknown';
160160

web/app/vision/page.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import Link from "next/link";
12
import { getPage } from "@/lib/content/loader";
23
import MarkdownContent from "@/components/MarkdownContent";
34
import { notFound } from "next/navigation";
@@ -59,12 +60,12 @@ export default function VisionPage() {
5960
structured practices and AI assistance.
6061
</p>
6162
<div className="flex flex-col sm:flex-row gap-4">
62-
<a
63+
<Link
6364
href="/docs"
6465
className="px-6 py-3 bg-black text-white rounded-lg font-medium hover:bg-gray-800 transition-colors no-underline text-center"
6566
>
6667
Get Started
67-
</a>
68+
</Link>
6869
<a
6970
href="/roadmap"
7071
className="px-6 py-3 border border-black rounded-lg font-medium hover:bg-gray-50 transition-colors no-underline text-center"

web/components/Footer.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import Link from 'next/link';
2+
13
export default function Footer() {
24
const currentYear = new Date().getFullYear();
35

@@ -16,9 +18,9 @@ export default function Footer() {
1618
<h3 className="text-sm font-bold mb-3">Resources</h3>
1719
<ul className="space-y-2 text-sm">
1820
<li>
19-
<a href="/docs" className="text-gray-600 hover:text-black no-underline">
21+
<Link href="/docs" className="text-gray-600 hover:text-black no-underline">
2022
Documentation
21-
</a>
23+
</Link>
2224
</li>
2325
<li>
2426
<a href="/vision" className="text-gray-600 hover:text-black no-underline">

0 commit comments

Comments
 (0)