Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions src/components/SplashViz/SplashViz.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,11 @@ import Cube from "../Cube/Cube.jsx";
import TextRotator from "../TextRotater/TextRotater.jsx";
import HomeSVG from "./SplashVizSVG.mjs";

// Load Styling
import "./SplashViz.scss";

export default class SplashViz extends Component {
render() {
return (
<section className="splash-viz dark:bg-gray-900!">
<h1 className="splash-viz__heading">
<section className="relative h-[clamp(35rem,calc(100vh-80px),45rem)] bg-blue-800 grid grid-rows-[auto_1fr] overflow-hidden p-4 max-lg:h-[clamp(30rem,calc(100vh-80px),35rem)] max-[425px]:min-h-[clamp(40rem,calc(100vh-80px),50rem)] dark:bg-gray-900!">
<h1 className="flex flex-wrap items-center justify-center text-white text-[33.178px] md:text-[39.813px] text-center font-[200] mt-[80px] md:mt-[90px] row-start-1 row-end-2">
<span> bundle your</span>
<TextRotator delay={5000} repeatDelay={5000} maxWidth={110}>
<span> assets </span>
Expand All @@ -25,11 +22,11 @@ export default class SplashViz extends Component {
</TextRotator>
</h1>
<div
className="splash-viz__modules"
className="absolute top-1/2 left-1/2 w-[60vw] min-w-[550px] max-w-[768px] mx-auto -translate-x-1/2 -translate-y-1/2 hidden md:block row-start-2 row-end-3 [&_img]:pt-4 [&_img]:w-full [&_img]:h-full"
dangerouslySetInnerHTML={{ __html: HomeSVG.body }}
></div>
<Cube
className="splash-viz__cube"
className="absolute inset-0 m-auto z-[1] row-start-2 row-end-3"
depth={120}
repeatDelay={5000}
continuous
Expand Down
74 changes: 0 additions & 74 deletions src/components/SplashViz/SplashViz.scss

This file was deleted.

Loading