Files
Webserver/app/page.tsx

60 lines
2.3 KiB
TypeScript
Raw Normal View History

2026-02-08 14:05:15 -05:00
import Image from "next/image";
2026-04-11 23:27:29 -04:00
import Link from "next/link";
2026-02-08 23:18:21 -05:00
import { getAllPosts } from "@/lib/mdx";
2026-04-11 23:27:29 -04:00
import profileImage from "@/public/profile.jpeg";
2026-02-08 14:05:15 -05:00
2026-02-06 14:10:59 -05:00
export default function Home() {
2026-02-08 23:18:21 -05:00
const posts = getAllPosts();
const latestPost = posts[0];
2026-04-11 23:27:29 -04:00
const latestPostHref = latestPost ? `/blog/${latestPost.slug}` : "/blog";
2026-02-07 20:17:46 -05:00
2026-04-11 23:27:29 -04:00
return (
<div className="page-frame py-16 sm:py-20">
<section className="mx-auto grid min-h-[calc(100vh-11rem)] max-w-[64rem] gap-6 lg:grid-cols-[minmax(0,39rem)_15rem] lg:items-center lg:gap-4">
<div className="max-w-[39rem] space-y-6">
<p className="eyebrow">Akshay Kolli / Research + Writing</p>
2026-02-07 20:17:46 -05:00
2026-04-11 23:27:29 -04:00
<div className="space-y-4">
<h1 className="max-w-[34rem] text-balance font-sans text-[clamp(3.15rem,6vw,5.2rem)] font-medium leading-[0.94] tracking-[-0.085em] text-ink">
World models and reinforcement learning.
</h1>
2026-02-07 20:17:46 -05:00
2026-04-11 23:27:29 -04:00
<div className="max-w-[32rem] space-y-3 text-[1.04rem] leading-8 text-ink-soft sm:text-[1.1rem]">
2026-02-07 20:17:46 -05:00
<p>
2026-04-11 23:27:29 -04:00
I&apos;m a CS PhD student at UMass Lowell building world models for autonomous agents.
2026-02-07 20:17:46 -05:00
</p>
</div>
</div>
2026-04-11 23:27:29 -04:00
<div className="flex flex-wrap gap-x-6 gap-y-3 text-[0.96rem] text-ink">
<Link href={latestPostHref} className="transition-colors hover:text-accent">
Latest essay
</Link>
<Link href="/blog" className="transition-colors hover:text-accent">
Writing
</Link>
<Link href="/resume" className="transition-colors hover:text-accent">
Resume
</Link>
<a href="mailto:akshaykolli@hotmail.com" className="transition-colors hover:text-accent">
Email
</a>
</div>
2026-02-06 14:10:59 -05:00
</div>
2026-02-07 20:17:46 -05:00
2026-04-11 23:27:29 -04:00
<aside className="w-full max-w-[12rem] lg:max-w-[15rem] lg:justify-self-start">
<div className="relative aspect-square overflow-hidden rounded-full border border-line bg-paper-strong">
<Image
src={profileImage}
alt="Akshay Kolli"
fill
priority
className="object-cover object-center"
/>
</div>
</aside>
</section>
2026-02-06 14:10:59 -05:00
</div>
);
}