diff --git a/components/AppIcons.tsx b/components/AppIcons.tsx new file mode 100644 index 0000000..6be0f17 --- /dev/null +++ b/components/AppIcons.tsx @@ -0,0 +1,32 @@ +import * as React from 'react'; + +export const PastelIcon = (props: React.SVGProps) => ( + + + + + + + +); + +export const UnitsIcon = (props: React.SVGProps) => ( + + + +); + +export const FigletIcon = (props: React.SVGProps) => ( + + + + + + +); + +export const MediaIcon = (props: React.SVGProps) => ( + + + +); diff --git a/components/Stats.tsx b/components/Stats.tsx index 2250671..453e74a 100644 --- a/components/Stats.tsx +++ b/components/Stats.tsx @@ -4,7 +4,7 @@ import { motion } from 'framer-motion'; const stats = [ { - number: '3', + number: '4', label: 'Tools', icon: ( diff --git a/components/ToolsGrid.tsx b/components/ToolsGrid.tsx index 8c98570..539267f 100644 --- a/components/ToolsGrid.tsx +++ b/components/ToolsGrid.tsx @@ -2,6 +2,7 @@ import { motion } from 'framer-motion'; import ToolCard from './ToolCard'; +import { PastelIcon, UnitsIcon, FigletIcon, MediaIcon } from '@/components/AppIcons'; const tools = [ { @@ -11,15 +12,7 @@ const tools = [ gradient: 'gradient-indigo-purple', accentColor: '#a855f7', badges: ['Open Source', 'WCAG', 'Free'], - icon: ( - - - - - - - - ), + icon: , }, { title: 'Units', @@ -28,11 +21,7 @@ const tools = [ gradient: 'gradient-cyan-purple', accentColor: '#2dd4bf', badges: ['Open Source', 'Real-time', 'Free'], - icon: ( - - - - ), + icon: , }, { title: 'Figlet', @@ -41,14 +30,7 @@ const tools = [ gradient: 'gradient-yellow-amber', accentColor: '#eab308', badges: ['Open Source', 'ASCII Art', 'Free'], - icon: ( - - - - - - - ), + icon: , }, { title: 'Media', @@ -57,11 +39,7 @@ const tools = [ gradient: 'gradient-green-teal', accentColor: '#10b981', badges: ['Open Source', 'Converter', 'Free'], - icon: ( - - - - ), + icon: , }, ]; diff --git a/components/layout/AppSidebar.tsx b/components/layout/AppSidebar.tsx index 41bb32a..69f7833 100644 --- a/components/layout/AppSidebar.tsx +++ b/components/layout/AppSidebar.tsx @@ -17,6 +17,7 @@ import { cn } from '@/lib/utils/cn'; import Logo from '@/components/Logo'; import { useSidebar } from './SidebarProvider'; import { Button } from '@/components/ui/button'; +import { PastelIcon, UnitsIcon, FigletIcon, MediaIcon } from '@/components/AppIcons'; interface NavItem { title: string; @@ -30,38 +31,6 @@ interface NavGroup { items: NavItem[]; } -const PastelIcon = (props: any) => ( - - - - - - - -); - -const UnitsIcon = (props: any) => ( - - - -); - -const FigletIcon = (props: any) => ( - - - - - - -); - - -const MediaIcon = (props: any) => ( - - - -); - const navigation: NavGroup[] = [ { label: 'Toolkit',