Skip to content

Commit 6f1220e

Browse files
committed
fix(SplashViz): refine heading structure and spacing for improved readability
1 parent 96fb1f1 commit 6f1220e

1 file changed

Lines changed: 8 additions & 12 deletions

File tree

src/components/SplashViz/SplashViz.jsx

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,15 @@ export default class SplashViz extends Component {
1515
render() {
1616
return (
1717
<section className="relative grid grid-rows-[auto_1fr] overflow-hidden p-4 pb-16 bg-[#2b3a42] dark:bg-gray-900 h-[clamp(35rem,calc(100vh-80px),45rem)] md:h-[clamp(30rem,calc(100vh-80px),35rem)] sm:min-h-[clamp(40rem,calc(100vh-80px),50rem)]">
18-
<h1
19-
className="text-white text-center font-light text-[30px] md:text-[40px] mt-[80px] md:mt-[90px]"
20-
style={{ gridRow: "1/2" }}
21-
>
22-
<span> bundle your</span>
23-
<TextRotator delay={5000} repeatDelay={5000} maxWidth={110}>
24-
<span> assets </span>
25-
<span> scripts </span>
26-
<span> images </span>
27-
<span> styles </span>
28-
</TextRotator>
18+
<h1 className="text-white text-center font-light font-sans text-[30px] md:text-[40px] mt-[80px] md:mt-[90px] leading-[36px] md:leading-[48px]">
19+
<span> bundle your </span>
20+
<TextRotater delay={2000}>
21+
<span>assets</span>
22+
<span>scripts</span>
23+
<span>images</span>
24+
<span>styles</span>
25+
</TextRotater>
2926
</h1>
30-
3127
<div
3228
className="absolute top-1/2 left-1/2 w-[60vw] min-w-[550px] max-w-[768px] -translate-x-1/2 -translate-y-1/2 hidden md:block"
3329
style={{ gridRow: "2/3" }}

0 commit comments

Comments
 (0)