Skip to content

Commit 1967cb2

Browse files
committed
.
1 parent 357e544 commit 1967cb2

File tree

1 file changed

+15
-24
lines changed
  • app/(default)/(page)/publications

1 file changed

+15
-24
lines changed

app/(default)/(page)/publications/page.tsx

Lines changed: 15 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -114,27 +114,23 @@ export default function Home() {
114114
</Link>
115115
)
116116
}
117-
<div className="flex gap-3 flex-wrap">
118-
{
119-
publication.icon.map((link) => (
120-
link.type != 'github' &&
121-
<Link href={link.link} target={link.link.startsWith('http') ? '_blank' : '_self'} key={link.type} className="size-4 md:size-5 group/icon">
122-
<AspectRatio ratio={1/1}>
123-
<Image
124-
src={"/icon/" + link.type + ".svg"}
125-
alt={link.type}
126-
fill
127-
className="group-hover/icon:scale-125 transition delay-100 duration-200"
128-
/>
129-
</AspectRatio>
130-
</Link>
131-
))
132-
}
133-
</div>
117+
{
118+
publication.icon.map((link) => (
119+
link.type != 'github' &&
120+
<Link href={link.link} target={link.link.startsWith('http') ? '_blank' : '_self'} key={link.type} className="size-4 md:size-5 group/icon">
121+
<AspectRatio ratio={1/1}>
122+
<Image
123+
src={"/icon/" + link.type + ".svg"}
124+
alt={link.type}
125+
fill
126+
className="group-hover/icon:scale-125 transition delay-100 duration-200"
127+
/>
128+
</AspectRatio>
129+
</Link>
130+
))
131+
}
134132
</div>
135133

136-
137-
138134
<i className="text-sm text-o-gray">
139135
{publication.description}
140136
</i>
@@ -150,16 +146,11 @@ export default function Home() {
150146

151147

152148

153-
154149
</div>
155150
))}
156151

157152

158153

159-
160-
161-
162-
163154
</div>
164155
)
165156
}

0 commit comments

Comments
 (0)