Skip to content

Commit 5e144e8

Browse files
committed
Fixed bibtex linebreak issue on Safari. Applied Google font.
1 parent 01dd876 commit 5e144e8

File tree

7 files changed

+2333
-118
lines changed

7 files changed

+2333
-118
lines changed

app/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function App() {
1212
<div>
1313
<div className="font-bold text-lg text-[#ff9164] mb-3">ACM CHI 2024 Paper</div>
1414
<div className="text-4xl mb-2 font-bold text-[#f45e9b]">ChaCha</div>
15-
<div className="font-light leading-[2.5rem] text-3xl">Leveraging <strong>Large Language Models</strong> to Prompt <strong>Children</strong> to Share Their <strong>Emotions</strong> about <strong>Personal Events</strong></div>
15+
<div className="font-light leading-8 sm:leading-[2.5rem] text-2xl sm:text-3xl">Leveraging <strong>Large Language Models</strong> to Prompt <strong>Children</strong> to Share Their <strong>Emotions</strong> about <strong>Personal Events</strong></div>
1616
</div>
1717
<div className="flex flex-col items-center md:flex-row md:items-start gap-12">
1818
<Mockup/>

app/sections/Cite.tsx

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import { Section } from "../components/Section"
22

3-
const bibTex = "@inproceedings{seo2024chacha,\n\
4-
author = {Seo, Woosuk and Yang, Chanmo and Kim, Young-Ho},\n\
5-
title = {ChaCha: Leveraging Large Language Models to Prompt Children to Share Their Emotions about Personal Events},\n\
6-
year = {2024},\n\
7-
doi = {10.1145/3613904.3642152},\n\
8-
publisher = {Association for Computing Machinery},\n\
9-
address = {New York, NY, USA},\n\
10-
booktitle = {Proceedings of the CHI Conference on Human Factors in Computing Systems},\n\
11-
location = {Honolulu, HI, USA},\n\
12-
series = {CHI'24}\n\
3+
const bibTex = "@inproceedings{seo2024chacha,<br/>\n\
4+
&emsp;&emsp;author = {Seo, Woosuk and Yang, Chanmo and Kim, Young-Ho},<br/>\n\
5+
&emsp;&emsp;title = {ChaCha: Leveraging Large Language Models to Prompt Children to Share Their Emotions about Personal Events},<br/>\n\
6+
&emsp;&emsp;year = {2024},<br/>\n\
7+
&emsp;&emsp;doi = {10.1145/3613904.3642152},<br/>\n\
8+
&emsp;&emsp;publisher = {Association for Computing Machinery},<br/>\n\
9+
&emsp;&emsp;address = {New York, NY, USA},<br/>\n\
10+
&emsp;&emsp;booktitle = {Proceedings of the CHI Conference on Human Factors in Computing Systems},<br/>\n\
11+
&emsp;&emsp;location = {Honolulu, HI, USA},<br/>\n\
12+
&emsp;&emsp;series = {CHI'24}<br/>\n\
1313
}"
1414

1515
export const Cite = () => {
@@ -21,7 +21,7 @@ export const Cite = () => {
2121
</div>
2222
<div className="mt-4">
2323
<div className="font-bold mb-1">BibTeX</div>
24-
<pre className={"p-3 font-mono text-xs sm:text-sm border-[1px] rounded-lg border-slate-300 decoration-none break-words text-wrap"}>{bibTex}</pre>
24+
<p className={"p-3 font-mono text-xs sm:text-sm border-[1px] rounded-lg border-slate-300 decoration-none"} dangerouslySetInnerHTML={{__html: bibTex}}/>
2525
</div>
2626

2727
</Section>

app/sections/Members.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const Members = () => {
6464
})
6565
}
6666
</div>
67-
<div className="mt-8 flex items-center gap-6">
67+
<div className="mt-8 flex items-center gap-6 gap-y-8 flex-wrap">
6868
<img className="w-[200px]" alt="NAVER logo" src={require("../../public/images/logos/ai_lab_logo_vertical.png")} width={1728} height={552}/>
6969
<a href="https://www.si.umich.edu/" target="_blank"><img className="w-20" alt="UMSI logo" src={require("../../public/images/logos/umsi-logo.svg")}/></a>
7070
<a href="https://global.wkuh.org/" target="_blank"><img className="w-[250px]" alt="Wonkwang logo" src={require("../../public/images/logos/wonkwang-logo.svg")}/></a>

index.css

+9
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,18 @@ body {
2828
}
2929

3030
@layer base{
31+
body {
32+
@apply font-Nunito;
33+
}
34+
3135
p {
3236
@apply text-lg font-light;
3337
}
38+
39+
pre {
40+
overflow-wrap: break-word;
41+
word-break: break-word;
42+
}
3443
}
3544

3645
@layer components {

index.html

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<link rel="preconnect" href="https://fonts.googleapis.com">
7+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
8+
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,[email protected],300;6..12,400;6..12,600;6..12,700&display=swap" rel="stylesheet">
69
<link href="./index.css" rel="stylesheet">
710
<link rel="icon" href="./app/favicon.ico" />
811
<title>ChaCha - Chatbot for Children's Events and Emotion Sharing</title>

0 commit comments

Comments
 (0)