diff --git a/app/(app)/figlet/page.tsx b/app/(app)/figlet/page.tsx new file mode 100644 index 0000000..64d807a --- /dev/null +++ b/app/(app)/figlet/page.tsx @@ -0,0 +1,13 @@ +import { FigletConverter } from '@/components/figlet/FigletConverter'; + +export default function FigletPage() { + return ( +
ASCII Art Text Generator with 373 Fonts
++ Simulate how colors appear with different types of color blindness +
++ {typeDescriptions[blindnessType]} +
+ + ++ Compare original colors (left) with how they appear to people with{' '} + {blindnessType} (right) +
+ ++ Original +
+{sim.input}
+ + As Seen ({sim.difference_percentage.toFixed(1)}% difference) +
+{sim.output}
+ + Ensure important information isn't conveyed by color alone. Use text + labels, patterns, or icons to make your design accessible to everyone +
+Add colors and click Simulate to see how they appear
+with different types of color blindness
++ Test color combinations for WCAG 2.1 compliance +
+Normal Text (16px)
+Large Text (24px)
++ {ratio >= 7 + ? 'Excellent contrast' + : ratio >= 4.5 + ? 'Good contrast' + : ratio >= 3 + ? 'Minimum contrast' + : 'Poor contrast'} +
++ Ensure your colors are accessible to everyone +
+{tool.description}
++ The Web Content Accessibility Guidelines (WCAG) 2.1 provide standards for making web + content more accessible to people with disabilities +
++ Automatically find the best text color (black or white) for any background color +
++ This tool analyzes each background color and automatically selects either black + or white text to ensure maximum readability. The algorithm guarantees WCAG AA + compliance (4.5:1 contrast ratio) for normal text +
+
+ {result.background}
+
+ + Sample Text Preview +
++ The quick brown fox jumps over the lazy dog. This is how your text + will look on this background color +
+{result.textcolor}
+ Add background colors and click Optimize to see results
++ Process multiple colors at once with manipulation operations +
++ Enter colors (one per line or comma-separated). Supports hex format +
+ +Enter colors and click Process to see results
++ Explore 148 CSS/X11 named colors +
++ Interactive color manipulation and analysis tool +
+Error loading color information
+{error?.message || 'Unknown error'}
++ Generate visually distinct colors using simulated annealing +
++ Higher counts take longer to generate +
++ Create smooth color gradients with multiple stops +
++ Create color harmonies based on color theory principles +
++ {harmonyDescriptions[harmonyType]} +
+ + +Select a harmony type and click Generate to create your palette
++ Create beautiful color palettes using various generation methods +
+{type.description}
+Smart unit converter with 187 units across 23 categories
+