Skip to content

Commit a079c9f

Browse files
committed
fix: change hexagon clip name
1 parent 6400bc6 commit a079c9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/cards/course/CourseMaterial.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default function CourseMaterial({ title, description, link, level, learni
3131
<div className="flex flex-col w-full">
3232
<div className="flex items-center justify-between mb-6 flex-wrap gap-2">
3333
<div className="flex gap-2 items-center">
34-
<div className="h-5.5 w-5.5 rounded-sm clip-polygon" style={{ backgroundColor: colors?.primary }} />
34+
<div className="h-5.5 w-5.5 rounded-sm clip-hexagon" style={{ backgroundColor: colors?.primary }} />
3535
<span className="capitalize font-semibold text-[#4B5563] text-sm">COURSE</span>
3636
</div>
3737
<div className="flex items-center gap-2">

src/styles/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ button,
130130
.floating-input > input::placeholder {
131131
color: transparent;
132132
}
133-
.clip-polygon {
133+
.clip-hexagon {
134134
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
135135
}
136136

0 commit comments

Comments
 (0)