Skip to content

Commit

Permalink
Remove project pages for now
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel-ping committed Dec 30, 2023
1 parent f97b409 commit 802fff1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/projects/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default async function Page() {
dates={project.details.dates}
gist={project.details.gist}
tags={project.details.tags}
repo={project.details.repo}
/>
);
})}
Expand Down
9 changes: 7 additions & 2 deletions components/projectCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@ import Link from 'next/link';
import Chip from '@/components/chip';
import { RightArrowIcon as Arrow } from '@/components/icons';

const ProjectCard = ({ title, dates, gist, tags }) => {
const ProjectCard = ({ repo, title, dates, gist, tags }) => {
return (
<Link href={`projects/${title.replaceAll(' ', '-')}`}>
<Link
// href={`projects/${title.replaceAll(' ', '-')}`}
href={repo}
target="_blank"
rel="noopener"
>
<button
type="button"
className="snap-start md:snap-none group w-64 h-80 flex flex-col justify-between p-7 rounded-xl shadow-lg transition-colors bg-green-50 hover:bg-green-500"
Expand Down
1 change: 1 addition & 0 deletions components/projectCardCarousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const ProjectCardCarousel = ({ projects }) => {
dates={project.details.dates}
gist={project.details.gist}
tags={project.details.tags}
repo={project.details.repo}
/>
);
})}
Expand Down

0 comments on commit 802fff1

Please sign in to comment.