Skip to content

Commit 6dfb22a

Browse files
Refactor SplashViz component structure and formatting
1 parent 12b2e9c commit 6dfb22a

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

src/components/SplashViz/SplashViz.jsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,10 @@ import HomeSVG from "./SplashVizSVG.mjs";
1212
export default class SplashViz extends Component {
1313
render() {
1414
return (
15-
<section className="splash-viz relative grid grid-rows-[auto_1fr] overflow-hidden p-4 pb-16 bg-[#2b3a42] dark:bg-gray-900!
16-
h-[clamp(35rem,calc(100vh-80px),45rem)]
17-
max-lg:h-[clamp(30rem,calc(100vh-80px),35rem)]
18-
max-[425px]:min-h-[clamp(40rem,calc(100vh-80px),50rem)]">
19-
20-
<h1 className="splash-viz__heading mt-[80px] row-start-1 row-end-2 text-center font-extralight text-white
21-
text-[2rem] lg:text-[2.5rem] lg:mt-[90px]">
15+
<section
16+
className="splash-viz relative grid grid-rows-[auto_1fr] overflow-hidden p-4 pb-16 bg-[#2b3a42] h-[clamp(35rem,calc(100vh-80px),45rem)] max-lg:h-[clamp(30rem,calc(100vh-80px),35rem)] max-[425px]:min-h-[clamp(40rem,calc(100vh-80px),50rem)] dark:bg-gray-900!"
17+
>
18+
<h1 className="splash-viz__heading mt-[80px] row-start-1 row-end-2 text-center font-extralight text-white text-[2rem] lg:text-[2.5rem] lg:mt-[90px]">
2219
<span> bundle your</span>
2320
<TextRotator delay={5000} repeatDelay={5000} maxWidth={110}>
2421
<span> assets </span>

0 commit comments

Comments
 (0)