mirror of
https://github.com/BartoszJarocki/cv.git
synced 2024-11-22 11:35:12 +03:00
move print styles to Badge component
This commit is contained in:
parent
7e04782e2f
commit
9eb6fe1363
@ -162,7 +162,14 @@ export default function Page() {
|
||||
<h2 className="text-xl font-bold">Skills</h2>
|
||||
<div className="flex flex-wrap gap-1">
|
||||
{RESUME_DATA.skills.map((skill) => {
|
||||
return <Badge key={skill}>{skill}</Badge>;
|
||||
return (
|
||||
<Badge
|
||||
key={skill}
|
||||
className=" print:text-primary print:underline"
|
||||
>
|
||||
{skill}
|
||||
</Badge>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</Section>
|
||||
|
@ -9,7 +9,7 @@ const badgeVariants = cva(
|
||||
variants: {
|
||||
variant: {
|
||||
default:
|
||||
"border-transparent bg-primary/80 text-primary-foreground hover:bg-primary/60 print:text-primary print:underline",
|
||||
"border-transparent bg-primary/80 text-primary-foreground hover:bg-primary/60",
|
||||
secondary:
|
||||
"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/60",
|
||||
destructive:
|
||||
|
Loading…
Reference in New Issue
Block a user