chore: format codebase and move SectionAccordion to entities/Section
This commit is contained in:
@@ -1,28 +1,28 @@
|
||||
import { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, Button } from '$shared/ui'
|
||||
import { cn } from '$shared/lib'
|
||||
import { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, Button } from '$shared/ui';
|
||||
import { cn } from '$shared/lib';
|
||||
|
||||
type Props = {
|
||||
/**
|
||||
* Project name
|
||||
*/
|
||||
title: string
|
||||
title: string;
|
||||
/**
|
||||
* Year the project was completed
|
||||
*/
|
||||
year: string
|
||||
year: string;
|
||||
/**
|
||||
* Short project description
|
||||
*/
|
||||
description: string
|
||||
description: string;
|
||||
/**
|
||||
* Technology or category tags
|
||||
*/
|
||||
tags: string[]
|
||||
tags: string[];
|
||||
/**
|
||||
* Optional preview image URL
|
||||
*/
|
||||
imageUrl?: string
|
||||
}
|
||||
imageUrl?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Compact project card for grid/list display.
|
||||
@@ -61,8 +61,10 @@ export function ProjectCard({ title, year, description, tags, imageUrl }: Props)
|
||||
</CardContent>
|
||||
|
||||
<CardFooter>
|
||||
<Button variant="primary" className="w-full">View Project</Button>
|
||||
<Button variant="primary" className="w-full">
|
||||
View Project
|
||||
</Button>
|
||||
</CardFooter>
|
||||
</Card>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user