Spaces:
Running
Running
gpt-engineer-app[bot]
commited on
Commit
·
6985001
1
Parent(s):
07ed8c2
Improve conference card links
Browse filesMake conference titles clickable instead of using separate "Website →" links to improve layout.
src/components/ConferenceCard.tsx
CHANGED
@@ -31,19 +31,20 @@ const ConferenceCard = ({
|
|
31 |
<div className="conference-card">
|
32 |
<div className="flex justify-between items-start mb-4">
|
33 |
<div>
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
{full_name && <p className="text-sm text-neutral-600">{full_name}</p>}
|
36 |
</div>
|
37 |
-
{link && (
|
38 |
-
<a
|
39 |
-
href={link}
|
40 |
-
target="_blank"
|
41 |
-
rel="noopener noreferrer"
|
42 |
-
className="text-primary hover:underline text-sm"
|
43 |
-
>
|
44 |
-
Website →
|
45 |
-
</a>
|
46 |
-
)}
|
47 |
</div>
|
48 |
|
49 |
<div className="space-y-2 mb-4">
|
|
|
31 |
<div className="conference-card">
|
32 |
<div className="flex justify-between items-start mb-4">
|
33 |
<div>
|
34 |
+
{link ? (
|
35 |
+
<a
|
36 |
+
href={link}
|
37 |
+
target="_blank"
|
38 |
+
rel="noopener noreferrer"
|
39 |
+
className="hover:underline"
|
40 |
+
>
|
41 |
+
<h3 className="text-xl font-semibold text-primary">{title}</h3>
|
42 |
+
</a>
|
43 |
+
) : (
|
44 |
+
<h3 className="text-xl font-semibold">{title}</h3>
|
45 |
+
)}
|
46 |
{full_name && <p className="text-sm text-neutral-600">{full_name}</p>}
|
47 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
</div>
|
49 |
|
50 |
<div className="space-y-2 mb-4">
|