mirror of
https://github.com/hex248/ob248.com.git
synced 2026-02-07 18:23:04 +00:00
fixed spacing in header area
This commit is contained in:
@@ -17,7 +17,7 @@ const fullUrl = url + encodeURIComponent(AI_SUMMARY_PROMPT);
|
|||||||
href={fullUrl}
|
href={fullUrl}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
class="text-[var(--ayu-gutter)] hover:text-[var(--ayu-accent)] transition-colors duration-150"
|
class="text-fg hover:text-[var(--ayu-accent)] transition-colors duration-150"
|
||||||
title={title}
|
title={title}
|
||||||
>
|
>
|
||||||
<Icon name={icon} class="w-7 h-7" />
|
<Icon name={icon} class="w-7 h-7" />
|
||||||
|
|||||||
@@ -80,8 +80,6 @@ projects.forEach((project) => {
|
|||||||
allTags.add(tag);
|
allTags.add(tag);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
const sortedTags = Array.from(allTags).sort((a, b) => a.localeCompare(b));
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@@ -110,10 +108,42 @@ const sortedTags = Array.from(allTags).sort((a, b) => a.localeCompare(b));
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<Layout currentPage={{ title: "home", path: "/" }}>
|
<Layout currentPage={{ title: "home", path: "/" }}>
|
||||||
<div class="flex justify-between items-start mb-4">
|
<div class="flex justify-between items-start mb-2">
|
||||||
<h2 class="text-2xl font-600 text-ayu-green-500">ABOUT</h2>
|
<div class="flex flex-col gap-1">
|
||||||
<div class="flex flex-col items-end gap-2">
|
<h2 class="text-2xl font-600 text-ayu-green-500">ABOUT</h2>
|
||||||
<p class="text-ayu-gutter text-lg">Ask AI about me</p>
|
<span class="flex flex-wrap gap-2 mb-2">
|
||||||
|
<a
|
||||||
|
href="https://github.com/hex248"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
class="upper-icon-link flex items-center gap-1"
|
||||||
|
title="GitHub Profile"
|
||||||
|
>
|
||||||
|
<Icon name="mdi:github" class="w-5 h-5" />
|
||||||
|
hex248
|
||||||
|
</a>
|
||||||
|
/ <a
|
||||||
|
href="mailto:ob248@proton.me"
|
||||||
|
class="upper-icon-link flex items-center gap-1"
|
||||||
|
title="Email"
|
||||||
|
>
|
||||||
|
<Icon name="mdi:email-outline" class="w-5 h-5" />
|
||||||
|
ob248@proton.me
|
||||||
|
</a>
|
||||||
|
/ <a
|
||||||
|
href="/cv.pdf"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
class="upper-icon-link flex items-center gap-1"
|
||||||
|
title="Download CV"
|
||||||
|
>
|
||||||
|
<Icon name="mdi:file-document-outline" class="w-5 h-5" />
|
||||||
|
CV
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div id="ask-ai" class="flex flex-col items-end gap-2">
|
||||||
|
<p class="text-fg text-lg">Ask AI about me</p>
|
||||||
<div class="flex gap-4 items-center">
|
<div class="flex gap-4 items-center">
|
||||||
<AIPrompt
|
<AIPrompt
|
||||||
url="https://chat.openai.com/?q="
|
url="https://chat.openai.com/?q="
|
||||||
@@ -128,7 +158,7 @@ const sortedTags = Array.from(allTags).sort((a, b) => a.localeCompare(b));
|
|||||||
<div class="relative flex items-center">
|
<div class="relative flex items-center">
|
||||||
<button
|
<button
|
||||||
id="copy-prompt-btn"
|
id="copy-prompt-btn"
|
||||||
class="text-[var(--ayu-gutter)] hover:text-[var(--ayu-accent)] transition-colors duration-150 cursor-pointer flex items-center"
|
class="text-fg hover:text-[var(--ayu-accent)] transition-colors duration-150 cursor-pointer flex items-center"
|
||||||
title="Copy prompt to clipboard"
|
title="Copy prompt to clipboard"
|
||||||
>
|
>
|
||||||
<Icon name="mdi:content-copy" class="w-7 h-7" />
|
<Icon name="mdi:content-copy" class="w-7 h-7" />
|
||||||
@@ -143,36 +173,6 @@ const sortedTags = Array.from(allTags).sort((a, b) => a.localeCompare(b));
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<span class="flex flex-wrap gap-2 mb-2">
|
|
||||||
<a
|
|
||||||
href="https://github.com/hex248"
|
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
class="upper-icon-link flex items-center gap-1"
|
|
||||||
title="GitHub Profile"
|
|
||||||
>
|
|
||||||
<Icon name="mdi:github" class="w-5 h-5" />
|
|
||||||
hex248
|
|
||||||
</a>
|
|
||||||
/ <a
|
|
||||||
href="mailto:ob248@proton.me"
|
|
||||||
class="upper-icon-link flex items-center gap-1"
|
|
||||||
title="Email"
|
|
||||||
>
|
|
||||||
<Icon name="mdi:email-outline" class="w-5 h-5" />
|
|
||||||
ob248@proton.me
|
|
||||||
</a>
|
|
||||||
/ <a
|
|
||||||
href="/cv.pdf"
|
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
class="upper-icon-link flex items-center gap-1"
|
|
||||||
title="Download CV"
|
|
||||||
>
|
|
||||||
<Icon name="mdi:file-document-outline" class="w-5 h-5" />
|
|
||||||
CV
|
|
||||||
</a>
|
|
||||||
</span>
|
|
||||||
<ul class="list-disc ml-4 mb-2">
|
<ul class="list-disc ml-4 mb-2">
|
||||||
<li>
|
<li>
|
||||||
<span class="text-ayu-red-500 font-500">Name: </span>Oliver Bryan
|
<span class="text-ayu-red-500 font-500">Name: </span>Oliver Bryan
|
||||||
@@ -197,15 +197,6 @@ const sortedTags = Array.from(allTags).sort((a, b) => a.localeCompare(b));
|
|||||||
<span class="text-ayu-blue-500 font-500">Age: </span>
|
<span class="text-ayu-blue-500 font-500">Age: </span>
|
||||||
<TimeSince date={new Date("11:47:00 2004-11-04")} client:react />
|
<TimeSince date={new Date("11:47:00 2004-11-04")} client:react />
|
||||||
</li>
|
</li>
|
||||||
<!-- <li>
|
|
||||||
<span class="text-ayu-red-500 font-500">Hobbies: </span>Music,
|
|
||||||
Travel, Badminton, <a
|
|
||||||
href="https://photos.oliverbryan.com"
|
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
class="inline-link">Photography</a
|
|
||||||
>
|
|
||||||
</li> -->
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -215,7 +206,7 @@ const sortedTags = Array.from(allTags).sort((a, b) => a.localeCompare(b));
|
|||||||
<h2 class="text-2xl font-600 text-ayu-green-500 mt-6">
|
<h2 class="text-2xl font-600 text-ayu-green-500 mt-6">
|
||||||
PROFESSIONAL PROJECTS
|
PROFESSIONAL PROJECTS
|
||||||
</h2>
|
</h2>
|
||||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-4 py-2">
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-4 pt-2">
|
||||||
{projects
|
{projects
|
||||||
.filter((project) => project.type === "professional")
|
.filter((project) => project.type === "professional")
|
||||||
.map((project) => (
|
.map((project) => (
|
||||||
@@ -237,7 +228,7 @@ const sortedTags = Array.from(allTags).sort((a, b) => a.localeCompare(b));
|
|||||||
|
|
||||||
<h2 class="text-2xl font-600 text-ayu-green-500 mt-6">PERSONAL PROJECTS</h2>
|
<h2 class="text-2xl font-600 text-ayu-green-500 mt-6">PERSONAL PROJECTS</h2>
|
||||||
|
|
||||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-4 py-2">
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-4 pt-2">
|
||||||
{
|
{
|
||||||
projects
|
projects
|
||||||
.filter((project) => project.type === "personal")
|
.filter((project) => project.type === "personal")
|
||||||
|
|||||||
Reference in New Issue
Block a user