add opengraph tags & social cards
No forgejo icon, shame on you FA!
This commit is contained in:
		
					parent
					
						
							
								5e2535e547
							
						
					
				
			
			
				commit
				
					
						1cd28becab
					
				
			
		
					 2 changed files with 63 additions and 0 deletions
				
			
		
							
								
								
									
										30
									
								
								index.html
									
										
									
									
									
								
							
							
						
						
									
										30
									
								
								index.html
									
										
									
									
									
								
							|  | @ -3,6 +3,13 @@ | ||||||
|   <head> |   <head> | ||||||
|     <meta charset="UTF-8" /> |     <meta charset="UTF-8" /> | ||||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |     <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||||
|  |     <meta property="og:type" content="website" /> | ||||||
|  |     <meta property="og:url" content="https://frzn.dev/~raf" /> | ||||||
|  |     <meta property="og:title" content="~raf @ frzn.dev" /> | ||||||
|  |     <meta property="og:description" content="My personal slice on frzn.dev" /> | ||||||
|  |     <meta property="og:image" content="static/pfp-angel.png" /> | ||||||
|  |     <meta property="og:site_name" content="~raf @ frzn.dev" /> | ||||||
|  |     <meta property="og:locale" content="en_US" /> | ||||||
|     <link |     <link | ||||||
|       rel="icon" |       rel="icon" | ||||||
|       href="static/favicon.ico" |       href="static/favicon.ico" | ||||||
|  | @ -42,6 +49,29 @@ | ||||||
|           <a class="bullshit">definitely</a> update soon with more details. |           <a class="bullshit">definitely</a> update soon with more details. | ||||||
|           Totally, I promise. Trust me. |           Totally, I promise. Trust me. | ||||||
|         </p> |         </p> | ||||||
|  |         <div class="social-cards"> | ||||||
|  |           <a | ||||||
|  |             href="https://github.com/NotAShelf" | ||||||
|  |             target="_blank" | ||||||
|  |             rel="noopener noreferrer" | ||||||
|  |           > | ||||||
|  |             <i class="fab fa-github"></i> | ||||||
|  |           </a> | ||||||
|  |           <a | ||||||
|  |             href="https://x.com/NotAShelf" | ||||||
|  |             target="_blank" | ||||||
|  |             rel="noopener noreferrer" | ||||||
|  |           > | ||||||
|  |             <i class="fa-brands fa-twitter"></i> | ||||||
|  |           </a> | ||||||
|  |           <a | ||||||
|  |             href="mailto:raf@notashelf.dev" | ||||||
|  |             target="_blank" | ||||||
|  |             rel="noopener noreferrer" | ||||||
|  |           > | ||||||
|  |             <i class="fas fa-envelope"></i> | ||||||
|  |           </a> | ||||||
|  |         </div> | ||||||
|       </div> |       </div> | ||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
							
								
								
									
										33
									
								
								styles.css
									
										
									
									
									
								
							
							
						
						
									
										33
									
								
								styles.css
									
										
									
									
									
								
							|  | @ -83,6 +83,39 @@ body { | ||||||
|   letter-spacing: 0.6px; |   letter-spacing: 0.6px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | .social-cards { | ||||||
|  |   display: flex; | ||||||
|  |   justify-content: center; | ||||||
|  |   margin-top: 20px; /* Add space after the About Me section */ | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .social-cards a { | ||||||
|  |   display: inline-block; | ||||||
|  |   margin: 0 10px; | ||||||
|  |   text-decoration: none; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .social-cards i { | ||||||
|  |   font-size: 32px; | ||||||
|  |   color: #f8fafc; | ||||||
|  |   transition: color 0.3s ease; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .social-cards a:hover i { | ||||||
|  |   color: #a1a1aa; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .social-cards a { | ||||||
|  |   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | ||||||
|  |   border-radius: 5px; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | @media (max-width: 768px) { | ||||||
|  |   .social-cards a { | ||||||
|  |     margin: 5px; | ||||||
|  |   } | ||||||
|  | } | ||||||
|  | 
 | ||||||
| footer { | footer { | ||||||
|   padding: 10px; |   padding: 10px; | ||||||
|   text-align: center; |   text-align: center; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue