Skip to content

Commit 4130da2

Browse files
committed
refactor(Splash): migrate component from SCSS to TailwindCSS
1 parent 29288b2 commit 4130da2

File tree

2 files changed

+3
-91
lines changed

2 files changed

+3
-91
lines changed

src/components/Splash/Splash.jsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import Container from "../Container/Container.jsx";
66
import Markdown from "../Markdown/Markdown.jsx";
77
import { PlaceholderComponent } from "../Placeholder/Placeholder.jsx";
88
import SplashViz from "../SplashViz/SplashViz.jsx";
9-
// Load Styling
10-
import "./Splash.scss";
119

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

@@ -46,18 +44,18 @@ const Splash = () => {
4644
() => false,
4745
);
4846
return (
49-
<div className="splash">
47+
<div className="relative overflow-hidden">
5048
<SplashViz />
5149

52-
<div className="splash__section splash__section--dark page__content">
50+
<div className="relative text-center bg-[#f3f3f3] page__content [&>*_p]:my-[1em] [&>*_p]:mx-auto [&>*_p]:max-w-200 [&>*_pre]:text-left [&_.icon-link]:hidden [&_.container]:py-[5em] [&_.container]:px-[1em] md:[&_.container]:px-[1.5em]">
5351
<Container>
5452
<Markdown>
5553
<SplashContent />
5654
</Markdown>
5755
</Container>
5856
</div>
5957

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

src/components/Splash/Splash.scss

Lines changed: 0 additions & 86 deletions
This file was deleted.

0 commit comments

Comments
 (0)