2026-06-29 10:48:48 -04:00
|
|
|
---
|
|
|
|
|
import { type CollectionEntry, getCollection } from "astro:content";
|
|
|
|
|
import PostPreview from "@/components/blog/PostPreview.astro";
|
2026-06-30 12:03:32 -04:00
|
|
|
import Project from "@/components/project/Project.astro";
|
2026-06-29 10:48:48 -04:00
|
|
|
import { getAllPosts } from "@/data/post";
|
2026-06-30 12:03:32 -04:00
|
|
|
import { getAllSpeaking } from "@/data/speaking";
|
2026-06-29 10:48:48 -04:00
|
|
|
import PageLayout from "@/layouts/Base.astro";
|
2026-06-30 14:28:50 -04:00
|
|
|
import { socialLinks } from "@/site.config";
|
|
|
|
|
import { getTagIndex, getTaggedCollections } from "@/data/tags";
|
2026-06-30 13:05:14 -04:00
|
|
|
import { collectionDateSort, projectDateSort } from "@/utils/date";
|
2026-06-30 14:28:50 -04:00
|
|
|
import { personSchema, websiteSchema } from "@/utils/seo";
|
2026-06-29 10:48:48 -04:00
|
|
|
|
2026-06-30 12:29:46 -04:00
|
|
|
const MAX_POSTS = 4;
|
2026-06-29 10:48:48 -04:00
|
|
|
const allPosts = await getAllPosts();
|
2026-06-30 12:03:32 -04:00
|
|
|
const latestPosts = (allPosts.sort(collectionDateSort) as CollectionEntry<"writing">[]).slice(
|
|
|
|
|
0,
|
|
|
|
|
MAX_POSTS,
|
|
|
|
|
);
|
2026-06-29 10:48:48 -04:00
|
|
|
|
2026-06-30 14:28:50 -04:00
|
|
|
const MAX_PROJECTS = 3;
|
2026-06-30 12:03:32 -04:00
|
|
|
const allProjects = await getCollection("projects");
|
2026-06-30 13:05:14 -04:00
|
|
|
const latestProjects = allProjects.sort(projectDateSort).slice(0, MAX_PROJECTS);
|
2026-06-30 12:03:32 -04:00
|
|
|
|
2026-06-30 14:28:50 -04:00
|
|
|
const talks = (await getAllSpeaking()).sort(collectionDateSort);
|
|
|
|
|
|
|
|
|
|
const social = Object.fromEntries(socialLinks.map((s) => [s.friendlyName, s.link]));
|
|
|
|
|
|
|
|
|
|
// Skills (from all tagged content) feed the Person `knowsAbout` signal.
|
|
|
|
|
const skills = [...getTagIndex(await getTaggedCollections()).values()].map((t) => t.label);
|
2026-06-30 12:29:46 -04:00
|
|
|
|
|
|
|
|
const meta = {
|
|
|
|
|
title: "Engineer & Founder",
|
|
|
|
|
description:
|
|
|
|
|
"Prad Nukala — engineer and founder building decentralized identity infrastructure. Explore my projects, experience, writing, and talks.",
|
2026-06-30 14:28:50 -04:00
|
|
|
schema: [websiteSchema(), personSchema(skills)],
|
2026-06-30 12:29:46 -04:00
|
|
|
};
|
2026-06-29 10:48:48 -04:00
|
|
|
---
|
|
|
|
|
|
2026-06-30 12:29:46 -04:00
|
|
|
<PageLayout meta={meta}>
|
2026-06-29 10:48:48 -04:00
|
|
|
<section>
|
2026-06-30 12:03:32 -04:00
|
|
|
<h1 class="title mb-6">Prad Nukala</h1>
|
2026-06-29 10:48:48 -04:00
|
|
|
<p class="mb-4">
|
2026-06-30 12:03:32 -04:00
|
|
|
Engineer and founder. I build decentralized identity infrastructure and tools for developers.
|
|
|
|
|
Here you'll find what I've built, where I've worked, what I write, and the talks I've given.
|
2026-06-29 10:48:48 -04:00
|
|
|
</p>
|
2026-06-30 12:29:46 -04:00
|
|
|
<p>
|
2026-06-30 14:28:50 -04:00
|
|
|
Find me on <a class="cactus-link" href={social.GitHub} rel="me noreferrer" target="_blank">Github</a>,
|
|
|
|
|
<a class="cactus-link" href={social.X} rel="me noreferrer" target="_blank">X</a>,
|
|
|
|
|
<a class="cactus-link" href={social.LinkedIn} rel="me noreferrer" target="_blank">LinkedIn</a>, or
|
2026-06-30 12:29:46 -04:00
|
|
|
<a class="cactus-link" href={social.Email}>contact me directly</a>.
|
|
|
|
|
</p>
|
2026-06-29 10:48:48 -04:00
|
|
|
</section>
|
|
|
|
|
{
|
2026-06-30 12:03:32 -04:00
|
|
|
latestProjects.length > 0 && (
|
2026-06-29 10:48:48 -04:00
|
|
|
<section class="mt-16">
|
2026-06-30 12:03:32 -04:00
|
|
|
<h2 class="title text-accent mb-6 text-xl">
|
|
|
|
|
<a href="/projects/">Projects</a>
|
|
|
|
|
</h2>
|
|
|
|
|
<ul class="space-y-6" role="list">
|
|
|
|
|
{latestProjects.map((project) => (
|
|
|
|
|
<li>
|
|
|
|
|
<Project project={project} as="h3" isPreview />
|
2026-06-29 10:48:48 -04:00
|
|
|
</li>
|
|
|
|
|
))}
|
|
|
|
|
</ul>
|
2026-06-30 12:29:46 -04:00
|
|
|
<a class="hover:text-link mt-6 inline-block" href="/projects/">
|
|
|
|
|
See all projects <span aria-hidden="true">→</span>
|
|
|
|
|
</a>
|
2026-06-29 10:48:48 -04:00
|
|
|
</section>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
<section class="mt-16">
|
2026-06-30 12:03:32 -04:00
|
|
|
<h2 class="title text-accent mb-6 text-xl"><a href="/writing/">Writing</a></h2>
|
2026-06-29 10:48:48 -04:00
|
|
|
<ul class="space-y-4" role="list">
|
|
|
|
|
{
|
|
|
|
|
latestPosts.map((p) => (
|
|
|
|
|
<li class="grid gap-1 sm:grid-cols-[auto_1fr]">
|
|
|
|
|
<PostPreview post={p} />
|
|
|
|
|
</li>
|
|
|
|
|
))
|
|
|
|
|
}
|
|
|
|
|
</ul>
|
2026-06-30 12:29:46 -04:00
|
|
|
<a class="hover:text-link mt-6 inline-block" href="/writing/">
|
|
|
|
|
See all writing <span aria-hidden="true">→</span>
|
|
|
|
|
</a>
|
2026-06-29 10:48:48 -04:00
|
|
|
</section>
|
|
|
|
|
{
|
2026-06-30 14:28:50 -04:00
|
|
|
talks.length > 0 && (
|
2026-06-29 10:48:48 -04:00
|
|
|
<section class="mt-16">
|
|
|
|
|
<h2 class="title text-accent mb-6 text-xl">
|
2026-06-30 12:03:32 -04:00
|
|
|
<a href="/speaking/">Speaking</a>
|
2026-06-29 10:48:48 -04:00
|
|
|
</h2>
|
2026-06-30 12:03:32 -04:00
|
|
|
<ul class="space-y-4" role="list">
|
2026-06-30 14:28:50 -04:00
|
|
|
{talks.map((talk) => (
|
2026-06-29 10:48:48 -04:00
|
|
|
<li>
|
2026-06-30 12:03:32 -04:00
|
|
|
<a class="cactus-link" href={`/speaking/${talk.id}/`}>
|
|
|
|
|
{talk.data.title}
|
|
|
|
|
</a>
|
|
|
|
|
{talk.data.event && <span class="text-muted text-sm"> · {talk.data.event}</span>}
|
2026-06-29 10:48:48 -04:00
|
|
|
</li>
|
|
|
|
|
))}
|
|
|
|
|
</ul>
|
|
|
|
|
</section>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
</PageLayout>
|