add opengraph tags & social cards

No forgejo icon, shame on you FA!
This commit is contained in:
raf 2024-09-27 21:42:20 +03:00
parent 5e2535e547
commit 1cd28becab
Signed by: NotAShelf
GPG key ID: AF26552424E53993
2 changed files with 63 additions and 0 deletions

View file

@ -3,6 +3,13 @@
<head>
<meta charset="UTF-8" />
<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
rel="icon"
href="static/favicon.ico"
@ -42,6 +49,29 @@
<a class="bullshit">definitely</a> update soon with more details.
Totally, I promise. Trust me.
</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>

View file

@ -83,6 +83,39 @@ body {
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 {
padding: 10px;
text-align: center;