40 lines
1.9 KiB
TypeScript
40 lines
1.9 KiB
TypeScript
import Jet from "~/assets/Jet.txt?ansi";
|
|
import { frostedBox } from "~/components/frosted-box";
|
|
|
|
export function homePage(outlet: HTMLElement) {
|
|
outlet.innerHTML = `
|
|
<div class="flex flex-col items-center justify-start px-4">
|
|
${frostedBox(`
|
|
<div class="flex flex-col items-center justify-center gap-[2ch] md:flex-row">
|
|
<div class="order-1 flex flex-col items-center md:order-2">
|
|
<h1 class="sr-only">Jet Pham</h1>
|
|
<div aria-hidden="true">${Jet}</div>
|
|
<p class="mt-[2ch]">Software Extremist</p>
|
|
</div>
|
|
<div class="order-2 shrink-0 md:order-1">
|
|
<img
|
|
src="/jet.svg"
|
|
alt="A picture of Jet wearing a beanie in purple and blue lighting"
|
|
width="250"
|
|
height="250"
|
|
class="aspect-square w-full max-w-[250px] object-cover md:h-[263px] md:w-[175px] md:max-w-none"
|
|
style="background-color: #a80055; color: transparent"
|
|
/>
|
|
</div>
|
|
</div>
|
|
<fieldset class="mt-[2ch] border-2 border-white px-[calc(1.5ch-0.5px)] pb-[1ch] pt-0">
|
|
<legend class="-mx-[0.5ch] px-[0.5ch] text-white">Contact</legend>
|
|
<a href="mailto:jet@extremist.software">jet@extremist.software</a>
|
|
</fieldset>
|
|
<fieldset class="mt-[2ch] border-2 border-white px-[calc(1.5ch-0.5px)] pb-[1ch] pt-0">
|
|
<legend class="-mx-[0.5ch] px-[0.5ch] text-white">Links</legend>
|
|
<ol>
|
|
<li><a href="https://git.extremist.software" class="inline-flex items-center">Forgejo</a></li>
|
|
<li><a href="https://github.com/jetpham" class="inline-flex items-center">GitHub</a></li>
|
|
<li><a href="https://x.com/exmistsoftware" class="inline-flex items-center">X</a></li>
|
|
<li><a href="https://bsky.app/profile/extremist.software" class="inline-flex items-center">Bluesky</a></li>
|
|
</ol>
|
|
</fieldset>
|
|
`)}
|
|
</div>`;
|
|
}
|