mirror of
https://github.com/BartoszJarocki/cv.git
synced 2024-11-23 04:19:23 +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>
|
<h2 className="text-xl font-bold">Skills</h2>
|
||||||
<div className="flex flex-wrap gap-1">
|
<div className="flex flex-wrap gap-1">
|
||||||
{RESUME_DATA.skills.map((skill) => {
|
{RESUME_DATA.skills.map((skill) => {
|
||||||
return <Badge key={skill}>{skill}</Badge>;
|
return (
|
||||||
|
<Badge
|
||||||
|
key={skill}
|
||||||
|
className=" print:text-primary print:underline"
|
||||||
|
>
|
||||||
|
{skill}
|
||||||
|
</Badge>
|
||||||
|
);
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
</Section>
|
</Section>
|
||||||
|
@ -9,7 +9,7 @@ const badgeVariants = cva(
|
|||||||
variants: {
|
variants: {
|
||||||
variant: {
|
variant: {
|
||||||
default:
|
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:
|
secondary:
|
||||||
"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/60",
|
"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/60",
|
||||||
destructive:
|
destructive:
|
||||||
|
Loading…
Reference in New Issue
Block a user