Skip to content

Commit 1118575

Browse files
author
pcarapic15
committed
Add speed tradeoffs component
1 parent a270984 commit 1118575

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

src/components/sd-gym/Tradeoffs.js renamed to src/components/sd-gym/PrivacyTradeoffs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22

3-
const Tradeoffs = () => {
3+
const PrivacyTradeoffs = () => {
44
return (
55
<div className="flex justify-center bg-white">
66
<div className="container w-full flex flex-col py-12 md:py-16 lg:py-24 px-4 md:px-5 lg:px-0">
@@ -12,4 +12,4 @@ const Tradeoffs = () => {
1212
);
1313
};
1414

15-
export default Tradeoffs;
15+
export default PrivacyTradeoffs;

src/components/sd-gym/SdGymContent.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import NewsSliderSection from "../community-stats/NewsSliderSection";
55
import BannerSection from "../community-stats/BannerSection";
66
import SdGymLeaderboard from "./SdGymLeaderboard";
77
import AboutSdGym from "./AboutSdGym";
8-
import Tradeoffs from "./Tradeoffs";
8+
// import PrivacyTradeoffs from "./PrivacyTradeoffs";
9+
import SpeedTradeoffs from "./SpeedTradeoffs";
910

1011
export default function SdGymContent() {
1112
const [rawData, setRawData] = useState([]);
@@ -94,7 +95,8 @@ export default function SdGymContent() {
9495
<SdGymHero />
9596
<SdGymLeaderboard data={data} tags={dateTags} setTags={setDateTags} />
9697
<AboutSdGym />
97-
<Tradeoffs />
98+
{/* <PrivacyTradeoffs /> */}
99+
<SpeedTradeoffs />
98100
<NewsSliderSection />
99101
<BannerSection />
100102
</div>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import React from "react";
2+
3+
const SpeedTradeoffs = () => {
4+
return (
5+
<div className="flex justify-center bg-white">
6+
<div className="container w-full flex flex-col py-12 md:py-16 lg:py-24 px-4 md:px-5 lg:px-0">
7+
<h1 className="heading-600-lg text-[36px] md:text-5xl text-center">
8+
The <span className="text-blue-600">Quality-Speed</span> Tradeoffs
9+
</h1>
10+
</div>
11+
</div>
12+
);
13+
};
14+
15+
export default SpeedTradeoffs;

0 commit comments

Comments
 (0)