fix: now it build, not sure why
This commit is contained in:
		
							parent
							
								
									50893f1a92
								
							
						
					
					
						commit
						4f5c18d488
					
				| @ -10,6 +10,15 @@ import { ScrollToTopButton } from './components/ui/ScrollToTopButton'; | ||||
| import { ParallaxBackground } from './components/ui/ParallaxBackground'; | ||||
| import { URLS } from './config/constants'; | ||||
| 
 | ||||
| interface Service { | ||||
|   name: string; | ||||
|   url: string; | ||||
|   image: string; | ||||
|   icon: string; | ||||
|   description: string; | ||||
|   features: string[]; | ||||
| } | ||||
| 
 | ||||
| const services = [ | ||||
|   { | ||||
|     name: "Wiki", | ||||
| @ -141,7 +150,7 @@ const services = [ | ||||
| ]; | ||||
| 
 | ||||
| const App: React.FC = () => { | ||||
|   const [selectedService, setSelectedService] = useState<typeof services[0] | null>(null); | ||||
|   const [selectedService, setSelectedService] = useState<Service | null>(null); | ||||
|   const [openAccordion, setOpenAccordion] = useState<string | null>(null); | ||||
| 
 | ||||
|   const toggleAccordion = (title: string) => { | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| import React from 'react'; | ||||
| 
 | ||||
| // Declare the Service interface here
 | ||||
| // Update the Service interface to match your actual service objects
 | ||||
| interface Service { | ||||
|   name: string; | ||||
|   url: string; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Arthur Wambst
						Arthur Wambst