diff --git a/src/components/Home.tsx b/src/components/Home.tsx new file mode 100644 index 0000000..698a2c8 --- /dev/null +++ b/src/components/Home.tsx @@ -0,0 +1,66 @@ +import React from 'react'; + +type BackgroundType = 'solid' | 'glass' | 'transparent'; +type BorderRadiusType = 'none' | 'small' | 'rounded' | 'large'; +type CardStyleType = 'minimal' | 'glass' | 'glass-elevated' | 'solid'; +type ButtonStyleType = 'solid' | 'glass' | 'outline'; +type TextAnimationType = 'none' | 'entrance-slide' | 'entrance-fade' | 'typing'; + +interface HomeProps { + defaultTextAnimation?: TextAnimationType; + borderRadius?: BorderRadiusType; + background?: BackgroundType; + cardStyle?: CardStyleType; + primaryButtonStyle?: ButtonStyleType; + secondaryButtonStyle?: ButtonStyleType; +} + +const Home: React.FC = ({ + defaultTextAnimation = "entrance-slide", borderRadius = "rounded", background = "glass", cardStyle = "glass-elevated", primaryButtonStyle = "solid", secondaryButtonStyle = "glass" +}) => { + return ( +
+
+
+

+ Welcome to Webild Components +

+

+ A modern component library built with React and Tailwind CSS +

+
+ +
+
+

Modern Design

+

+ Beautiful, responsive components with glass morphism effects +

+
+ +
+

TypeScript

+

+ Fully typed components for better developer experience +

+
+ +
+

Customizable

+

+ Flexible theming system with multiple style variants +

+
+
+ +
+ +
+
+
+ ); +}; + +export default Home; \ No newline at end of file