| 
									
										
										
										
											2024-09-26 14:38:59 +02:00
										 |  |  | import { ReactNode } from 'react'; | 
					
						
							| 
									
										
										
										
											2024-09-19 12:18:04 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-10-11 10:18:33 +02:00
										 |  |  | // Metadata for the application, used for SEO and page information
 | 
					
						
							| 
									
										
										
										
											2024-09-18 09:47:23 +02:00
										 |  |  | export const metadata = { | 
					
						
							| 
									
										
										
										
											2024-10-11 10:18:33 +02:00
										 |  |  |   title: 'AI Assistant | Interstellar Development', // Title of the page
 | 
					
						
							|  |  |  |   description: 'A little AI chat that is able to assist you in little tasks', // Description of the page
 | 
					
						
							| 
									
										
										
										
											2024-09-26 14:38:59 +02:00
										 |  |  | }; | 
					
						
							| 
									
										
										
										
											2024-09-18 09:47:23 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-10-11 10:18:33 +02:00
										 |  |  | // RootLayout component definition
 | 
					
						
							| 
									
										
										
										
											2024-09-26 14:38:59 +02:00
										 |  |  | export default function RootLayout({ children }: { children: ReactNode }) { | 
					
						
							| 
									
										
										
										
											2024-09-18 09:47:23 +02:00
										 |  |  |   return ( | 
					
						
							| 
									
										
										
										
											2024-10-11 10:46:05 +02:00
										 |  |  |     <html lang="en"> | 
					
						
							| 
									
										
										
										
											2024-09-26 14:38:59 +02:00
										 |  |  |       <head> | 
					
						
							| 
									
										
										
										
											2024-10-11 10:46:05 +02:00
										 |  |  |         <title>{metadata.title}</title> | 
					
						
							|  |  |  |         <meta name="description" content={metadata.description} /> | 
					
						
							| 
									
										
										
										
											2024-09-27 14:03:43 +02:00
										 |  |  |         <link rel="icon" href="./favicon.ico" type="image/x-icon" /> | 
					
						
							| 
									
										
										
										
											2024-09-26 14:38:59 +02:00
										 |  |  |       </head> | 
					
						
							| 
									
										
										
										
											2024-09-19 12:18:04 +02:00
										 |  |  |       <body> | 
					
						
							| 
									
										
										
										
											2024-10-11 10:46:05 +02:00
										 |  |  |         <main>{children}</main> | 
					
						
							| 
									
										
										
										
											2024-09-19 12:18:04 +02:00
										 |  |  |       </body> | 
					
						
							| 
									
										
										
										
											2024-09-18 09:47:23 +02:00
										 |  |  |     </html> | 
					
						
							| 
									
										
										
										
											2024-09-19 12:18:04 +02:00
										 |  |  |   ); | 
					
						
							| 
									
										
										
										
											2024-09-18 09:47:23 +02:00
										 |  |  | } |