fix import typo

This commit is contained in:
zane
2026-03-15 17:31:52 -04:00
parent 4b222ab6bf
commit 604780f4e3
14 changed files with 27 additions and 27 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
import type { Metadata } from 'next'
import { Geist, Red_Hat_Mono } from 'next/font/google'
import './globals.css'
import { ThemeProvider } from '@//components/theme-provider'
import { Header } from '@//components/header'
import { ThemeProvider } from '@/components/theme-provider'
import { Header } from '@/components/header'
const geist = Geist({
subsets: ['latin'],
+1 -1
View File
@@ -1,4 +1,4 @@
import { H1, P } from '@//components/ui/typography'
import { H1, P } from '@/components/ui/typography'
import Link from 'next/link'
export default function NotFound() {
+3 -3
View File
@@ -1,9 +1,9 @@
import Link from 'next/link'
import { getStepsByPhase } from '@/lib/steps'
import { PHASES } from '@/lib/constants'
import { H1, H2, Lead, Muted } from '@//components/ui/typography'
import { StepCard } from '@//components/step-card'
import { CloneCommand } from '@//components/clone-command'
import { H1, H2, Lead, Muted } from '@/components/ui/typography'
import { StepCard } from '@/components/step-card'
import { CloneCommand } from '@/components/clone-command'
import { GithubIcon, StarIcon } from 'lucide-react'
const GITHUB_REPO_URL = 'https://github.com/czl9707/build-your-own-openclaw'
+4 -4
View File
@@ -2,9 +2,9 @@ import { notFound } from 'next/navigation'
import Link from 'next/link'
import { getStep, getSteps } from '@/lib/steps'
import { getChangedFiles, getUnchangedFiles } from '@/lib/files'
import { DiffViewer } from '@//components/diff-viewer'
import { FileNavDropdown } from '@//components/file-nav-dropdown'
import { DiffPageSelector } from '@//components/diff-page-selector'
import { DiffViewer } from '@/components/diff-viewer'
import { FileNavDropdown } from '@/components/file-nav-dropdown'
import { DiffPageSelector } from '@/components/diff-page-selector'
import {
Breadcrumb,
BreadcrumbList,
@@ -12,7 +12,7 @@ import {
BreadcrumbLink,
BreadcrumbPage,
BreadcrumbSeparator,
} from '@//components/ui/breadcrumb'
} from '@/components/ui/breadcrumb'
interface DiffPageProps {
params: Promise<{
+4 -4
View File
@@ -4,8 +4,8 @@ import { notFound } from 'next/navigation'
import { ChevronLeft, ChevronRight } from 'lucide-react'
import { getStep, getSteps } from '@/lib/steps'
import { ReadmeRenderer } from '@//components/readme-renderer'
import { StepDiffSelector } from '@//components/step-diff-selector'
import { ReadmeRenderer } from '@/components/readme-renderer'
import { StepDiffSelector } from '@/components/step-diff-selector'
import {
Breadcrumb,
BreadcrumbItem,
@@ -13,8 +13,8 @@ import {
BreadcrumbList,
BreadcrumbPage,
BreadcrumbSeparator,
} from '@//components/ui/breadcrumb'
import { H1 } from '@//components/ui/typography'
} from '@/components/ui/breadcrumb'
import { H1 } from '@/components/ui/typography'
// Button-like link styles for Server Components (matches buttonVariants outline)
const buttonOutlineStyles =
+1 -1
View File
@@ -1,7 +1,7 @@
'use client'
import { useState } from 'react'
import { Card } from '@//components/ui/card'
import { Card } from '@/components/ui/card'
import { CheckIcon, CopyIcon } from 'lucide-react'
const CLONE_COMMAND = 'git clone https://github.com/czl9707/build-your-own-openclaw.git'
+1 -1
View File
@@ -1,7 +1,7 @@
'use client'
import { useRouter } from 'next/navigation'
import { DiffSelector } from '@//components/diff-selector'
import { DiffSelector } from '@/components/diff-selector'
import type { Step } from '@/lib/steps'
interface DiffPageSelectorProps {
+1 -1
View File
@@ -6,7 +6,7 @@ import {
SelectItem,
SelectTrigger,
SelectValue,
} from '@//components/ui/select'
} from '@/components/ui/select'
import type { Step } from '@/lib/steps'
interface DiffSelectorProps {
+2 -2
View File
@@ -2,12 +2,12 @@
import * as React from 'react'
import { codeToHtml } from 'shiki'
import { ScrollArea } from '@//components/ui/scroll-area'
import { ScrollArea } from '@/components/ui/scroll-area'
import {
Collapsible,
CollapsibleContent,
CollapsibleTrigger,
} from '@//components/ui/collapsible'
} from '@/components/ui/collapsible'
import { cn } from '@/lib/utils'
import { computeDiff, type DiffLine } from '@/lib/diff'
import { useIsMobile } from '@/lib/hooks'
+1 -1
View File
@@ -7,7 +7,7 @@ import {
SelectItem,
SelectTrigger,
SelectValue,
} from '@//components/ui/select'
} from '@/components/ui/select'
import { PlusIcon, MinusIcon } from 'lucide-react'
interface FileItem {
+1 -1
View File
@@ -2,7 +2,7 @@ import ReactMarkdown from 'react-markdown'
import remarkGfm from 'remark-gfm'
import rehypeSlug from 'rehype-slug'
import rehypeRaw from 'rehype-raw'
import { H1, H2, H3, H4, P } from '@//components/ui/typography'
import { H1, H2, H3, H4, P } from '@/components/ui/typography'
import { CodeBlock } from './code-block'
import type { Components } from 'react-markdown'
+3 -3
View File
@@ -1,7 +1,7 @@
import Link from 'next/link'
import { Card, CardContent, CardHeader, CardTitle } from '@//components/ui/card'
import { Badge } from '@//components/ui/badge'
import { Muted } from '@//components/ui/typography'
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'
import { Badge } from '@/components/ui/badge'
import { Muted } from '@/components/ui/typography'
import type { Step } from '@/lib/steps'
interface StepCardProps {
+1 -1
View File
@@ -1,7 +1,7 @@
'use client'
import { useRouter } from 'next/navigation'
import { DiffSelector } from '@//components/diff-selector'
import { DiffSelector } from '@/components/diff-selector'
import type { Step } from '@/lib/steps'
interface StepDiffSelectorProps {
+2 -2
View File
@@ -4,13 +4,13 @@ import * as React from 'react'
import { Moon, Sun } from 'lucide-react'
import { useTheme } from 'next-themes'
import { Button } from '@//components/ui/button'
import { Button } from '@/components/ui/button'
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuItem,
DropdownMenuTrigger,
} from '@//components/ui/dropdown-menu'
} from '@/components/ui/dropdown-menu'
export function ThemeToggle() {
const { setTheme } = useTheme()