mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-10-31 22:25:43 +00:00 
			
		
		
		
	feat: add language selector
This commit is contained in:
		| @@ -1,12 +1,16 @@ | ||||
| import { Center, Flex } from "@mantine/core"; | ||||
| import { ReactNode } from "react"; | ||||
| import { LanguageSelector } from "../language-selector/language-selector"; | ||||
|  | ||||
| export const Layout = ({ children }: { children: ReactNode }) => { | ||||
|   return ( | ||||
|     <Center style={{ minHeight: "100vh" }}> | ||||
|       <Flex direction="column" flex="1" maw={350}> | ||||
|         {children} | ||||
|       </Flex> | ||||
|     </Center> | ||||
|     <> | ||||
|       <LanguageSelector /> | ||||
|       <Center style={{ minHeight: "100vh" }}> | ||||
|         <Flex direction="column" flex="1" maw={340}> | ||||
|           {children} | ||||
|         </Flex> | ||||
|       </Center> | ||||
|     </> | ||||
|   ); | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Stavros
					Stavros