Skip to content

Commit

Permalink
feat: add featured links page and remove twitter from nav
Browse files Browse the repository at this point in the history
  • Loading branch information
while-basic committed Dec 2, 2024
1 parent 60bbc4b commit ccea121
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 8 deletions.
56 changes: 56 additions & 0 deletions app/links/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
import { Metadata } from "next"
import { PageLayout } from "@/components/page-layout";
import { Card } from "@/components/ui/card";
import { ExternalLink } from "lucide-react";
import Link from "next/link";

export const metadata: Metadata = {
title: "Featured Links | Christopher Celaya",
description: "A collection of featured miscellaneous projects, urls, and resources by Christopher Celaya. Some projects contain code I did not create.",
}

const links = [
{
title: "Modified Vercel AI Chat",
description: "A modified version of Vercel AI Chat",
url: "https://ai-chat-one-omega.vercel.app",
},
{
title: "Project Beta",
description: "Cutting-edge machine learning solutions",
url: "https://example.com/project-beta",
},
// Add more links as needed
];

export default function LinksPage() {
return (
<PageLayout>
<div className="container mx-auto px-4 py-8 max-w-3xl">
<div className="mb-8 text-center">
<h1 className="text-4xl font-bold mb-4">Featured Links</h1>
<p className="text-xl text-muted-foreground">
A curated collection of my projects and resources
</p>
</div>

<div className="space-y-4">
{links.map((link, index) => (
<Card key={index} className="p-6 hover:bg-accent/50 transition-colors">
<Link href={link.url} target="_blank" rel="noopener noreferrer"
className="flex items-start justify-between group">
<div>
<h2 className="text-xl font-semibold mb-2 group-hover:text-primary">
{link.title}
</h2>
<p className="text-muted-foreground">{link.description}</p>
</div>
<ExternalLink className="w-5 h-5 mt-1 text-muted-foreground group-hover:text-primary" />
</Link>
</Card>
))}
</div>
</div>
</PageLayout>
);
}
2 changes: 1 addition & 1 deletion app/resume/resume-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function ResumeContent() {
</a>
</Button>
<Button variant="outline" size="sm" asChild>
<a href="https://github.com/christophercelaya" target="_blank" rel="noopener noreferrer">
<a href="https://github.com/while-basic" target="_blank" rel="noopener noreferrer">
<Github className="mr-2 h-4 w-4" />
GitHub
</a>
Expand Down
12 changes: 6 additions & 6 deletions components/nav-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ export function NavDropdown() {
href: 'https://linkedin.com/in/christophercelaya',
internal: false
},
{
icon: <Twitter className="w-4 h-4" />,
label: 'Twitter',
href: 'https://twitter.com/christophercelaya',
internal: false
},
{
icon: <FileText className="w-4 h-4" />,
label: 'Resume',
href: '/resume.pdf',
internal: true
},
{
icon: <BookOpen className="w-4 h-4" />,
label: 'Featured Links',
href: '/links',
internal: true
}
];

return (
Expand Down
2 changes: 1 addition & 1 deletion data/visitor-count.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"count":8}
{"count":9}

0 comments on commit ccea121

Please sign in to comment.