Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/minor performance improvements and meta #43

Merged
merged 3 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/images/gdwr_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "@fontsource/jetbrains-mono";
<a class="flex title-font font-medium items-center mb-4 md:mb-0 text-orange-500 hover:text-orange-300 dark:text-orange-300 dark:hover:text-orange-500" href="/">

<div class="avatar p:10 w-20">
<img src="/images/gdwr.png" >
<img src="/images/gdwr_small.png" >
</div>

<h1 class="ml-3 text-4xl font-['jetbrains_mono']">{SITE_TITLE}</h1>
Expand Down
27 changes: 26 additions & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,40 @@ const Buttons = [
{ text: "blog", link: "/blog" },
];

const title = "GDWR";
const campfireImage = "/images/gdwr_small.png";

---

<!DOCTYPE html>
<html lang="en-us" class="dark">
<head>
<meta charset="UTF-8">

<title>{title}</title>

<meta property="og:type" content="website" />
<meta property="og:url" content="https://gdwr.me" />
<meta property="og:title" content={title} />
<meta name="description" content="GDWR's personal portfolio" />
<meta property="og:description" content="Fullstack Developer" />
<meta property="twitter:title" content={title} />
<meta property="og:site_name" content={title} />
<meta name="theme-color" content="#f97316" />

<meta property="og:image" content={campfireImage} />
<meta property="twitter:image" content={campfireImage} />
<link rel="apple-touch-icon" href={campfireImage} />
<meta property="og:image:alt" content="A cozy campfire" />
<meta property="twitter:image:alt" content="A cozy campfire" />

<meta name="viewport" content="width=device-width, initial-scale=1">
</head>

<body class="flex flex-col justify-center h-[77vh] font-['jetbrains_mono'] dark:bg-stone-900">

<div class="flex flex-col items-center justify-center">
<img src="/images/gdwr.png" alt="GDWR Avatar" class="h-72 hover:animate-pulse"/>
<img src={campfireImage} alt="GDWR Avatar" class="h-72 hover:animate-pulse"/>
<h1 class="text-stone-800 text-4xl dark:text-orange-500 md:text-6xl">GDWR</h1>
<h2 class="text-stone-700 text-2xl text-center dark:text-orange-300 md:text-4xl">Fullstack Developer</h2>
</div>
Expand Down
Loading