Skip to content

Commit 8b6a041

Browse files
committed
Replace emoji icons with minimal line markers in SubProjectCard
1 parent 54455ea commit 8b6a041

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

‎src/components/SubProjectCard.astro‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ interface Props {
77
tag?: 'free' | 'opensource' | 'pro';
88
}
99
10-
const { name, description, href, icon, tag } = Astro.props;
10+
const { name, description, href, tag } = Astro.props;
1111
---
1212

1313
<a href={href} target="_blank" rel="noopener" class="sub-project">
14-
<span class="icon">{icon}</span>
14+
<span class="sub-project-marker"></span>
1515
<div class="content">
1616
<span class="name">{name}</span>
1717
{tag && (
@@ -43,8 +43,10 @@ const { name, description, href, icon, tag } = Astro.props;
4343
transform: translateY(-1px);
4444
}
4545

46-
.icon {
47-
font-size: 1.25rem;
46+
.sub-project-marker {
47+
width: 1rem;
48+
height: 2px;
49+
background: var(--border-hover);
4850
flex-shrink: 0;
4951
}
5052

‎src/styles/global.css‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,14 @@ body {
190190
margin-bottom: 2rem;
191191
}
192192

193+
.feature-marker {
194+
display: block;
195+
width: 1.5rem;
196+
height: 2px;
197+
background: var(--border-hover);
198+
margin-bottom: 0.875rem;
199+
}
200+
193201
/* Tags */
194202
.tag {
195203
display: inline-block;

0 commit comments

Comments
 (0)