Skip to content

Commit c30c4e2

Browse files
authored
Feat(frontend-main): improve line breaks in hero heading using block/inline and whitespace-nowrap (#112)
1 parent f17c6f7 commit c30c4e2

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

frontend/spectrackr-main/app/page.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,17 @@ function HomePage() {
7878
transition={{ duration: 0.7 }}
7979
className="max-w-4xl mx-auto text-center"
8080
>
81-
<h2 className="text-4xl md:text-5xl lg:text-6xl font-bold mb-6 leading-tight">
82-
의생명융합공학부 학생들의{" "}
83-
<span className="bg-gradient-to-r from-cyan-400 to-blue-500 bg-clip-text text-transparent">
81+
<h2 className="text-4xl md:text-5xl lg:text-6xl font-bold mb-6 leading-tight">
82+
의생명융합공학부{" "}
83+
<span className="block md:inline">
84+
학생들의{" "}
85+
<span className="bg-gradient-to-r from-cyan-400 to-blue-500 bg-clip-text text-transparent whitespace-nowrap">
8486
진로 탐색
8587
</span>
86-
을 위한 플랫폼
87-
</h2>
88+
</span>{" "}
89+
을 위한 플랫폼
90+
</h2>
91+
8892

8993
<p className="text-lg md:text-xl text-slate-600 dark:text-slate-300 mb-8 max-w-3xl mx-auto">
9094
다양한 분야로의 진출 가능성을 연결하고, 채용 정보와 직무별 필수 역량을 한눈에 볼 수 있도록 지원합니다.

0 commit comments

Comments
 (0)