Skip to content

Commit 073fb4f

Browse files
RedjiJBclaude
andcommitted
Fix hero.tsx import error for terminal components
- Replace missing ./terminal-content import with proper dynamic imports - Add TypingAnimation and AnimatedSpan imports from terminal module - Ensure all terminal components are properly imported for build 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b0046a4 commit 073fb4f

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

  • apps/www/app/(app)/(landing)/_components

apps/www/app/(app)/(landing)/_components/hero.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ const Terminal = dynamic(() => import('@/components/ui/terminal').then(mod => ({
2020
ssr: false, // Disable SSR for better performance
2121
})
2222

23-
const TerminalContent = dynamic(() => import('./terminal-content'), {
24-
loading: () => <div className="h-32 animate-pulse bg-muted/50 rounded" />,
23+
const TypingAnimation = dynamic(() => import('@/components/ui/terminal').then(mod => ({ default: mod.TypingAnimation })), {
24+
loading: () => <div className="h-4 animate-pulse bg-muted/50 rounded" />,
25+
ssr: false,
26+
})
27+
28+
const AnimatedSpan = dynamic(() => import('@/components/ui/terminal').then(mod => ({ default: mod.AnimatedSpan })), {
29+
loading: () => <div className="h-4 animate-pulse bg-muted/50 rounded" />,
2530
ssr: false,
2631
})
2732

0 commit comments

Comments
 (0)