mirror of
				https://github.com/mastermindzh/rickvanlieshout.com
				synced 2025-10-31 00:29:46 +01:00 
			
		
		
		
	feat: added my public keys to a keys.json file in the root of the website
This commit is contained in:
		| @@ -6,7 +6,6 @@ import { ICONS } from "@/constants"; | ||||
| import { Dictionary } from "@/types"; | ||||
| import { getContactHref, getIcon } from "@/utils"; | ||||
|  | ||||
|  | ||||
| type Props = { | ||||
|   contacts: Dictionary<string>; | ||||
| }; | ||||
| @@ -26,8 +25,13 @@ const Contacts: React.FC<Props> = ({ contacts }: Props) => ( | ||||
|               <Icon name={name} icon={getIcon(name)} /> | ||||
|             </a> | ||||
|           </li> | ||||
|         ) : null, | ||||
|         ) : null | ||||
|       )} | ||||
|       <li className={styles.item} key="keys"> | ||||
|         <a className={styles.link} href="/keys.json" rel="noopener noreferrer" target="_blank"> | ||||
|           <Icon name="keys" icon={getIcon("keys")} /> | ||||
|         </a> | ||||
|       </li> | ||||
|     </ul> | ||||
|   </div> | ||||
| ); | ||||
|   | ||||
| @@ -93,6 +93,24 @@ exports[`Contacts renders correctly 1`] = ` | ||||
|         </svg> | ||||
|       </a> | ||||
|     </li> | ||||
|     <li> | ||||
|       <a | ||||
|         href="/keys.json" | ||||
|         rel="noopener noreferrer" | ||||
|         target="_blank" | ||||
|       > | ||||
|         <svg | ||||
|           viewBox="0 0 20 20" | ||||
|         > | ||||
|           <title> | ||||
|             keys | ||||
|           </title> | ||||
|           <path | ||||
|             d="M15 6a1.54 1.54 0 0 1-1.5-1.5 1.5 1.5 0 0 1 3 0A1.54 1.54 0 0 1 15 6zm-1.5-5A5.55 5.55 0 0 0 8 6.5a6.81 6.81 0 0 0 .7 2.8L1 17v2h4v-2h2v-2h2l3.2-3.2a5.85 5.85 0 0 0 1.3.2A5.55 5.55 0 0 0 19 6.5 5.55 5.55 0 0 0 13.5 1z" | ||||
|           /> | ||||
|         </svg> | ||||
|       </a> | ||||
|     </li> | ||||
|   </ul> | ||||
| </div> | ||||
| `; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user