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
12 changes: 5 additions & 7 deletions src/components/Splash/Splash.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import Container from "../Container/Container.jsx";
import Markdown from "../Markdown/Markdown.jsx";
import { PlaceholderComponent } from "../Placeholder/Placeholder.jsx";
import SplashViz from "../SplashViz/SplashViz.jsx";
// Load Styling
import "./Splash.scss";

const Support = lazy(() => import("../Support/Support.jsx"));

Expand Down Expand Up @@ -46,19 +44,19 @@ const Splash = () => {
() => false,
);
return (
<div className="splash">
<div className="relative overflow-hidden [&_h1]:justify-center [&_h2]:justify-center">
<SplashViz />

<div className="splash__section splash__section--dark page__content">
<Container>
<div className="relative text-center bg-[#f3f3f3] dark:bg-[#202020] page__content [&_p]:my-[1em]! [&_p]:mx-auto! [&_p]:max-w-200 [&_pre]:text-left [&_.icon-link]:hidden">
<Container className="py-[1em] px-[1em] md:px-[1.5em]">
<Markdown>
<SplashContent />
</Markdown>
</Container>
</div>

<div className="splash__section page__content">
<Container>
<div className="relative text-center page__content [&_p]:my-[1em]! [&_p]:mx-auto! [&_p]:max-w-200 [&_pre]:text-left [&_.icon-link]:hidden">
<Container className="py-[5em] px-[1em] md:px-[1.5em]">
<Markdown>
<h1 id="sponsors">Support the Team</h1>

Expand Down
86 changes: 0 additions & 86 deletions src/components/Splash/Splash.scss

This file was deleted.

20 changes: 20 additions & 0 deletions src/styles/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,23 @@
.animation-timeline-scroll {
animation-timeline: scroll(root block);
}

/* splash layout */
.splash__wrap {
@apply block md:-mx-7.5 before:content-[''] before:table after:content-[''] after:table after:clear-both;
}
.splash__install {
@apply max-w-100 m-auto;
}
.splash__left {
@apply w-full float-left md:w-1/2 md:px-3.75;
}
.splash__left p {
@apply text-left;
}
.splash__right {
@apply w-full float-left md:w-1/2 md:px-3.75 mb-[1em];
}
.splash__right p {
@apply text-left;
}
Loading