diff --git a/src/components/SplashViz/SplashViz.jsx b/src/components/SplashViz/SplashViz.jsx index 5427b5602f1b..1fbd3d1c9063 100644 --- a/src/components/SplashViz/SplashViz.jsx +++ b/src/components/SplashViz/SplashViz.jsx @@ -5,35 +5,40 @@ import { Component } from "react"; // Import Components import Cube from "../Cube/Cube.jsx"; -import TextRotator from "../TextRotater/TextRotater.jsx"; +import TextRotater from "../TextRotater/TextRotater.jsx"; import HomeSVG from "./SplashVizSVG.mjs"; // Load Styling -import "./SplashViz.scss"; +// Tailwind CSS is now used for styling. Custom SCSS removed. export default class SplashViz extends Component { render() { return ( -
-

+
+ {/* TOP TEXT */} +

bundle your - - assets - scripts - images - styles - + + + assets + scripts + images + styles + +

-
- + + {/* CENTER GRAPHIC */} +
+
+ + +
); } diff --git a/src/components/SplashViz/SplashViz.scss b/src/components/SplashViz/SplashViz.scss deleted file mode 100644 index 2708b9605984..000000000000 --- a/src/components/SplashViz/SplashViz.scss +++ /dev/null @@ -1,74 +0,0 @@ -@use "../../styles/partials/functions" as *; -@use "../../styles/partials/vars" as *; -@use "../../styles/partials/mixins" as *; -@use "sass:map"; - -.splash-viz { - position: relative; - height: clamp(35rem, calc(100vh - 80px), 45rem); - background: getColor(elephant); - display: grid; - grid-template-rows: auto 1fr; - overflow: hidden; - padding-bottom: 4rem; - padding: 1rem; - - &__heading { - color: getColor(white); - font-size: getFontSize(4); - text-align: center; - font-weight: 200; - margin-top: 80px; - - grid-row: 1/2; - @include break { - font-size: getFontSize(5); - margin-top: 90px; - } - } - - &__modules { - position: absolute; - top: 50%; - left: 50%; - width: 60vw; - min-width: 550px; - max-width: map.get($screens, medium); - margin: 0 auto; - transform: translate(-50%, -50%); - display: none; - grid-row: 2/3; - @include break { - display: block; - } - - img { - padding-top: 1rem; - width: 100%; - height: 100%; - } - } - - &__cube { - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - margin: auto; - z-index: 1; - grid-row: 2/3; - } -} - -@media (max-width: 1024px) { - .splash-viz { - height: clamp(30rem, calc(100vh - 80px), 35rem); - } -} - -@media (max-width: 425px) { - .splash-viz { - min-height: clamp(40rem, calc(100vh - 80px), 50rem); - } -}