Skip to content

Commit fb802e3

Browse files
committed
More compelling font size in cards
1 parent dc2ec4d commit fb802e3

File tree

7 files changed

+63
-57
lines changed

7 files changed

+63
-57
lines changed

.astro/content-modules.mjs

Lines changed: 24 additions & 24 deletions
Large diffs are not rendered by default.

src/components/Card.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ if (imagePath) {
4444
/>
4545
)
4646
}
47-
<div class='flex flex-col gap-y-1.5'>
47+
<div class='flex flex-col gap-y-1.5 text-sm'>
4848
<div class='flex flex-col gap-y-0.5'>
49-
<h1 class='text-base font-semibold'>{heading}</h1>
49+
<h1 class='font-semibold'>{heading}</h1>
5050
<h2 class='text-muted-foreground'>{subheading}{date && ", " + date}</h2>
5151
</div>
5252
<slot />

src/components/News.astro

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ import FormattedDate from "./FormattedDate.astro";
44
const { news } = Astro.props;
55
---
66

7-
<li
8-
class='news flex flex-col sm:flex-row sm:gap-x-4 [&_a]:text-blue-600 dark:[&_a]:text-blue-300 [&_q]:basis-full'
9-
>
7+
<li class='news flex flex-col sm:flex-row sm:gap-x-4 [&_q]:basis-full'>
108
<FormattedDate class='min-w-[120px] font-bold' date={new Date(news.date)} />
119
<div set:html={news.post} />
1210
</li>

src/components/PublicationCard.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import PublicationLabel from "./PublicationLabel.astro";
44
const { pub } = Astro.props;
55
---
66

7-
<div class='relative border border-border bg-primary-foreground px-5 py-3'>
7+
<div class='relative border border-border bg-primary-foreground px-5 py-3 text-sm'>
88
<div class='flex flex-col gap-y-1.5'>
99
<div class='flex flex-col gap-y-0.5'>
10-
<div class='text-base font-semibold'>{pub.title}</div>
10+
<div class='font-semibold'>{pub.title}</div>
1111
<div
12-
class='text-muted-foreground'
12+
class='text-xs text-muted-foreground'
1313
set:html={pub.author
1414
.map((name: string) =>
1515
name.includes("Kristiadi")
@@ -25,7 +25,7 @@ const { pub } = Astro.props;
2525
pub.note && (
2626
<PublicationLabel
2727
title={pub.note}
28-
class='bg-red-400 text-slate-50 hover:bg-red-400 hover:text-slate-50'
28+
class='!hover:text-slate-50 bg-red-400 !text-slate-50 hover:bg-red-400'
2929
/>
3030
)
3131
}

src/components/Section.astro

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ import { cn } from "@/utils";
44
const { class: className, title } = Astro.props;
55
---
66

7-
<section class={cn(className, "flex flex-col gap-y-5 md:flex-row md:gap-y-0")}>
7+
<section
8+
class={cn(
9+
className,
10+
"flex flex-col gap-y-5 md:flex-row md:gap-y-0 [&_a]:text-blue-600 dark:[&_a]:text-blue-300",
11+
)}
12+
>
813
<div class='text-xl font-bold md:w-1/4'>
914
<h2>{title}</h2>
1015
</div>
11-
<div class='flex flex-col text-base gap-y-3 md:w-3/4'>
16+
<div class='flex flex-col gap-y-3 text-base md:w-3/4'>
1217
<slot />
1318
</div>
1419
</section>

src/pages/index.astro

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -157,16 +157,16 @@ const sortedNews = news
157157

158158
<Section title='About'>
159159
<p>
160-
Agustinus Kristiadi is an Assistant Professor in the Department of Computer
161-
Science at Western University in Canada. Previously, he was a Distinguished
162-
Postdoctoral Fellow at the Vector Institute and obtained his PhD from the
163-
University of Tuebingen in Germany. His research interests are in uncertainty
160+
Agustinus Kristiadi is an Assistant Professor in the <a
161+
href='https://csd.uwo.ca/'>Department of Computer Science</a
162+
> at <a href='https://uwo.ca'>Western University</a> in Canada. Previously, he was
163+
a Distinguished Postdoctoral Fellow at the Vector Institute and obtained his PhD
164+
from the University of Tuebingen in Germany. His research interests are in uncertainty
164165
quantification in machine learning, decision-making under uncertainty, and their
165-
applications in broader scientific fields such as chemistry. His work has been
166-
recognized in the form of a best PhD thesis award and multiple spotlight papers
167-
from flagship machine learning conferences. His service to the scientific
168-
society include mentoring underrepresented students and actively contributing to
169-
the open-source community.
166+
applications in broader scientific fields such as chemistry. His work has been recognized
167+
in the form of a best PhD thesis award and multiple spotlight papers from flagship
168+
machine learning conferences. His services to the scientific society include mentoring
169+
underrepresented students and actively contributing to the open-source community.
170170
</p>
171171
</Section>
172172

src/pages/publications/index.astro

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ const sortedPublications = publications.sort(sortPublicationFn);
1919

2020
<h1 class='mb-6 mt-5 text-2xl font-bold'>Publication List</h1>
2121

22-
<p>
22+
<p class='[&_a]:text-blue-600 dark:[&_a]:text-blue-300'>
2323
In the field of machine learning, publishing in conferences is the norm. Top
24-
conferences includes NeurIPS (prev. NIPS), ICML, ICLR, AISTATS, UAI, and others.
25-
They are peer-reviewed and highly competitive.
24+
conferences includes <a href='https://neurips.cc'>NeurIPS</a> (prev. NIPS), <a
25+
href='https://icml.cc'>ICML</a
26+
>, <a href='https://iclr.cc'>ICLR</a>, <a href='https://aistats.org'>AISTATS</a>, <a
27+
href='https://auai.org'>UAI</a
28+
>, and others. They are peer-reviewed and highly competitive.
2629
</p>
2730

2831
<br />
@@ -34,16 +37,6 @@ const sortedPublications = publications.sort(sortPublicationFn);
3437
of the paper.
3538
</p>
3639

37-
<Section title='Thesis' class='sm:pt-8'>
38-
<div class='flex flex-col gap-y-2 md:flex-row md:gap-x-5 md:gap-y-0'>
39-
<div class='w-full flex-wrap gap-x-4 gap-y-2'>
40-
<PublicationList
41-
publications={sortedPublications.filter((pub) => pub.type == "thesis")}
42-
/>
43-
</div>
44-
</div>
45-
</Section>
46-
4740
<Section title='Conference' class='pt-12'>
4841
<div class='flex flex-col gap-y-2 md:flex-row md:gap-x-5 md:gap-y-0'>
4942
<div class='w-full flex-wrap gap-x-4 gap-y-2'>
@@ -83,5 +76,15 @@ const sortedPublications = publications.sort(sortPublicationFn);
8376
</div>
8477
</div>
8578
</Section>
79+
80+
<Section title='Thesis' class='sm:pt-8'>
81+
<div class='flex flex-col gap-y-2 md:flex-row md:gap-x-5 md:gap-y-0'>
82+
<div class='w-full flex-wrap gap-x-4 gap-y-2'>
83+
<PublicationList
84+
publications={sortedPublications.filter((pub) => pub.type == "thesis")}
85+
/>
86+
</div>
87+
</div>
88+
</Section>
8689
</div>
8790
</PageLayout>

0 commit comments

Comments
 (0)