Skip to content

Commit edabc00

Browse files
committed
fix(SplashViz): adjust spacing from navbar using section padding
1 parent d020742 commit edabc00

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/components/SplashViz/SplashViz.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import HomeSVG from "./SplashVizSVG.mjs";
1414
export default class SplashViz extends Component {
1515
render() {
1616
return (
17-
<section className="relative grid grid-rows-[auto_1fr] overflow-hidden pt-24 pb-16 px-4 min-h-[40rem] h-[clamp(35rem,100vh-80px,45rem)] bg-[#2b3a42] dark:bg-gray-900 md:h-[clamp(30rem,100vh-80px,35rem)] sm:min-h-[clamp(40rem,100vh-80px,50rem)]">
17+
<section className="relative grid grid-rows-[auto_1fr] overflow-hidden pt-32 pb-16 px-4 min-h-[40rem] h-[clamp(35rem,100vh-80px,45rem)] bg-[#2b3a42] dark:bg-gray-900 md:h-[clamp(30rem,100vh-80px,35rem)] sm:min-h-[clamp(40rem,100vh-80px,50rem)]">
1818
<h1
19-
className="text-white text-center font-light mt-20 text-4xl md:text-5xl"
19+
className="text-white text-center font-light text-4xl md:text-5xl"
2020
style={{ gridRow: "1/2" }}
2121
>
2222
<span> bundle your</span>
@@ -27,11 +27,13 @@ export default class SplashViz extends Component {
2727
<span> styles </span>
2828
</TextRotator>
2929
</h1>
30+
3031
<div
3132
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"
3233
style={{ gridRow: "2/3" }}
3334
dangerouslySetInnerHTML={{ __html: HomeSVG.body }}
3435
></div>
36+
3537
<Cube
3638
className="absolute left-0 right-0 top-0 bottom-0 m-auto z-10"
3739
depth={120}

0 commit comments

Comments
 (0)