Skip to content

Commit 3cd3c3b

Browse files
committed
Update keynoters style.
1 parent 8616941 commit 3cd3c3b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/components/keynoters/keynoter.astro

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,10 @@ const placeholders = [Person1, Person2, Person3, Person4, Person5];
3232
const Placeholder =
3333
placeholders[Math.floor(Math.random() * placeholders.length)];
3434
35-
const link = placeholder ? "":"`/speaker/${slug}`"
3635
---
3736

3837
<li class:list={["list-none rounded-2xl overflow-clip flex group", className]}>
39-
<a class="block w-full h-full relative ${clicable}" href={link}>
38+
<a class="block w-full h-full relative " href={`/speaker/${slug}`}>
4039
<div class="relative aspect-[9/10] overflow-clip">
4140
{
4241
image ? (
@@ -47,24 +46,24 @@ const link = placeholder ? "":"`/speaker/${slug}`"
4746
class="object-cover group-hover:scale-105 transition-transform h-full w-full"
4847
/>
4948
) : (
50-
<div class="bg-keynoter-info w-full h-full group-hover:opacity-100 opacity-80">
49+
<div class="bg-keynoter-info w-full h-full">
5150
<Placeholder />
5251
</div>
5352
)
5453
}
5554
</div>
5655

5756
<div
58-
class="px-5 py-2 pb-4 bg-keynoter-info rounded-t-none h-full group-hover:opacity-100 opacity-80"
57+
class="px-5 py-2 pb-4 bg-keynoter-info rounded-t-none h-full "
5958
>
6059
{
6160
placeholder ? (
62-
<p class="text-body-inverted font-bold ">More keynoters coming soon</p>
61+
<p class="text-body-inverted ">More keynoters coming soon</p>
6362
) : (
6463
<>
65-
<p class="text-body-inverted font-bold">{name}</p>
64+
<p class="text-[#17223A] font-bold">{name}</p>
6665
{tagline ? (
67-
<p class="text-body-light font-bold text-lg italic">{tagline}</p>
66+
<p class="text-secondary-hover text-lg italic">{tagline}</p>
6867
) : null}
6968
</>
7069
)

0 commit comments

Comments
 (0)