forked from cardosofelipe/fast-next-template
Refactor multiline formatting, link definitions, and code consistency across components and tests
- Improved readability by updating multiline statements and object definitions. - Applied consistent link and button wrapping in `DemoSection` and other components. - Enhanced test assertions and helper functions with uniform formatting and parentheses usage.
This commit is contained in:
@@ -10,7 +10,17 @@
|
||||
|
||||
import Link from 'next/link';
|
||||
import { usePathname } from 'next/navigation';
|
||||
import { Code2, Palette, LayoutDashboard, Box, FileText, BookOpen, Home, ArrowLeft, Rocket } from 'lucide-react';
|
||||
import {
|
||||
Code2,
|
||||
Palette,
|
||||
LayoutDashboard,
|
||||
Box,
|
||||
FileText,
|
||||
BookOpen,
|
||||
Home,
|
||||
ArrowLeft,
|
||||
Rocket,
|
||||
} from 'lucide-react';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Badge } from '@/components/ui/badge';
|
||||
import { ThemeToggle } from '@/components/theme';
|
||||
|
||||
@@ -120,9 +120,7 @@ export function DemoSection() {
|
||||
transition={{ duration: 0.6, delay: 0.4 }}
|
||||
>
|
||||
<Button asChild variant="outline" size="lg" className="gap-2">
|
||||
<Link href="/demos">
|
||||
View Complete Demo Tour →
|
||||
</Link>
|
||||
<Link href="/demos">View Complete Demo Tour →</Link>
|
||||
</Button>
|
||||
</motion.div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user