shivam + claude changes
All checks were successful
Deploy Website / build-and-deploy (push) Successful in 28s
All checks were successful
Deploy Website / build-and-deploy (push) Successful in 28s
This commit is contained in:
14
app/page.tsx
14
app/page.tsx
@@ -1,6 +1,10 @@
|
||||
import Image from "next/image";
|
||||
import { getAllPosts } from "@/lib/mdx";
|
||||
|
||||
export default function Home() {
|
||||
const posts = getAllPosts();
|
||||
const latestPost = posts[0];
|
||||
const latestPostHref = latestPost ? `/blog/${latestPost.slug}` : '/blog';
|
||||
return (
|
||||
<div className="min-h-screen flex flex-col items-center p-8 sm:p-20 relative overflow-hidden bg-zinc-50 dark:bg-zinc-950 text-zinc-900 dark:text-zinc-50 font-sans">
|
||||
|
||||
@@ -47,7 +51,7 @@ export default function Home() {
|
||||
<a href="https://x.com/thekolliakshay" target="_blank" rel="noopener noreferrer" className="text-zinc-600 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-100 transition-colors">
|
||||
Twitter
|
||||
</a>
|
||||
<a href="https://linkedin.com" target="_blank" rel="noopener noreferrer" className="text-zinc-600 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-100 transition-colors">
|
||||
<a href="https://www.linkedin.com/in/akshay-kolli-/" target="_blank" rel="noopener noreferrer" className="text-zinc-600 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-100 transition-colors">
|
||||
LinkedIn
|
||||
</a>
|
||||
</div>
|
||||
@@ -57,7 +61,7 @@ export default function Home() {
|
||||
<div className="pt-2 animate-slide-up" style={{ animationDelay: '0.5s' }}>
|
||||
<p className="text-sm text-zinc-400 dark:text-zinc-500 font-mono">
|
||||
<span className="text-zinc-900 dark:text-zinc-100 mr-2">Currently:</span>
|
||||
Writing about deep learning happenings <a href="/blog/testing-layout" className="text-zinc-600 dark:text-zinc-400 underline decoration-zinc-300 dark:decoration-zinc-700 hover:text-zinc-900 dark:hover:text-zinc-100">Read latest →</a>
|
||||
Writing about deep learning happenings <a href={latestPostHref} className="text-zinc-600 dark:text-zinc-400 underline decoration-zinc-300 dark:decoration-zinc-700 hover:text-zinc-900 dark:hover:text-zinc-100">Read latest →</a>
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
@@ -65,13 +69,7 @@ export default function Home() {
|
||||
{/* Right Column: Photo */}
|
||||
<div className="order-1 md:order-2 flex justify-center md:justify-end animate-slide-up" style={{ animationDelay: '0.2s' }}>
|
||||
<div className="relative w-64 h-64 sm:w-80 sm:h-80 rounded-2xl overflow-hidden bg-zinc-100 dark:bg-zinc-900 shadow-2xl transition-transform duration-500 ease-out">
|
||||
{/* UNCOMMENT AFTER ADDING public/profile.jpg */}
|
||||
<Image src="/profile.jpeg" alt="Akshay Kolli" fill className="object-cover" priority />
|
||||
|
||||
{/* Placeholder */}
|
||||
{/* <div className="absolute inset-0 flex items-center justify-center text-zinc-300 dark:text-zinc-700 border-2 border-dashed border-zinc-200 dark:border-zinc-800 m-2 rounded-xl">
|
||||
<span className="font-mono text-sm">profile.jpg</span>
|
||||
</div> */}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user