Skip to content

Commit

Permalink
feat(projects): use project-card for all projects and remove project-…
Browse files Browse the repository at this point in the history
…info component
  • Loading branch information
mateusfg7 authored Mar 27, 2024
1 parent 0a15d70 commit ee93fa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 63 deletions.
59 changes: 0 additions & 59 deletions src/app/projects/_components/project-info.tsx

This file was deleted.

6 changes: 2 additions & 4 deletions src/app/projects/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import { ArrowUpRight } from '@phosphor-icons/react/dist/ssr'
import { projects } from '#content'

import { Title } from '~/components/title'

import { ProjectCard } from './_components/project-card'
import { ProjectInfo } from './_components/project-info'

export default function Page() {
const featuredProjects = projects
Expand All @@ -30,10 +28,10 @@ export default function Page() {
<ProjectCard data={project} key={project.slug} />
))}
</div>
<div className="space-y-6">
<div className="grid grid-cols-2 gap-3 md:grid-cols-3">
{otherProjectsWithoutImage.length > 0 &&
otherProjectsWithoutImage.map(project => (
<ProjectInfo data={project} key={project.slug} />
<ProjectCard data={project} variant="compact" key={project.slug} />
))}
</div>
<div className="flex justify-center md:justify-end">
Expand Down

0 comments on commit ee93fa7

Please sign in to comment.