Skip to content

Commit 5f2a0d6

Browse files
committed
Revert "fix: add missing scroll elements for github badges page (#1541)"
This reverts commit 39ae3d7.
1 parent 39ae3d7 commit 5f2a0d6

1 file changed

Lines changed: 0 additions & 39 deletions

File tree

src/pages/badges/github-badges.tsx

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,6 @@ const GithubBadgesContent = (): React.ReactElement => {
8080
isDark ? "dark-bg-primary dark-text-primary" : "bg-white text-black"
8181
}`}
8282
>
83-
<div
84-
id="progressBar"
85-
style={{
86-
position: "fixed",
87-
top: 0,
88-
left: 0,
89-
height: "4px",
90-
background: "linear-gradient(90deg, #fbbf24, #f59e0b)",
91-
zIndex: 9999,
92-
transition: "width 0.2s ease",
93-
width: "0%",
94-
}}
95-
></div>
9683
{/* Hero section */}
9784
<Head>
9885
<title>GitHub Achievements Guide - recode hive</title>
@@ -1334,32 +1321,6 @@ const GithubBadgesContent = (): React.ReactElement => {
13341321
</div>{" "}
13351322
</motion.div>
13361323
</div>
1337-
<button
1338-
id="scrollToTop"
1339-
onClick={handleScrollToTop}
1340-
title="Go to top"
1341-
style={{
1342-
position: "fixed",
1343-
bottom: "30px",
1344-
right: "30px",
1345-
zIndex: 999,
1346-
padding: "15px",
1347-
borderRadius: "50%",
1348-
cursor: "pointer",
1349-
display: "flex",
1350-
alignItems: "center",
1351-
justifyContent: "center",
1352-
width: "50px",
1353-
height: "50px",
1354-
}}
1355-
>
1356-
<span
1357-
className="arrow-icon"
1358-
style={{ fontSize: "20px", fontWeight: "bold" }}
1359-
>
1360-
1361-
</span>
1362-
</button>
13631324
</div>
13641325
</Layout>
13651326
);

0 commit comments

Comments
 (0)