Skip to content

Commit 7b7abcd

Browse files
added scroll-to-top button on community page
1 parent e8670d8 commit 7b7abcd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/pages/community/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React, { useState, useEffect } from 'react';
22
import Layout from '@theme/Layout';
33
import Head from '@docusaurus/Head';
44
import { motion } from 'framer-motion';
5+
import ScrollBottomToTop from '@site/src/components/scroll/bottom-to-top';
56
import './community.css';
67

78
interface ContributionSection {
@@ -355,6 +356,9 @@ export default function CommunityPage(): JSX.Element {
355356
</div>
356357
</section>
357358
</main>
359+
360+
{/* Scroll to Top Button - Same as Home Page */}
361+
<ScrollBottomToTop />
358362
</div>
359363
</Layout>
360364
);

0 commit comments

Comments
 (0)