feat: some shit
This commit is contained in:
		
							
								
								
									
										21
									
								
								src/components/arrows/ArrowA.astro
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								src/components/arrows/ArrowA.astro
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| --- | ||||
| import { useTranslations } from "@i18n/utils"; | ||||
| const t = useTranslations(Astro); | ||||
| --- | ||||
|  | ||||
| <div class="arrow flex items-center gap-2"> | ||||
|   <img src="/images/arrow_a.svg" alt="Arrow" /> | ||||
|   <p class="text-xl">{t("latest-projects")}</p> | ||||
| </div> | ||||
|  | ||||
| <style> | ||||
|   .arrow { | ||||
|     position: absolute; | ||||
|     right: 0; | ||||
|     transform: rotate(10deg) translateX(110%) translateY(50px); | ||||
|   } | ||||
|   .arrow > p { | ||||
|     color: #414152; | ||||
|     transform: rotate(15deg) translateY(16px) translateX(4px); | ||||
|   } | ||||
| </style> | ||||
		Reference in New Issue
	
	Block a user