Skip to content

Commit 884487f

Browse files
committed
refactor(SplashViz): remove clsx and revert to standard
1 parent 655d10f commit 884487f

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/components/SplashViz/SplashViz.jsx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// Import External Dependencies
2-
import { clsx } from "clsx";
32
import { Component } from "react";
43

54
// Load Images
@@ -15,15 +14,7 @@ import HomeSVG from "./SplashVizSVG.mjs";
1514
export default class SplashViz extends Component {
1615
render() {
1716
return (
18-
<section
19-
className={clsx(
20-
"relative grid grid-rows-[auto_1fr] overflow-hidden p-4 pb-16",
21-
"bg-[#2b3a42] dark:bg-gray-900",
22-
"h-[clamp(35rem,calc(100vh-80px),45rem)]",
23-
"md:h-[clamp(30rem,calc(100vh-80px),35rem)]",
24-
"sm:min-h-[clamp(40rem,calc(100vh-80px),50rem)]",
25-
)}
26-
>
17+
<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)]">
2718
<h1 className="text-white text-center font-normal font-[Source_Sans_Pro] text-[30px] md:text-[40px] mt-[80px] md:mt-[90px] leading-[36px] md:leading-[48px] tracking-[0]">
2819
<span>bundle your</span>
2920
<span className="inline-block w-[120px] text-left">

0 commit comments

Comments
 (0)