forked from ourworld_web/www_engage_os
		
	feat: add animated hero section with TypeAnimation component on About page
This commit is contained in:
		
							
								
								
									
										9
									
								
								src/components/ui/Text.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/components/ui/Text.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
import { cn } from '@/lib/utils'
 | 
			
		||||
import React from 'react'
 | 
			
		||||
 | 
			
		||||
const h1 = React.forwardRef<HTMLHeadingElement, React.HTMLAttributes<HTMLHeadingElement>>(({ className, ...props }, ref) => (
 | 
			
		||||
  <h1 ref={ref} className={cn('text-4xl font-medium tracking-tight lg:text-5xl', className)} {...props} />
 | 
			
		||||
))
 | 
			
		||||
h1.displayName = 'H1'
 | 
			
		||||
 | 
			
		||||
export { h1 }
 | 
			
		||||
		Reference in New Issue
	
	Block a user